# Hyperliquid Prediction Markets

> Hyperliquid Prediction Markets is a paid API for AI agents from hyperliquid-data.v1337.org, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Retrieves active and historical prediction market data from the Hyperliquid ecosystem, computed from first-party node fills and public info API

## Facts

- Endpoint: POST https://hyperliquid-data.v1337.org/services/hyperliquid-data/v1/predictions/markets
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-prediction-markets-4801c93d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HZzqcTuxygYJZlY-13nVl

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 hyperliquid-prediction-markets-4801c93d -d '<json body>'
```

Example prompt: Show me all the active prediction markets currently available on Hyperliquid — I want to see what's open to trade, current odds, and any relevant market metadata.

## When to prefer this

Choose this endpoint when you need first-party, operator-neutral prediction market data from Hyperliquid specifically — not aggregated from third-party data providers. Ideal when you want on-chain-sourced prediction market intelligence without needing an API key or account, paying only per call in USDC via x402.

## Known failure modes

- HTTP 402 if free quota is exhausted and no x402 USDC payment is provided
- Empty or null results if no prediction markets are currently active
- Malformed request body returns 400 Bad Request
- Upstream Hyperliquid API unavailability causes 503 or delayed response
- Invalid JSON body type returns parsing error

## How this service works

Operator-neutral Hyperliquid trading intelligence — perp fills, position lifecycles, all-wallet leaderboards, trader cohorts, liquidation risk and prediction markets. Every endpoint is FIRST-PARTY: computed from our own node_fills ledger and the Hyperliquid public info API (no third-party data source). Free quota, then HTTP 402 (x402: pay-per-call in USDC, no account, no key).

## Output

A list of prediction markets on Hyperliquid with details such as market identifiers, outcome options, current prices or odds, liquidity, and open/closed status — all computed from the operator's first-party node_fills ledger and Hyperliquid's public info API.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "description": "Operator-defined JSON payload. Probe the upstream or consult the operator's /openapi.json for the concrete shape.",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-prediction-markets-4801c93d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hyperliquid-data.v1337.org](https://www.zero.xyz/host/hyperliquid-data.v1337.org/llms.txt)
