Vai al contenuto
GET /v1/search

Find pools by token, project or chain

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/yieldpool-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Pools matching the query, by TVL. Use a pool id with /v1/pool and /v1/history.",
        "count": 25,
        "pools": [
            {
                "apy": 2.35,
                "pool": "747c1d2a-c668-4682-b9f9-296708a3dd90",
                "chain": "Ethereum",
                "symbol": "STETH",
                "project": "lido",
                "tvl_usd": 14973235926
            },
            {
                "apy": 0,
                "pool": "3b45941c-16cb-48c5-a490-16c6c4f1d86a",
                "chain": "Ethereum",
                "symbol": "WSTETH",
                "project": "sparklend",
                "tvl_usd": 2195005787
            },
            {
                "apy": 0,
                "pool": "e6435aae-cbe9-4d26-ab2c-a4d533db9972",
                "chain": "Ethereum",
                "symbol": "WSTETH",
                "project": "aave-v3",
                "tvl_usd": 1453330347
            },
            {
                "apy": 0,
                "pool": "4ce0c458-2171-463b-92ce-458afe367a4e",
                "chain": "Ethereum",
                "symbol": "WSTETH",
                "project": "morpho-blue",
                "tvl_usd": 431800906
            },
            {
                "apy": 0.05,
                "pool": "69b12bf9-edb6-46d9-b5bc-761cf9efe137",
                "chain": "Ethereum",
                "symbol": "WSTETH",
                "project": "fluid-lending",
                "tvl_usd": 128104333
            },
            {
                "apy": 0.04,
                "pool": "d541708e-1283-4feb-bc7a-457fc5f8db2c",
                "chain": "Ethereum",
                "symbol": "WSTETH",
                "project": "aave-v3",
                "tvl_usd": 82490294
            },
            {
                "apy": 0,
                "pool": "e3b2b35d-0be2-46d1-b4fb-7ca1bfa3d00c",
                "chain": "Ethereum",
                "symbol": "ctwstETH+",
                "project": "concrete",
                "tvl_usd": 75492730
            },
            {
                "apy": 0,
                "pool": "c47eea82-1e3d-4b66-8777-278b8db1dd77",
                "chain": "Ethereum",
                "symbol": "WSTETH",
                "project": "compound-v3",
                "tvl_usd": 72000834
            },
            {
                "apy": 1.3,
                "pool": "57d30b9c-fc66-4ac2-b666-69ad5f410cce",
                "chain": "Ethereum",
                "symbol": "ETH-STETH",
                "project": "curve-dex",
                "tvl_usd": 69208466
            },
            {
                "apy": 0,
                "pool": "462c6f50-ceab-4235-aa0e-21ee1e345908",
                "chain": "Ethereum",
                "symbol": "WSTETH",
                "project": "morpho-blue",
                "tvl_usd": 66719430
            },
            {
                "apy": 0.19,
                "pool": "4f715567-420c-400d-9a62-0059331e3940",
                "chain": "Ethereum
…