Midgard sample kpi

THORChain at a glance

Headline numbers — pool count, fees, RUNE price.

What this shows

Singleton snapshot of THORChain at the moment of the request — pool count, swap totals, fee revenue, RUNE price.

Pure SSR (no React component) — Rails fetches and renders six KPI tiles directly. Each cache-miss render also persists one row to cosmos_thorchain_midgard_stats_snapshots, building a free historical dataset over time.

Endpoint URL
https://gateway.liquify.com/chain/thorchain_midgard/v2/stats
curl
curl 'https://gateway.liquify.com/chain/thorchain_midgard/v2/stats'
Pool count
33
RUNE price (USD)
0.7661188776435
Swap volume (RUNE)
61,930,726,848
Swap count (total)
84,625,828
Swap count (24h)
219,063
Swap count (30d)
5,268,434