# Hyperliquid Perpetual Funding Rate & Market Data

> Hyperliquid Perpetual Funding Rate & Market Data is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Returns real-time perpetual futures funding rate, mark price, oracle price, open interest, and 24h volume for a given coin on Hyperliquid DEX

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/hyperliquid-perp-funding?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-perpetual-funding-rate-market-data-4e21150e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tLzYUyiGXdcVHwiVRdxN2

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-perpetual-funding-rate-market-data-4e21150e
```

Example prompt: What's the current Hyperliquid perpetual funding rate and open interest for BTC right now?

## When to prefer this

Choose this endpoint when you need real-time Hyperliquid-specific perpetual futures data — particularly funding rates, open interest, and mark/oracle prices — sourced directly from Hyperliquid's public API. Prefer this over generic crypto price endpoints when the user specifically needs DeFi perp metrics like funding rates or leverage details, or when Hyperliquid is the target exchange.

## Known failure modes

- Invalid or unsupported coin ticker returns an error or empty result
- Hyperliquid upstream API downtime may cause fetch failures
- Coin name must match Hyperliquid's exact listing format (e.g. BTC not WBTC)
- Rate limiting or network issues with the upstream Hyperliquid API

## How this service works

Hyperliquid perpetual futures snapshot for one coin (e.g. BTC): mark, oracle and mid price, hourly funding rate, open interest and 24h volume, from Hyperliquid's public info API.

## Output

Returns a JSON object containing the coin ticker, the hourly funding rate and premium, mark price, mid price, oracle price, previous day closing price, maximum leverage, 24-hour volume in USD, open interest (in coin units), and a timestamp of when the data was fetched from Hyperliquid's public 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "coin"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "description": "Perp coin name as Hyperliquid lists it, e.g. BTC, ETH, SOL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "coin": "BTC",
  "source": "https://api.hyperliquid.xyz/info",
  "premium": 0.0000367516,
  "midPrice": 81632.5,
  "checkedAt": "2026-10-23T09:36:13.109Z",
  "markPrice": 81631,
  "maxLeverage": 40,
  "oraclePrice": 81629,
  "dayVolumeUsd": 2584698938.98628,
  "openInterest": 43725.52082,
  "prevDayPrice": 81769,
  "fundingRateHourly": 0.0000125
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-perpetual-funding-rate-market-data-4e21150e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
