Zum Inhalt springen
GET /v1/pools

Top pools by TVL on a chain

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/balancer-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/balancer-api/v1/pools" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/balancer-api/v1/pools", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/balancer-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/balancer-api/v1/pools",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "chain": "MAINNET",
        "count": 25,
        "pools": [
            {
                "id": "0x3de27efa2f1aa663ae5d458857e731c129069f29000200000000000000000588",
                "name": "20wstETH-80AAVE",
                "type": "WEIGHTED",
                "chain": "MAINNET",
                "symbol": "20wstETH-80AAVE",
                "tokens": [
                    {
                        "symbol": "wstETH",
                        "address": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
                        "balance": 927.3636236173187
                    },
                    {
                        "symbol": "AAVE",
                        "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
                        "balance": 122233.46252704601
                    }
                ],
                "tvl_usd": 9268838.04,
                "fees_24h_usd": 377.2,
                "total_apr_pct": 1.2653,
                "volume_24h_usd": 129177.15,
                "protocol_version": 2
            },
            {
                "id": "0x5c6ee304399dbdb9c8ef030ab642b10820db8f56000200000000000000000014",
                "name": "Balancer 80 BAL 20 WETH",
                "type": "WEIGHTED",
                "chain": "MAINNET",
                "symbol": "B-80BAL-20WETH",
                "tokens": [
                    {
                        "symbol": "BAL",
                        "address": "0xba100000625a3754423978a60c9317c58a424e3d",
                        "balance": 31090754.346749067
                    },
                    {
                        "symbol": "WETH",
                        "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                        "balance": 495.42288484207387
                    }
                ],
                "tvl_usd": 4025894.42,
                "fees_24h_usd": 31.13,
                "total_apr_pct": 0.1459,
                "volume_24h_usd": 3113.45,
                "protocol_version": 2
            },
            {
                "id": "0xa6f548df93de924d73be7d25dc02554c6bd66db500020000000000000000000e",
                "name": "Balancer 50 WBTC 50 WETH",
                "type": "WEIGHTED",
                "chain": "MAINNET",
                "symbol": "B-50WBTC-50WETH",
                "tokens": [
                    {
                        "symbol": "WBTC",
                        "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
                        "balance": 10.79726264
                    },
                    {
                        "symbol": "WETH",
                        "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                        "balance": 409.83169884980094
                    }
                ],
                "tvl_usd": 1326090.13,
                "fees_24h_usd": 28.14,
                "total_apr_pct": 0.3924,
                "volume_24h_usd": 11254.47,
                "protocol_version": 2
      
…