Skip to main content
GET
/
explorer
/
pools
Live pool TVL across protocols
curl --request GET \
  --url https://api.leokit.dev/explorer/pools
{
  "data": {
    "mayachain": {},
    "thorchain": {},
    "chainflip": {},
    "leo": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.leokit.dev/llms.txt

Use this file to discover all available pages before exploring further.

Endpoint

GET /leokit/explorer/pools
No authentication required. Cached for 5 minutes.

Response

{
  "data": {
    "mayachain": {
      "pools": [
        {
          "id": "BTC.BTC",
          "asset": "BTC.BTC",
          "token0": "BTC",
          "token1": "CACAO",
          "chain": "Bitcoin",
          "protocol": "mayachain",
          "tvl_usd": 12480000,
          "volume_24h_usd": 482015.55,
          "price_usd": 98500.45,
          "apy": 0.04,
          "lp_count": 42,
          "status": "available",
          "url": "https://www.mayascan.org/pool/BTC.BTC"
        }
      ],
      "total_tvl": 124800000,
      "cacao_price": 0.42
    },
    "thorchain": { "pools": [...], "total_tvl": 482000000, "rune_price": 4.25 },
    "chainflip": { "pools": [...], "total_tvl": 122000000 },
    "leo":       { "pools": [...] }
  }
}

Section Reference

mayachain / thorchain

FieldDescription
poolsArray of ProtocolPool (see below)
total_tvlSum of tvl_usd across available pools (USD)
cacao_price / rune_priceDerived from highest-TVL pool (BTC depth ratio)

chainflip

FieldDescription
poolsArray of ProtocolPool from Chainflip RPC + DexScreener pricing
total_tvlSum of tvl_usd across pools (USD)

leo

FieldDescription
poolsLEO/HBD/Hive-Engine pools from a different schema (see LeoPool below)

ProtocolPool Object

FieldTypeDescription
idstringPool identifier (raw asset string)
assetstringSame as id
token0stringAsset symbol (e.g. BTC)
token1stringQuote symbol (RUNE, CACAO, or USDC for Chainflip)
chainstringDisplay chain name (e.g. Bitcoin, BNB Chain)
protocolstringmayachain, thorchain, or chainflip
tvl_usdnumberPool TVL in USD
volume_24h_usdnumber24-hour swap volume in USD
price_usdnumberAsset price in USD
apynumberLP APY (decimal, e.g. 0.04 = 4%)
lp_countnumberNumber of liquidity providers
statusstringavailable, staged, or suspended
urlstringNative explorer link to the pool

LeoPool Object

FieldTypeDescription
idstringLEO pool identifier
namestringPool display name
token0 / token1stringAsset symbols
chainstringSource chain (typically Hive for LEO pools)
dexstringDEX name
tvl_usdnumberPool TVL
volume_24h_usdnumber24-hour volume
price_usdnumberToken price
price_change_24hnumber24-hour price change (decimal, can be negative)
urlstringPool URL

Caching

X-Cache: HIT|MISS. TTL 5 minutes. Source endpoints (Midgard, Chainflip RPC, DexScreener, Hive Engine) all have an 8-second timeout — partial results are returned if any source times out.

Errors

The endpoint never errors as a unit; if all sources fail you get empty arrays, not a non-200 response.

Response

200 - application/json

Pool data for MAYAChain, THORChain, Chainflip, and LEO.

data
object
required