Packaged funding-rate history for one crypto perpetual on one venue, bundled per time buck
Packaged funding-rate history for one crypto perpetual on one venue, bundled per time bucket at 1h/4h/1d granularity over up to 30 days — one paid call instead of stitching hundreds of hourly requests. Each bucket carries the average rate, sample count and average perp price. Order-book fields were withdrawn on 2026-09-16: include_orderbook=true is refused before payment, never silently ignored.
50000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-18
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": "50000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"from": {
"description": "ISO 8601 window start.",
"required": true,
"type": "string"
},
"granularity": {
"description": "Bucket size. Default 1h.",
"enum": [
"1h",
"4h",
"1d"
],
"required": false,
"type": "string"
},
"include_funding": {
"description": "Default true. Funding is the only series this route carries, so false is refused before payment.",
"required": false,
"type": "boolean"
},
"ticker": {
"description": "Upper-case asset ticker (e.g. BTC, ETH).",
"required": true,
"type": "string"
},
"to": {
"description": "ISO 8601 window end.",
"required": true,
"type": "string"
},
"venue": {
"description": "Lower-case venue name (e.g. binance, kucoin).",
"required": true,
"type": "string"
}
},
"type": "http"
},
"output": {
"example": {
"data": [
{
"funding_rate": 0.00012,
"funding_samples": 1,
"perp_price": 67234.5,
"ts": "2026-05-01T00:00:00Z"
}
],
"from_ts": "2026-05-01T00:00:00Z",
"granularity": "1h",
"metadata": {
"completeness_pct": 100,
"data_sources": [
"funding_history_hourly"
],
"samples_count": 24
},
"ticker": "BTC",
"to_ts": "2026-05-02T00:00:00Z",
"venue": "binance"
},
"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/backtest/data" # -> 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/backtest/data");
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/backtest/data")
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/6426.json, and this resource appears in /discovery/resources and /discovery/search.