Legacy

Get funding rate history (Deprecated)

Deprecated: Use /v1/hyperliquid/funding/{symbol} or /v1/lighter/funding/{symbol} instead.

Get historical funding rates. Hyperliquid settles funding every hour.

get/v1/funding/{symbol}

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/funding/{symbol}
  • Auth: API key in header X-API-Key

Path parameters

symbolstring required
Example:BTC

Trading pair symbol (e.g., BTC, ETH, SOL)

Query parameters

startinteger

Start timestamp in Unix milliseconds. Defaults to 24h ago.

endinteger

End timestamp in Unix milliseconds. Defaults to now.

cursorinteger

Cursor for pagination (timestamp from previous response's next_cursor). If not provided, starts from the beginning of the range.

limitinteger

Maximum number of results (default: 100, max: 1000)

Response

Funding rate history

successboolean

Example response

{
  "success": true,
  "data": [
    {
      "symbol": "BTC",
      "coin": "BTC",
      "timestamp": "2025-01-21T08:00:00.000Z",
      "funding_rate": "0.00025",
      "premium": "0.0005"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.