Skip to content
GET /v1/pools

DEX liquidity pools + chain-wide pool count

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/osmosischain-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/osmosischain-api/v1/pools" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/osmosischain-api/v1/pools", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/osmosischain-api/v1/pools");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/osmosischain-api/v1/pools",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "The Osmosis DEX liquidity pools (GAMM automated-market-maker pools) — each pool's id, type, swap/exit fee, total shares and its assets with on-chain reserves. Pass limit (1-100, default 20). total_pools is the chain-wide pool count.",
        "count": 20,
        "pools": [
            {
                "id": "1",
                "type": "Pool",
                "assets": [
                    {
                        "denom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
                        "amount": "236184699856",
                        "weight": "536870912000000"
                    },
                    {
                        "denom": "uosmo",
                        "amount": "10011061539026",
                        "weight": "536870912000000"
                    }
                ],
                "exit_fee": 0,
                "swap_fee": 0.002,
                "total_shares": "35489126249509848615403363"
            },
            {
                "id": "2",
                "type": "Pool",
                "assets": [
                    {
                        "denom": "uion",
                        "amount": "311380830",
                        "weight": "858993459200000"
                    },
                    {
                        "denom": "uosmo",
                        "amount": "38526471770",
                        "weight": "214748364800000"
                    }
                ],
                "exit_fee": 0,
                "swap_fee": 0.005,
                "total_shares": "100016142858767589108746342"
            },
            {
                "id": "3",
                "type": "Pool",
                "assets": [
                    {
                        "denom": "ibc/1480B8FD20AD5FCAE81EA87584D269547DD4D436843C1D20F15E00EB64743EF4",
                        "amount": "30087268426",
                        "weight": "536870912000000"
                    },
                    {
                        "denom": "uosmo",
                        "amount": "537569374915",
                        "weight": "536870912000000"
                    }
                ],
                "exit_fee": 0,
                "swap_fee": 0.002,
                "total_shares": "5424469356714862526615368"
            },
            {
                "id": "4",
                "type": "Pool",
                "assets": [
                    {
                        "denom": "ibc/1480B8FD20AD5FCAE81EA87584D269547DD4D436843C1D20F15E00EB64743EF4",
                        "amount": "194134403957",
                        "weight": "708669603840000"
                    },
                    {
                        "denom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
                        "amount": "42076600216",
                        "weight": "365072220160000"
                    }
                ],
                "exit_fee": 0,

…