THORChain Stats API
The Stats API from THORChain — 1 operation(s) for stats.
The Stats API from THORChain — 1 operation(s) for stats.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/thorchain:thorchain-stats-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: devs@thorchain.org
description: The Midgard Public API queries THORChain and any chains linked via the Bifröst and prepares information about the network to be readily available for public users. The API parses transaction event data from THORChain and stores them in a time-series database to make time-dependent queries easy. Midgard does not hold critical information. To interact with THORChain protocol, users should query THORNode directly.
title: Midgard Public Stats API
version: 2.34.2
servers:
- url: https://gateway.liquify.com/chain/thorchain_midgard
tags:
- name: Stats
paths:
/v2/stats:
get:
description: Returns an object containing global stats for all pools and all transactions
operationId: GetStats
responses:
'200':
$ref: '#/components/responses/StatsResponse'
summary: Global Stats
tags:
- Stats
components:
schemas:
StatsData:
properties:
addLiquidityCount:
description: Int64, number of deposits since beginning.
type: string
addLiquidityVolume:
description: 'Int64(e8), total of deposits since beginning.
'
type: string
dailyActiveUsers:
description: Deprecated, it's always 0.
type: string
monthlyActiveUsers:
description: Deprecated, it's always 0.
type: string
runeDepth:
description: Int64(e8), current total Rune in the pools.
type: string
runePriceUSD:
description: Float, the price of Rune based on the deepest USD pool.
type: string
swapCount:
description: Int64, number of swaps (including synths) since beginning.
type: string
swapCount24h:
description: Int64(e8), number of swaps (including synths) in the last 24h.
type: string
swapCount30d:
description: Int64, number of swaps (including synths) in the last 30d.
type: string
swapVolume:
description: 'Int64(e8), total volume of swaps (including synths) denoted in Rune since beginning.
'
type: string
switchedRune:
description: Int64(e8), amount of native rune switched from erc20 or bep2 rune.
type: string
synthBurnCount:
description: Int64, number of swaps from Synth to Rune since beginning.
type: string
synthMintCount:
description: Int64, number of swaps from Rune to Synth since beginning.
type: string
toAssetCount:
description: Int64, number of swaps from Rune to Asset since beginning.
type: string
toRuneCount:
description: Int64, number of swaps from Asset to Rune since beginning.
type: string
uniqueSwapperCount:
description: Deprecated, it's always 0.
type: string
withdrawCount:
description: Int64, number of withdraws since beginning.
type: string
withdrawVolume:
description: 'Int64(e8), total of withdraws since beginning.
'
type: string
required:
- runeDepth
- switchedRune
- runePriceUSD
- swapVolume
- swapCount24h
- swapCount30d
- swapCount
- toAssetCount
- toRuneCount
- synthMintCount
- synthBurnCount
- dailyActiveUsers
- monthlyActiveUsers
- uniqueSwapperCount
- addLiquidityVolume
- withdrawVolume
- addLiquidityCount
- withdrawCount
type: object
responses:
StatsResponse:
content:
application/json:
schema:
$ref: '#/components/schemas/StatsData'
description: object containing global THORChain data
x-provenance:
method: harvested
publisher: THORChain
source: https://gateway.liquify.com/chain/thorchain_midgard/v2/swagger.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)