GeckoTerminal DEX Pools API
Find top GeckoTerminal pools for a DEX via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Geckoterminal, pass parameters such as include, page, sort, and retrieve structured data including network-qualified pool identifier, pool contract address, pool display name, related base token identifier, and related DEX identifier for exchange market view, and resource linking.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
GeckoTerminal DEX Pools API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
GeckoTerminal DEX Pools API
Provide network and dex in the path. Optional sort chooses 24-hour volume or transaction ordering, while page traverses results through page 10. Pool attributes and relationships are returned in data; include can expand base_token, quote_token or dex resources.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required path: network, dex; Optional query: include, include_gt_community_data, page, sort. |
| Selected implementation | geckoterminal · GeckoTerminal — Top Pools by Dex |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Exchange market view: Display pools and activity for one DEX on one network.
- Resource linking: Associate pool records with their base token, quote token and exchange.
Returned Data
| Field | Meaning |
|---|---|
data[].id |
Network-qualified pool identifier |
data[].attributes.address |
Pool contract address |
data[].attributes.name |
Pool display name |
data[].attributes.reserve_in_usd |
Pool reserves valued in USD |
data[].attributes.volume_usd.h24 |
Reported 24-hour trading volume in USD |
data[].relationships.base_token.data.id |
Related base token identifier |
data[].relationships.dex.data.id |
Related DEX identifier |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/eth/dexes/sushiswap/pools \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json;version=20230203' \
--data-urlencode include=base_token \
--data-urlencode include_gt_community_data=false \
--data-urlencode page=1 \
--data-urlencode sort=h24_tx_count_desc
Request and Response Examples
The response example is a documentation reference and can describe a different token, network or DEX from the request template. Match returned resource identities to your request; reference prices and timestamps are not current market values.
Published GeckoTerminal DEX Pools API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
geckoterminalCurrent GeckoTerminal — Top Pools by Dex · GET · View API reference | $0 / call | 0 | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/{network}/dexes/{dex}/pools- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
network | URL path parameterspath | string | Yes | network ID<br>*refers to [/networks](/api/v2/networks) |
dex | URL path parameterspath | string | Yes | DEX ID<br>*refers to [/networks/{network}/dexes](/api/v2/networks/eth/dexes) |
include | URL query parametersquery | string | No | attributes to include, comma-separated if more than one to include<br><br><b>Available values:</b> `base_token`, `quote_token`, `dex` |
include_gt_community_data | URL query parametersquery | boolean | No | include GT community data |
page | URL query parametersquery | integer | No | page through results (maximum: 10) maximum: 10 |
sort | URL query parametersquery | string | No | sort the pools by field enum: "h24_volume_usd_desc", "h24_tx_count_desc" |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
dataobject[]attributesobjectaddressstringbase_token_price_native_currencystringbase_token_price_quote_tokenstringbase_token_price_usdstringfdv_usdstringmarket_cap_usdstringnamestringpool_created_atstringprice_change_percentageobjecth1stringh24stringh6stringm15stringm30stringm5string
quote_token_price_base_tokenstringquote_token_price_native_currencystringquote_token_price_usdstringreserve_in_usdstringtransactionsobjecth1objectbuyersintegerbuysintegersellersintegersellsinteger
h24objectbuyersintegerbuysintegersellersintegersellsinteger
m15objectbuyersintegerbuysintegersellersintegersellsinteger
m30objectbuyersintegerbuysintegersellersintegersellsinteger
m5objectbuyersintegerbuysintegersellersintegersellsinteger
volume_usdobjecth1stringh24stringh6stringm15stringm30stringm5string
idstringrelationshipsobjectbase_tokenobjectdataobjectidstringtypestring
dexobjectdataobjectidstringtypestring
quote_tokenobjectdataobjectidstringtypestring
typestring
includedobject[]attributesobjectaddressstringcoingecko_coin_idstringdecimalsintegerimage_urlstringnamestringsymbolstring
idstringtypestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 6
Review these request fields before running. Keep the published provider and request method unchanged.
network- network ID<br>*refers to [/networks](/api/v2/networks)
dex- DEX ID<br>*refers to [/networks/{network}/dexes](/api/v2/networks/eth/dexes)
include- attributes to include, comma-separated if more than one to include<br><br><b>Available values:</b> `base_token`, `quote_token`, `dex`
include_gt_community_data- include GT community data
page- page through results (maximum: 10)
sort- sort the pools by field
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/eth/dexes/sushiswap/pools?include=base_token&include_gt_community_data=false&page=1&sort=h24_tx_count_desc' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ -H 'Accept: application/json;version=20230203'Check the response
Sample response · Documented HTTP 200
Sample response{ "data": [ { "attributes": { "address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "base_token_price_native_currency": "1.0", "base_token_price_quote_token": "3662.46", "base_token_price_usd": "3653.12491645176", "fdv_usd": "11007041041", "market_cap_usd": "11007041041", "name": "WETH / USDC 0.05%", "pool_created_at": "2021-12-29T12:35:14Z", "price_change_percentage": { "h1": "0.51", "h24": "7.71", "h6": "0.86", "m15": "0.21", "m30": "0.31", "m5": "0" }, "quote_token_price_base_token": "0.00027304", "quote_token_price_native_currency": "0.000273040545093221", "quote_token_price_usd": "0.998343707926245", "reserve_in_usd": "163988541.3812", "transactions": { "h1": { "buyers": 83, "buys": 97, "sellers": 124, "sells": 144 }, "h24": { "buyers": 1625, "buys": 2966, "sellers": 2399, "sells": 3847 }, "m15": { "buyers": 19, "buys": 19, "sellers": 27, "sells": 27 }, "m30": { "buyers": 45, "buys": 49, "sellers": 57, "sells": 61 }, "m5": { "buyers": 7, "buys": 7, "sellers": 2, "sells": 2 } }, "volume_usd": { "h1": "16798158.0138526", "h24": "536545444.904535", "h6": "164054610.850188", "m15": "2056262.885098", "m30": "4081230.098456", "m5": "868581.7348314" } }, "id": "eth_0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "relationships": { "base_token": { "data": { "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token" } }, "dex": { "data": { "id": "uniswap_v3", "type": "dex" } }, "quote_token": { "data": { "id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "type": "token" } } }, "type": "pool" } ], "included": [ { "attributes": { "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "coingecko_coin_id": "weth", "decimals": 18, "image_url": "https://assets.coingecko.com/coins/images/2518/small/weth.png?1696503332", "name": "Wrapped Ether", "symbol": "WETH" }, "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token" } ] }