U

Usenami · Funding Historical

by Usenami

GETBase

$0.005

per call · USD Coin on Base

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.

Endpoint

GET https://api.usenami.io/v1/funding/historical

5

Calls / 30d

2

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.usenami.io/v1/funding/historical", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.usenami.io/v1/funding/historical?aggr=%5Bobject+Object%5D&from=%5Bobject+Object%5D&ticker=%5Bobject+Object%5D&to=%5Bobject+Object%5D" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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"
}

Payment details

Pay to0x1538726707212f4db3eb67cec0910422a310475c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Usenami & similar services