> ## 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

Retrieves trending DEX pools across all networks, 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 globally, finding cross-chain trading opportunities, market trend analysis.

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

Retrieves trending DEX pools across all networks, 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 globally, finding cross-chain trading opportunities, market trend analysis.


## At a Glance

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

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `include` | `string` | No | Attributes to include: base_token, quote_token, dex, network \(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 across all networks |

## Examples

**Workflow node**

```json
{
  "type": "coingecko-get-trending-pools",
  "payload": {
    "include": "example-include",
    "page": 1,
    "duration": "5m"
  },
  "children": []
}
```
  **Test with API**

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

**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.