Docs/Platform/Platform stats

Platform stats

GET/v1/statsPublic

Service-wide coverage stats: tokens indexed, swaps ingested (approximate), data span and freshness. No key needed.

The trust artifact: how much we index and how fresh it is, computed from our own store. swapsIngested is an approximate count read from catalog statistics (an exact count on a hypertable this size would be a heavy scan). The whole result is cached server-side for 60 seconds.

Response fields

FieldTypeDescription
tokensIndexednumberTokens in our registry (exact).
swapsIngestednumberApproximate total swaps indexed (catalog statistics, not COUNT(*)).
earliestSwapAtstring | nullOldest indexed swap (ISO time); null before any swap.
latestSwapAtstring | nullNewest indexed swap (ISO time).
freshnessSecnumber | nullSeconds since the newest indexed swap.
asOfstringWhen this snapshot was computed (cached up to 60s).
swapsIngested is approximate by design — treat it as an order-of-magnitude coverage signal, not an exact ledger.
Counts and timestamps only; the endpoint exposes no internal configuration.