GeckoTerminal — Top Pools by Dex
Retrieve top Pools by Dex with the GeckoTerminal API. Supply a network and a dex. Sample fields include addresses and transactions. Use it for on-chain or crypto market research. Use the response in blockchain monitoring or to cross-check data against an explorer for the same network.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
GeckoTerminal — Top Pools by Dex
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
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
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
data?: Array<{
attributes?: {
address?: string;
base_token_price_native_currency?: string;
base_token_price_quote_token?: string;
base_token_price_usd?: string;
fdv_usd?: string;
market_cap_usd?: string;
name?: string;
pool_created_at?: string;
price_change_percentage?: {
h1?: string;
h24?: string;
h6?: string;
m15?: string;
m30?: string;
m5?: string;
};
quote_token_price_base_token?: string;
quote_token_price_native_currency?: string;
quote_token_price_usd?: string;
reserve_in_usd?: string;
transactions?: {
h1?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
h24?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
m15?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
m30?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
m5?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
};
volume_usd?: {
h1?: string;
h24?: string;
h6?: string;
m15?: string;
m30?: string;
m5?: string;
};
};
id?: string;
relationships?: {
base_token?: {
data?: {
id?: string;
type?: string;
};
};
dex?: {
data?: {
id?: string;
type?: string;
};
};
quote_token?: {
data?: {
id?: string;
type?: string;
};
};
};
type?: string;
}>;
included?: Array<{
attributes?: {
address?: string;
coingecko_coin_id?: string;
decimals?: number;
image_url?: string;
name?: string;
symbol?: string;
};
id?: string;
type?: string;
}>;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
geckoterminalCurrent GeckoTerminal — Top Pools by Dex · GET · View API reference | $0 / call | — | —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: 3. 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
curl \
'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'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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}
]
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# GeckoTerminal — Top Pools by Dex
Retrieve top Pools by Dex with the GeckoTerminal API. Supply a network and a dex. Sample fields include addresses and transactions. Use it for on-chain or crypto market research. Use the response in blockchain monitoring or to cross-check data against an explorer for the same network.
## Available implementations
geckoterminal · GeckoTerminal — Top Pools by Dex: https://openany.si/markets/apis/capabilities/geckoterminal-top-pools-by-dex?offering=d2935896-9f03-4405-b94e-16c02af4c9bb · $0 / call
## Selected API contract
Documentation: https://openany.si/apis/d2935896-9f03-4405-b94e-16c02af4c9bb
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/{network}/dexes/{dex}/pools
Price: $0 / call
Provider: geckoterminal
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'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'
```
## API contract
```json
{
"resource_type": "api",
"name": "GeckoTerminal — Top Pools by Dex",
"endpoint": "https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/{network}/dexes/{dex}/pools",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "network ID<br>*refers to [/networks](/api/v2/networks)",
"location": "path",
"name": "network",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "DEX ID<br>*refers to [/networks/{network}/dexes](/api/v2/networks/eth/dexes)",
"location": "path",
"name": "dex",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "attributes to include, comma-separated if more than one to include<br><br><b>Available values:</b> `base_token`, `quote_token`, `dex`",
"location": "query",
"name": "include",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "include GT community data",
"location": "query",
"name": "include_gt_community_data",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "page through results (maximum: 10)",
"location": "query",
"maximum": "10",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "sort the pools by field",
"enum_values": [
"h24_volume_usd_desc",
"h24_tx_count_desc"
],
"location": "query",
"name": "sort",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": null,
"headers": {
"Accept": "application/json;version=20230203"
},
"path": {
"dex": "sushiswap",
"network": "eth"
},
"query": {
"include": "base_token",
"include_gt_community_data": false,
"page": 1,
"sort": "h24_tx_count_desc"
}
},
"response_body": {
"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"
}
]
}
}
]
}
```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" } ] }