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

Latest Drift insurance-fund TVL snapshot + 30d delta summary.

Drift is the only major DEX to publish its on-chain insurance fund balance. This endpoint surfaces the latest reading plus the 30-day USD/%% delta so you don't have to fetch history to render a headline stat.

Query parameters

This endpoint takes no query parameters.

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

{
  latestTvlUsd: number | null;
  latestTs: number | null;
  deltaUsd: number | null;
  deltaPct: number | null;
  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/dex/drift/insurance-fund"
Responsejson
{ "data": { "latestTvlUsd": null, "latestTs": null, "deltaUsd": null, "deltaPct": null, "sampleCount": 0 }, "meta": { "total": 0 } }

Notes

  • Source row: `sentiment_index` where `index_name='drift_if_tvl_usd'`.

Next

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