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.
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
json{ "type": "coingecko-get-token-trades", "payload": { "network": "example-network", "tokenAddress": "0x0000000000000000000000000000000000000000" }, "children": []}
bashcurl -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" }}'
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.
