Live pool TVL across protocols
curl --request GET \
--url https://api.leokit.dev/explorer/poolsimport requests
url = "https://api.leokit.dev/explorer/pools"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.leokit.dev/explorer/pools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leokit.dev/explorer/pools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leokit.dev/explorer/pools"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.leokit.dev/explorer/pools")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.leokit.dev/explorer/pools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"mayachain": {},
"thorchain": {},
"chainflip": {},
"leo": {}
}
}Explorer API
Pools
Live TVL across MAYAChain, THORChain, Chainflip, and the LEO ecosystem
GET
/
explorer
/
pools
Live pool TVL across protocols
curl --request GET \
--url https://api.leokit.dev/explorer/poolsimport requests
url = "https://api.leokit.dev/explorer/pools"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.leokit.dev/explorer/pools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leokit.dev/explorer/pools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leokit.dev/explorer/pools"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.leokit.dev/explorer/pools")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.leokit.dev/explorer/pools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"mayachain": {},
"thorchain": {},
"chainflip": {},
"leo": {}
}
}Endpoint
GET /leokit/explorer/pools
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
| Field | Description |
|---|---|
pools | Array of ProtocolPool (see below) |
total_tvl | Sum of tvl_usd across available pools (USD) |
cacao_price / rune_price | Derived from highest-TVL pool (BTC depth ratio) |
chainflip
| Field | Description |
|---|---|
pools | Array of ProtocolPool from Chainflip RPC + DexScreener pricing |
total_tvl | Sum of tvl_usd across pools (USD) |
leo
| Field | Description |
|---|---|
pools | LEO/HBD/Hive-Engine pools from a different schema (see LeoPool below) |
ProtocolPool Object
| Field | Type | Description |
|---|---|---|
id | string | Pool identifier (raw asset string) |
asset | string | Same as id |
token0 | string | Asset symbol (e.g. BTC) |
token1 | string | Quote symbol (RUNE, CACAO, or USDC for Chainflip) |
chain | string | Display chain name (e.g. Bitcoin, BNB Chain) |
protocol | string | mayachain, thorchain, or chainflip |
tvl_usd | number | Pool TVL in USD |
volume_24h_usd | number | 24-hour swap volume in USD |
price_usd | number | Asset price in USD |
apy | number | LP APY (decimal, e.g. 0.04 = 4%) |
lp_count | number | Number of liquidity providers |
status | string | available, staged, or suspended |
url | string | Native explorer link to the pool |
LeoPool Object
| Field | Type | Description |
|---|---|---|
id | string | LEO pool identifier |
name | string | Pool display name |
token0 / token1 | string | Asset symbols |
chain | string | Source chain (typically Hive for LEO pools) |
dex | string | DEX name |
tvl_usd | number | Pool TVL |
volume_24h_usd | number | 24-hour volume |
price_usd | number | Token price |
price_change_24h | number | 24-hour price change (decimal, can be negative) |
url | string | Pool 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.
Show child attributes
Show child attributes
⌘I