Skip to main content
Loading market data…
GET/api/v1/futures/funding/historyStartup tier+ · 80 req/min

Per-coin funding rate history in 8-hour buckets, cross-exchange average.

Time series funding for a single base asset, averaged across every exchange that reports it. Same bucketing + cadence as the on-page funding history chart — use for carry-strategy backtests or for rendering a single-coin history line alongside the matrix.

Query parameters

All query parameters are optional unless marked required.

NameTypeRequiredDefaultDescription
coinstringrequired
Base asset (BTC, ETH, …).
daysnumberoptional7
Trailing window. Max 90.

Response shape

Always wrapped in the standard envelope. Nullable fields are explicitly marked — treat missing numeric data as a real data-source gap, not as an error.

data payloadtypescript
// Wrapped in the standard envelope:
// {
//   data: /* shape below */,
//   meta?: { total?: number; limit?: number; offset?: number; ... }
// }

{
  base: string;
  days: number;
  points: Array<{ ts: number; avgRate: number; sampleCount: number }>;
}

Example

Copy the curl, replace YOUR_KEY with a real key from your dashboard, and run.

Requestbash
curl -sS "http://localhost:3000/api/v1/futures/funding/history?coin=BTC&days=7" \
  -H "Authorization: Bearer cg_live_YOUR_KEY"
Responsejson
{
  "data": {
    "base": "BTC",
    "days": 7,
    "points": [
      { "ts": 1744220400000, "avgRate": 0.00011, "sampleCount": 5 }
    ]
  },
  "meta": { "total": 1, "days": 7 }
}

Next

Check the error code reference, or get an API key to try the request against your own account.