Skip to main content
Loading market data…
GET/api/v1/dex/drift/insurance-fund/historyStandard tier+ · 300 req/min

Drift insurance-fund TVL time series.

Full time-series variant of `/insurance-fund` for chart callers.

Query parameters

All query parameters are optional unless marked required.

NameTypeRequiredDefaultDescription
daysnumberoptional30
Trailing window. Max 365.

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; ... }
// }

{
  points: Array<{ ts: number; tvlUsd: number }>;
  latestTvlUsd: number | null;
  latestTs: number | null;
  deltaUsd: number | null;
  deltaPct: number | null;
}

Example

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

Requestbash
curl -sS "http://localhost:3000/api/v1/dex/drift/insurance-fund/history?days=30"
Responsejson
{ "data": { "points": [], "latestTvlUsd": null, "latestTs": null, "deltaUsd": null, "deltaPct": null }, "meta": { "total": 0, "days": 30 } }

Next

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