> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Trending Pools by Network

Retrieves trending DEX pools for a specific network, ranked by trending score (most trending first). Returns full pool data with price changes across timeframes; filterable by trending period (5m-24h). Ideal for: discovering hot pools on a network, finding emerging trading opportunities, trend monitoring.

![Get Trending Pools by Network logo](https://ai-icon.b3.fun/logo/coingecko)
Catalog action Blockchain Data

Retrieves trending DEX pools for a specific network, ranked by trending score (most trending first). Returns full pool data with price changes across timeframes; filterable by trending period (5m-24h). Ideal for: discovering hot pools on a network, finding emerging trading opportunities, trend monitoring.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coingecko-get-trending-pools-network` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coingecko`, `onchain`, `pool`, `dex`, `trending`, `network`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `network` | `string` | Yes | Network ID \(e.g., 'eth', 'bsc', 'polygon_pos'\). |
| `include` | `string` | No | Attributes to include: base_token, quote_token, dex \(comma-separated\). |
| `page` | `number` | No | Page number for pagination \(default: 1\). |
| `duration` | `string` | No | Duration for trending calculation. Options: 5m, 1h, 6h, 24h. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `pools` | `array` | Yes | List of trending pools on the specified network |

## Examples

**Workflow node**

```json
{
  "type": "coingecko-get-trending-pools-network",
  "payload": {
    "network": "example-network"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coingecko-get-trending-pools-network/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "network": "example-network"
  }
}'
```

**Use expressions for dynamic values**

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.