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

Retrieves recent trade history for a token across ALL liquidity pools (up to 300 trades from past 24 hours). Returns trades from every pool containing the token; filterable by minimum USD volume. Ideal for: comprehensive token monitoring, cross-venue whale watching, VWAP calculation, trading pattern analysis.

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

Retrieves recent trade history for a token across ALL liquidity pools (up to 300 trades from past 24 hours). Returns trades from every pool containing the token; filterable by minimum USD volume. Ideal for: comprehensive token monitoring, cross-venue whale watching, VWAP calculation, trading pattern analysis.


## At a Glance

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

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `network` | `string` | Yes | Network ID \(e.g., 'eth', 'solana'\). |
| `tokenAddress` | `string` | Yes | Token contract address. |
| `tradeVolumeInUsdGreaterThan` | `number` | No | Filter trades by minimum USD volume \(default: 0\). |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `trades` | `array` | Yes | List of trades from the past 24 hours \(max 300\). |

## Examples

**Workflow node**

```json
{
  "type": "coingecko-get-token-trades",
  "payload": {
    "network": "example-network",
    "tokenAddress": "0x0000000000000000000000000000000000000000"
  },
  "children": []
}
```
  **Test with API**

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

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