# CoinGecko — Top Pools by Token Address

Get CoinGecko top pools by network and token address via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, configure supported query parameters and filters, and retrieve structured data including pool display name for token liquidity views, and pool discovery, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/coingecko/coingecko-top-pools-by-token-address/2aa296e0-0140-43cd-bd4b-b2f2caafb50b/
API ID: 2aa296e0-0140-43cd-bd4b-b2f2caafb50b
Provider: CoinGecko
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/{network}/tokens/{token_address}/pools
Page update time: 2026-12-03T02:49:15.905Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:15.391Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## CoinGecko Top Pools by Token API

Supply network and token\_address to retrieve a data array of pools for that token. The default sort is h24\_volume\_usd\_liquidity\_desc; other supported orders use 24-hour transaction count or USD volume. Related resources and inactive-source handling are optional.

## What You Can Build

- **Token liquidity views**: Compare returned pool reserves and trading activity for a known token.
- **Pool discovery**: Retain pool identifiers and token relationships for later detail requests.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data[].attributes.address` | Returned pool address or pool identifier |
| `data[].attributes.name` | Pool display name |
| `data[].attributes.token_price_usd` | Reported USD price for the queried token |
| `data[].attributes.reserve_in_usd` | Reported pool reserve value in USD |
| `data[].attributes.volume_usd.h24` | Reported 24-hour pool volume in USD |
| `data[].attributes.transactions.h24.buys` | Reported 24-hour buy transaction count |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CoinGecko — Top Pools by Token Address request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "network": {
          "type": "string",
          "description": "Network ID. \n*refers to [`/onchain/networks`](/reference/networks-list)."
        },
        "token_address": {
          "type": "string",
          "description": "Token contract address."
        }
      },
      "required": [
        "network",
        "token_address"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "include": {
          "type": "string",
          "description": "Attributes to include, comma-separated if more than one. \nAvailable values: `base_token`, `quote_token`, `dex`"
        },
        "include_inactive_source": {
          "type": "boolean",
          "description": "Include tokens from inactive pools using the most recent swap. \nDefault: `false`"
        },
        "page": {
          "type": "integer",
          "description": "Page through results. \nDefault value: 1"
        },
        "sort": {
          "type": "string",
          "description": "Sort the pools by field. \nDefault: `h24_volume_usd_liquidity_desc`",
          "enum": [
            "h24_volume_usd_liquidity_desc",
            "h24_tx_count_desc",
            "h24_volume_usd_desc"
          ]
        },
        "include_gt_community_data": {
          "type": "boolean",
          "description": "Include GeckoTerminal community data (sentiment votes, suspicious reports). \nDefault: `false`"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "attributes": {
            "type": "object",
            "properties": {
              "address": {
                "type": "string"
              },
              "base_token_price_native_currency": {
                "type": "string"
              },
              "base_token_price_quote_token": {
                "type": "string"
              },
              "base_token_price_usd": {
                "type": "string"
              },
              "community_sus_report": {
                "type": "integer"
              },
              "fdv_usd": {
                "type": "string"
              },
              "market_cap_usd": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "pool_created_at": {
                "type": "string"
              },
              "price_change_percentage": {
                "type": "object",
                "properties": {
                  "h1": {
                    "type": "string"
                  },
                  "h24": {
                    "type": "string"
                  },
                  "h6": {
                    "type": "string"
                  },
                  "m15": {
                    "type": "string"
                  },
                  "m30": {
                    "type": "string"
                  },
                  "m5": {
                    "type": "string"
                  }
                }
              },
              "quote_token_price_base_token": {
                "type": "string"
              },
              "quote_token_price_native_currency": {
                "type": "string"
              },
              "quote_token_price_usd": {
                "type": "string"
              },
              "reserve_in_usd": {
                "type": "string"
              },
              "sentiment_vote_negative_percentage": {
                "type": "integer"
              },
              "sentiment_vote_positive_percentage": {
                "type": "integer"
              },
              "token_price_usd": {
                "type": "string"
              },
              "transactions": {
                "type": "object",
                "properties": {
                  "h1": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "h24": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "h6": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "m15": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "m30": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "m5": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  }
                }
              },
              "volume_usd": {
                "type": "object",
                "properties": {
                  "h1": {
                    "type": "string"
                  },
                  "h24": {
                    "type": "string"
                  },
                  "h6": {
                    "type": "string"
                  },
                  "m15": {
                    "type": "string"
                  },
                  "m30": {
                    "type": "string"
                  },
                  "m5": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "type": "object",
            "properties": {
              "base_token": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "dex": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "quote_token": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "included": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "attributes": {
            "type": "object",
            "properties": {
              "address": {
                "type": "string"
              },
              "coingecko_coin_id": {
                "type": "string"
              },
              "decimals": {
                "type": "integer"
              },
              "image_url": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              }
            }
          },
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official response / contract request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/eth/tokens/0xdac17f958d2ee523a2206206994597c13d831ec7/pools' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "data": [
    {
      "attributes": {
        "address": "0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5",
        "base_token_price_native_currency": "0.000482317790072442",
        "base_token_price_quote_token": "1.0024305698",
        "base_token_price_usd": "1.0008763651",
        "community_sus_report": 2,
        "fdv_usd": "96921299344.3568",
        "market_cap_usd": "189288747230.058",
        "name": "USDC / USDT",
        "pool_created_at": "2025-04-13T14:45:47Z",
        "price_change_percentage": {
          "h1": "-0.55",
          "h24": "-0.21",
          "h6": "0.23",
          "m15": "-0.08",
          "m30": "-0.02",
          "m5": "0"
        },
        "quote_token_price_base_token": "0.9975753236",
        "quote_token_price_native_currency": "0.000481148325490986",
        "quote_token_price_usd": "0.998449563724543",
        "reserve_in_usd": "545933958.0815",
        "sentiment_vote_negative_percentage": 0,
        "sentiment_vote_positive_percentage": 0,
        "token_price_usd": "0.998449563724543",
        "transactions": {
          "h1": {
            "buyers": 41,
            "buys": 44,
            "sellers": 46,
            "sells": 50
          },
          "h24": {
            "buyers": 677,
            "buys": 1062,
            "sellers": 803,
            "sells": 1217
          },
          "h6": {
            "buyers": 240,
            "buys": 306,
            "sellers": 305,
            "sells": 373
          },
          "m15": {
            "buyers": 2,
            "buys": 2,
            "sellers": 12,
            "sells": 13
          },
          "m30": {
            "buyers": 15,
            "buys": 16,
            "sellers": 21,
            "sells": 22
          },
          "m5": {
            "buyers": 1,
            "buys": 1,
            "sellers": 0,
            "sells": 0
          }
        },
        "volume_usd": {
          "h1": "6273480.14455755",
          "h24": "65665560.4792908",
          "h6": "31080731.7699018",
          "m15": "44354.6645720277",
          "m30": "2972422.02951497",
          "m5": "100.4170370205"
        }
      },
      "id": "eth_0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5",
      "relationships": {
        "base_token": {
          "data": {
            "id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
            "type": "token"
          }
        },
        "dex": {
          "data": {
            "id": "uniswap-v4-ethereum",
            "type": "dex"
          }
        },
        "quote_token": {
          "data": {
            "id": "eth_0xdac17f958d2ee523a2206206994597c13d831ec7",
            "type": "token"
          }
        }
      },
      "type": "pool"
    }
  ],
  "included": [
    {
      "attributes": {
        "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "coingecko_coin_id": "usd-coin",
        "decimals": 6,
        "image_url": "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png?1769615602",
        "name": "USD Coin",
        "symbol": "USDC"
      },
      "id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "type": "token"
    },
    {
      "attributes": {
        "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
        "coingecko_coin_id": "tether",
        "decimals": 6,
        "image_url": "https://coin-images.coingecko.com/coins/images/325/large/Tether.png?1696501661",
        "name": "Tether USD",
        "symbol": "USDT"
      },
      "id": "eth_0xdac17f958d2ee523a2206206994597c13d831ec7",
      "type": "token"
    },
    {
      "attributes": {
        "name": "Uniswap V4 (Ethereum)"
      },
      "id": "uniswap-v4-ethereum",
      "type": "dex"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Should I pass a token address or a pool address?
Pass the token contract address in token_address. Each returned record identifies a pool associated with that token.

### Is the default sort the same as Top Pools by Network?
No. This route defaults to h24_volume_usd_liquidity_desc. Its alternative values are h24_tx_count_desc and h24_volume_usd_desc.

### Does token_price_usd always describe the base token?
It describes the queried token. Keep it distinct from base_token_price_usd and quote_token_price_usd in the pool attributes.

### Does include_inactive_source provide a new trade?
It allows inactive pools to use their most recent swap. It does not turn that observation into a newly executed trade.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- CoinGecko: https://openany.si/coingecko/coingecko-top-pools-by-token-address/2aa296e0-0140-43cd-bd4b-b2f2caafb50b/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
