# AlphaPipeline HIP-4 Alerts

> AlphaPipeline HIP-4 Alerts is a paid API for AI agents from alphapipeline-eu.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Subscribes a webhook to receive push notifications when a Hyperliquid HIP-4 prediction market probability jumps past a threshold or a new market appears, polled every ~5 minutes.

## Facts

- Endpoint: GET https://alphapipeline-eu.onrender.com/v1/prediction/hip4-alerts/subscribe?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphapipeline-hip-4-alerts-426bbd38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_czcBAopcUKujO-5lU-EiY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability alphapipeline-hip-4-alerts-426bbd38
```

Example prompt: Set up a webhook at https://my-server.example.com/hip4-hook to receive HIP-4 alerts whenever a probability jumps more than 15% — filter it to BTC markets only, and use 'my-secret-key-abc123xyz' as the signing secret.

## When to prefer this

Choose this endpoint when you want event-driven notifications about HIP-4 prediction market probability changes without continuously polling the HIP-4 Snapshot endpoint. Ideal for agents and trading bots that need to react quickly to probability spikes or new market appearances without burning API credits on repeated polls. If you only need a one-time snapshot of current HIP-4 probabilities, use AlphaPipeline HIP-4 Snapshot instead.

## Known failure modes

- webhook_url points to a private/loopback IP — rejected with validation error
- secret shorter than 16 characters — rejected
- threshold_pct out of 0.0–1.0 range — validation error
- invalid event_type values — unknown type error
- webhook endpoint unreachable at delivery time — silent delivery failure
- subscription expires and must be re-registered
- Hyperliquid API outage causes missed events during polling window

## How this service works

[EXPERIMENTAL] Subscribe a webhook to receive push notifications when a HIP-4 outcome's probability jumps past a configurable threshold, or a new market appears - so an agent no longer has to poll hip4-snapshot itself. Polls Hyperliquid every ~5 minutes; not a true real-time feed. GET with query params, not JSON body - secret travels in the URL. See free GET /v1/prediction/hip4-alerts/event-types for the event catalog. Paid in USDC on Base.

## Output

Returns a subscription confirmation object containing a unique subscription_id, the registered webhook_url, the list of event_types subscribed, a status field, creation and expiry timestamps, and optional fields for underlying filter and threshold_pct override. After subscription, the server polls Hyperliquid every ~5 minutes and delivers HMAC-SHA256 signed POST payloads to the webhook when matching events occur.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "webhook_url",
      "secret"
     ],
     "properties": {
      "secret": {
       "type": "string",
       "description": "Caller-generated shared secret (>=16 chars) used to HMAC-SHA256 sign each delivery. Not stored anywhere you can retrieve it later - keep your own copy. Travels in the URL query string (GET) - see the endpoint description."
      },
      "underlying": {
       "type": "string",
       "description": "Optional filter: only this crypto underlying's markets (e.g. 'BTC')."
      },
      "event_types": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Subset of event types to receive (default: all). See GET hip4-alerts/event-types."
      },
      "webhook_url": {
       "type": "string",
       "format": "uri",
       "description": "https:// endpoint to receive signed POST deliveries. Private/loopback IPs are rejected."
      },
      "threshold_pct": {
       "type": "number",
       "description": "Optional per-subscription override of the prob_jump threshold (0.0-1.0 scale)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Hip4AlertsSubscribeResponse",
     "required": [
      "subscription_id",
      "webhook_url",
      "event_types",
      "status",
      "created_at",
      "expires_at",
      "notice"
     ],
     "properties": {
      "notice": {
       "type": "string",
       "title": "Notice"
      },
      "status": {
       "type": "string",
       "title": "Status"
      },
      "created_at": {
       "type": "number",
       "title": "Created At"
      },
      "expires_at": {
       "type": "number",
       "title": "Expires At"
      },
      "underlying": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Underlying",
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alphapipeline-hip-4-alerts-426bbd38/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alphapipeline-eu.onrender.com](https://www.zero.xyz/host/alphapipeline-eu.onrender.com/llms.txt)
