Historical per-venue funding rates for one crypto perpetual, aggregated 1h/4h/1d, across t
Historical per-venue funding rates for one crypto perpetual, aggregated 1h/4h/1d, across tracked CEX and DEX venues — the timeseries a funding-arb backtest needs. Up to 30-day windows (30-day retention). Edge-isolated: raw rates only, no spread or signal logic.
5000 (raw units)
price
4
calls / 30d
2
unique payers
2026-09-15
updated
Provider
api.usenami.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x1538726707212F4dB3EB67cEc0910422A310475c",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"aggr": {
"description": "Bucket granularity. Default 1h.",
"enum": [
"1h",
"4h",
"1d"
],
"required": false,
"type": "string"
},
"from": {
"description": "Window start ISO 8601. Default depends on aggr: 1h→3 days ago, 4h→7 days ago, 1d→30 days ago.",
"format": "date-time",
"required": false,
"type": "string"
},
"ticker": {
"description": "Base ticker (e.g. BTC, ETH). Required.",
"required": true,
"type": "string"
},
"to": {
"description": "Window end ISO 8601. Default: now.",
"format": "date-time",
"required": false,
"type": "string"
}
},
"type": "http"
},
"output": {
"example": {
"aggregation": "1h",
"buckets": [
{
"avg_funding_rate": 0.0001,
"avg_price": 67234.5,
"bucket_start": "2026-05-15T00:00:00Z",
"samples": 1,
"venue": "binance"
},
{
"avg_funding_rate": 0.00012,
"avg_price": 67240,
"bucket_start": "2026-05-15T00:00:00Z",
"samples": 1,
"venue": "hyperliquid"
}
],
"ticker": "BTC",
"venues_count": 18,
"window_end": "2026-05-22T00:00:00Z",
"window_start": "2026-05-19T00:00:00Z"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"method": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.usenami.io/v1/funding/historical" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.usenami.io/v1/funding/historical");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.usenami.io/v1/funding/historical")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6416.json, and this resource appears in /discovery/resources and /discovery/search.