# Hyperliquid & Bybit Funding Rate History API

> Hyperliquid & Bybit Funding Rate History API is a paid API for AI agents from klane402.deanhiki.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns historical funding rate data for a specified crypto coin from Hyperliquid and Bybit over up to 30 days, with hourly-normalized rates and APR summaries.

## Facts

- Endpoint: GET https://klane402.deanhiki.workers.dev/api/funding/history?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-bybit-funding-rate-history-api-134a3a87
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E6BJGRuUO4WKue6llWJTy

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-bybit-funding-rate-history-api-134a3a87
```

Example prompt: Pull the funding rate history for ETH over the last 14 days from Hyperliquid and Bybit — I want to see the hourly-normalized rates and the average APR summary.

## When to prefer this

Use this endpoint when you need historical funding rate data specifically from Hyperliquid and Bybit with pre-computed hourly normalization and APR summaries. Prefer this over raw exchange APIs when you want cross-venue comparison in a single call, or when you need APR-normalized rates ready for carry trade or arbitrage analysis without post-processing.

## Known failure modes

- Missing required 'coin' parameter returns an error
- Unsupported or delisted coin symbol returns empty or error response
- Requesting more than 30 days may be capped or return an error
- One venue (Hyperliquid or Bybit) may return no data if the coin is not listed there
- Payment of $0.01 USDC required per call; unpaid requests return 402

## How this service works

Funding rate history for a coin: Hyperliquid hourly and Bybit per-interval settlements over the last N days (max 30), each with hourly-normalized rate, APR %, and average APR summary. Query: coin (required), days (default 7). $0.01 per call.

## Output

Returns a JSON object with the coin symbol, a summary section (per-venue averages including count of data points and average APR), and an array of historical funding rate entries per venue. Each entry includes a UTC timestamp, the annualized APR percentage, and the hourly-normalized funding rate.

## 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",
     "properties": {
      "coin": {
       "type": "string"
      },
      "days": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "coin": "ETH",
  "summary": {
   "hyperliquid": {
    "n": 168,
    "avgApr": 8.1
   }
  },
  "hyperliquid": [
   {
    "t": "2026-10-30T05:00:00Z",
    "apr": 10.95,
    "hourly": 0.0000125
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-bybit-funding-rate-history-api-134a3a87/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klane402.deanhiki.workers.dev](https://www.zero.xyz/host/klane402.deanhiki.workers.dev/llms.txt)
