CoinGecko — Top Pools by DEX
Retrieve top Pools by DEX with the CoinGecko API. Supply a network and a dex. Sample fields include addresses and transactions. Request fields include page number (page). Use it for on-chain or crypto market research. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
- Selected price
- $0 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
CoinGeckoCurrent CoinGecko — Top Pools by DEX · GET | $0 / call | — | —successP50— |
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_usdstringcommunity_sus_reportintegerfdv_usdstringmarket_cap_usdstringnamestringpool_created_atstringprice_change_percentageobjecth1stringh24stringh6stringm15stringm30stringm5string
quote_token_price_base_tokenstringquote_token_price_native_currencystringquote_token_price_usdstringreserve_in_usdstringsentiment_vote_negative_percentageintegersentiment_vote_positive_percentageintegertransactionsobjecth1objectbuyersintegerbuysintegersellersintegersellsinteger
h24objectbuyersintegerbuysintegersellersintegersellsinteger
h6objectbuyersintegerbuysintegersellersintegersellsinteger
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;
community_sus_report?: number;
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;
sentiment_vote_negative_percentage?: number;
sentiment_vote_positive_percentage?: number;
transactions?: {
h1?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
h24?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
h6?: {
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;
}>;
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/{network}/dexes/{dex}/pools- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/eth/dexes/sushiswap/pools' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'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. *refers to [`/onchain/networks`](/reference/networks-list). |
dex | URL path parameterspath | string | Yes | DEX ID. *refers to [`/onchain/networks/{network}/dexes`](/reference/dexes-list). |
include | URL query parametersquery | string | No | Attributes to include, comma-separated if more than one. Available values: `base_token`, `quote_token`, `dex` |
page | URL query parametersquery | integer | No | Page through results. Default value: 1 |
sort | URL query parametersquery | string | No | Sort the pools by field.
Default: `h24_tx_count_desc` enum: "h24_tx_count_desc", "h24_volume_usd_desc" |
include_gt_community_data | URL query parametersquery | boolean | No | Include GeckoTerminal community data (sentiment votes, suspicious reports). Default: `false` |
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": "0x6469b34a2a4723163c4902dbbdea728d20693c12",
"base_token_price_native_currency": "0.00122586914090918",
"base_token_price_quote_token": "0.001225869141",
"base_token_price_usd": "2.53037158380141",
"community_sus_report": 0,
"fdv_usd": "8774304.71122981",
"market_cap_usd": "8774304.71122981",
"name": "NEAR / WETH",
"pool_created_at": "2021-10-11T01:52:05Z",
"price_change_percentage": {
"h1": "0.428",
"h24": "-12.097",
"h6": "-0.885",
"m15": "0",
"m30": "0.049",
"m5": "0"
},
"quote_token_price_base_token": "815.74775531",
"quote_token_price_native_currency": "1.0",
"quote_token_price_usd": "2062.57293793663",
"reserve_in_usd": "54784.7204",
"sentiment_vote_negative_percentage": 0,
"sentiment_vote_positive_percentage": 0,
"transactions": {
"h1": {
"buyers": 2,
"buys": 6,
"sellers": 3,
"sells": 4
},
"h24": {
"buyers": 62,
"buys": 172,
"sellers": 55,
"sells": 180
},
"h6": {
"buyers": 24,
"buys": 39,
"sellers": 16,
"sells": 37
},
"m15": {
"buyers": 0,
"buys": 0,
"sellers": 0,
"sells": 0
},
"m30": {
"buyers": 1,
"buys": 1,
"sellers": 2,
"sells": 2
},
"m5": {
"buyers": 0,
"buys": 0,
"sellers": 0,
"sells": 0
}
},
"volume_usd": {
"h1": "572.0025141642",
"h24": "38207.6214949268",
"h6": "7298.4165779336",
"m15": "0.0",
"m30": "215.04729883",
"m5": "0.0"
}
},
"id": "eth_0x6469b34a2a4723163c4902dbbdea728d20693c12",
"relationships": {
"base_token": {
"data": {
"id": "eth_0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
"type": "token"
}
},
"dex": {
"data": {
"id": "sushiswap",
"type": "dex"
}
},
"quote_token": {
"data": {
"id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"type": "token"
}
}
},
"type": "pool"
}
],
"included": [
{
"attributes": {
"address": "0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
"coingecko_coin_id": "rainbow-bridged-near-ethereum",
"decimals": 24,
"image_url": "https://coin-images.coingecko.com/coins/images/71681/large/near.png?1768905174",
"name": "NEAR",
"symbol": "NEAR"
},
"id": "eth_0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
"type": "token"
},
{
"attributes": {
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"coingecko_coin_id": "weth",
"decimals": 18,
"image_url": "https://coin-images.coingecko.com/coins/images/2518/large/weth.png?1696503332",
"name": "Wrapped Ether",
"symbol": "WETH"
},
"id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"type": "token"
},
{
"attributes": {
"name": "SushiSwap"
},
"id": "sushiswap",
"type": "dex"
}
]
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# CoinGecko — Top Pools by DEX
Retrieve top Pools by DEX with the CoinGecko API. Supply a network and a dex. Sample fields include addresses and transactions. Request fields include page number (page). Use it for on-chain or crypto market research. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
## Available implementations
CoinGecko · CoinGecko — Top Pools by DEX: https://openany.si/markets/apis/capabilities/coingecko-top-pools-by-dex?offering=418c35f1-e6ff-4c96-9e7e-59c8de86f222 · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/coingecko-top-pools-by-dex
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/{network}/dexes/{dex}/pools
Price: $0 / call
Provider: CoinGecko
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/coingecko/api/v3/onchain/networks/eth/dexes/sushiswap/pools' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "CoinGecko — Top Pools by DEX",
"endpoint": "https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/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. \n*refers to [`/onchain/networks`](/reference/networks-list).",
"location": "path",
"name": "network",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "DEX ID. \n*refers to [`/onchain/networks/{network}/dexes`](/reference/dexes-list).",
"location": "path",
"name": "dex",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Attributes to include, comma-separated if more than one. \nAvailable values: `base_token`, `quote_token`, `dex`",
"location": "query",
"name": "include",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Page through results. \nDefault value: 1",
"location": "query",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Sort the pools by field. \nDefault: `h24_tx_count_desc`",
"enum_values": [
"h24_tx_count_desc",
"h24_volume_usd_desc"
],
"location": "query",
"name": "sort",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Include GeckoTerminal community data (sentiment votes, suspicious reports). \nDefault: `false`",
"location": "query",
"name": "include_gt_community_data",
"nullable": false,
"required": false,
"type": "boolean"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example · Official response / contract request",
"request": {
"body": null,
"headers": {},
"path": {
"dex": "sushiswap",
"network": "eth"
},
"query": {}
},
"response_body": {
"data": [
{
"attributes": {
"address": "0x6469b34a2a4723163c4902dbbdea728d20693c12",
"base_token_price_native_currency": "0.00122586914090918",
"base_token_price_quote_token": "0.001225869141",
"base_token_price_usd": "2.53037158380141",
"community_sus_report": 0,
"fdv_usd": "8774304.71122981",
"market_cap_usd": "8774304.71122981",
"name": "NEAR / WETH",
"pool_created_at": "2021-10-11T01:52:05Z",
"price_change_percentage": {
"h1": "0.428",
"h24": "-12.097",
"h6": "-0.885",
"m15": "0",
"m30": "0.049",
"m5": "0"
},
"quote_token_price_base_token": "815.74775531",
"quote_token_price_native_currency": "1.0",
"quote_token_price_usd": "2062.57293793663",
"reserve_in_usd": "54784.7204",
"sentiment_vote_negative_percentage": 0,
"sentiment_vote_positive_percentage": 0,
"transactions": {
"h1": {
"buyers": 2,
"buys": 6,
"sellers": 3,
"sells": 4
},
"h24": {
"buyers": 62,
"buys": 172,
"sellers": 55,
"sells": 180
},
"h6": {
"buyers": 24,
"buys": 39,
"sellers": 16,
"sells": 37
},
"m15": {
"buyers": 0,
"buys": 0,
"sellers": 0,
"sells": 0
},
"m30": {
"buyers": 1,
"buys": 1,
"sellers": 2,
"sells": 2
},
"m5": {
"buyers": 0,
"buys": 0,
"sellers": 0,
"sells": 0
}
},
"volume_usd": {
"h1": "572.0025141642",
"h24": "38207.6214949268",
"h6": "7298.4165779336",
"m15": "0.0",
"m30": "215.04729883",
"m5": "0.0"
}
},
"id": "eth_0x6469b34a2a4723163c4902dbbdea728d20693c12",
"relationships": {
"base_token": {
"data": {
"id": "eth_0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
"type": "token"
}
},
"dex": {
"data": {
"id": "sushiswap",
"type": "dex"
}
},
"quote_token": {
"data": {
"id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"type": "token"
}
}
},
"type": "pool"
}
],
"included": [
{
"attributes": {
"address": "0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
"coingecko_coin_id": "rainbow-bridged-near-ethereum",
"decimals": 24,
"image_url": "https://coin-images.coingecko.com/coins/images/71681/large/near.png?1768905174",
"name": "NEAR",
"symbol": "NEAR"
},
"id": "eth_0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
"type": "token"
},
{
"attributes": {
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"coingecko_coin_id": "weth",
"decimals": 18,
"image_url": "https://coin-images.coingecko.com/coins/images/2518/large/weth.png?1696503332",
"name": "Wrapped Ether",
"symbol": "WETH"
},
"id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"type": "token"
},
{
"attributes": {
"name": "SushiSwap"
},
"id": "sushiswap",
"type": "dex"
}
]
}
}
]
}
```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. |
Official example · Official response / contract request
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. *refers to [`/onchain/networks`](/reference/networks-list).
dex- DEX ID. *refers to [`/onchain/networks/{network}/dexes`](/reference/dexes-list).
include- Attributes to include, comma-separated if more than one. Available values: `base_token`, `quote_token`, `dex`
page- Page through results. Default value: 1
sort- Sort the pools by field. Default: `h24_tx_count_desc`
include_gt_community_data- Include GeckoTerminal community data (sentiment votes, suspicious reports). Default: `false`
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/eth/dexes/sushiswap/pools' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "data": [ { "attributes": { "address": "0x6469b34a2a4723163c4902dbbdea728d20693c12", "base_token_price_native_currency": "0.00122586914090918", "base_token_price_quote_token": "0.001225869141", "base_token_price_usd": "2.53037158380141", "community_sus_report": 0, "fdv_usd": "8774304.71122981", "market_cap_usd": "8774304.71122981", "name": "NEAR / WETH", "pool_created_at": "2021-10-11T01:52:05Z", "price_change_percentage": { "h1": "0.428", "h24": "-12.097", "h6": "-0.885", "m15": "0", "m30": "0.049", "m5": "0" }, "quote_token_price_base_token": "815.74775531", "quote_token_price_native_currency": "1.0", "quote_token_price_usd": "2062.57293793663", "reserve_in_usd": "54784.7204", "sentiment_vote_negative_percentage": 0, "sentiment_vote_positive_percentage": 0, "transactions": { "h1": { "buyers": 2, "buys": 6, "sellers": 3, "sells": 4 }, "h24": { "buyers": 62, "buys": 172, "sellers": 55, "sells": 180 }, "h6": { "buyers": 24, "buys": 39, "sellers": 16, "sells": 37 }, "m15": { "buyers": 0, "buys": 0, "sellers": 0, "sells": 0 }, "m30": { "buyers": 1, "buys": 1, "sellers": 2, "sells": 2 }, "m5": { "buyers": 0, "buys": 0, "sellers": 0, "sells": 0 } }, "volume_usd": { "h1": "572.0025141642", "h24": "38207.6214949268", "h6": "7298.4165779336", "m15": "0.0", "m30": "215.04729883", "m5": "0.0" } }, "id": "eth_0x6469b34a2a4723163c4902dbbdea728d20693c12", "relationships": { "base_token": { "data": { "id": "eth_0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4", "type": "token" } }, "dex": { "data": { "id": "sushiswap", "type": "dex" } }, "quote_token": { "data": { "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token" } } }, "type": "pool" } ], "included": [ { "attributes": { "address": "0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4", "coingecko_coin_id": "rainbow-bridged-near-ethereum", "decimals": 24, "image_url": "https://coin-images.coingecko.com/coins/images/71681/large/near.png?1768905174", "name": "NEAR", "symbol": "NEAR" }, "id": "eth_0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4", "type": "token" }, { "attributes": { "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "coingecko_coin_id": "weth", "decimals": 18, "image_url": "https://coin-images.coingecko.com/coins/images/2518/large/weth.png?1696503332", "name": "Wrapped Ether", "symbol": "WETH" }, "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token" }, { "attributes": { "name": "SushiSwap" }, "id": "sushiswap", "type": "dex" } ] }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use CoinGecko — Top Pools by DEX with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.