# Hyperliquid Market Data API

> Hyperliquid Market Data API is a paid API for AI agents from x402-trading.useotto.xyz, paid per call via x402, $0.001000/call, status unknown (last checked 2026-09-15).

Returns live market data for a Hyperliquid perpetual asset including price, funding rate, open interest, and trading specifications

## Facts

- Endpoint: GET https://x402-trading.useotto.xyz/hyperliquid-market
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-trading-useotto-xyz-ca0cb006
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IU2b7RNzTMnR0Ga1T1589

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 x402-trading-useotto-xyz-ca0cb006
```

Example prompt: What are the current price, funding rate, and open interest for BTC on Hyperliquid right now?

## When to prefer this

Use this endpoint when you need real-time Hyperliquid-specific market data such as funding rates, open interest, or perpetual trading specs for a specific asset. Prefer this over generic price feeds when the user is specifically interested in Hyperliquid perpetuals or planning to trade on that venue.

## Known failure modes

- Unknown or unsupported asset ticker returns an error or empty market object
- Network latency may cause slightly stale data during high-volatility periods
- Payment failure (402) if USDC balance is insufficient
- Malformed asset ticker (e.g. lowercase or extra whitespace) may return no result

## How this service works

Hyperliquid market data with live prices, funding rates, open interest, and trading specs for any asset

## Output

Returns a market data object containing the live mark price, current funding rate, open interest, 24h volume, and trading specifications (tick size, lot size, max leverage, etc.) for the requested perpetual asset on Hyperliquid

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "asset": "BTC"
  }
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "asset"
     ],
     "properties": {
      "asset": {
       "type": "string",
       "description": "Asset ticker (BTC, ETH, SOL, etc.)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "market": {
       "type": "object"
      },
      "status": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-trading-useotto-xyz-ca0cb006/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-trading.useotto.xyz](https://www.zero.xyz/host/x402-trading.useotto.xyz/llms.txt)
