Get Top Pools by DEX
Retrieves top pools for a specific DEX on a network, ranked by 24h volume by default. Returns pricing, volumes, transaction counts, and liquidity; supports pagination and sorting options. Ideal for: DEX-specific pool discovery, comparing liquidity across a protocol, finding active trading pairs.
Catalog action Blockchain Data
Retrieves top pools for a specific DEX on a network, ranked by 24h volume by default. Returns pricing, volumes, transaction counts, and liquidity; supports pagination and sorting options. Ideal for: DEX-specific pool discovery, comparing liquidity across a protocol, finding active trading pairs.
At a Glance
| Field | Value |
|---|---|
| Action ID | coingecko-get-top-pools-dex |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | coingecko, onchain, pool, dex, top, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
network | string | Yes | Network ID (e.g., 'eth', 'bsc', 'polygon_pos'). |
dex | string | Yes | DEX ID (e.g., 'uniswap_v3', 'sushiswap'). |
include | string | No | Attributes to include: base_token, quote_token, dex (comma-separated). |
page | number | No | Page number for pagination (default: 1). |
sort | string | No | Sort order: h24_tx_count_desc, h24_volume_usd_desc (default: h24_tx_count_desc). |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
pools | array | Yes | List of top pools on the specified DEX |
Examples
json{ "type": "coingecko-get-top-pools-dex", "payload": { "network": "example-network", "dex": "example-dex" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/coingecko-get-top-pools-dex/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "network": "example-network", "dex": "example-dex" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
