Trades within Time Range by Pool Address
curl --request GET \
--url https://pro-api.coingecko.com/api/v3/onchain/networks/{network}/pools/{pool_address}/trades/range \
--header 'x-cg-pro-api-key: <api-key>'{
"data": [
{
"id": "eth_25928873_0x2d17e7f893da1d87e893dd6ddcc42366ea3680c13d4be129d6d1ebac271bac40_167_1788825063",
"type": "trade",
"attributes": {
"block_number": 25928873,
"tx_hash": "0x2d17e7f893da1d87e893dd6ddcc42366ea3680c13d4be129d6d1ebac271bac40",
"tx_from_address": "0x0000000000f8492ebaf65b3c0457cca8948badfe",
"from_token_amount": "0.475091",
"to_token_amount": "0.00019056174944482",
"price_from_in_currency_token": "0.000401105786985693",
"price_to_in_currency_token": "1.0",
"price_from_in_usd": "0.999728096656752",
"price_to_in_usd": "2492.43",
"block_timestamp": "2026-09-07T23:50:47Z",
"kind": "sell",
"volume_in_usd": "0.474961821168753",
"from_token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"to_token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"is_anomalous": false
}
},
{
"id": "eth_25928873_0x05a0ba340fc07a23a5179ed0c7b68c0a7fe5e40487f1d2bb5d96f5d2eda6a1cb_26_1788825060",
"type": "trade",
"attributes": {
"block_number": 25928873,
"tx_hash": "0x05a0ba340fc07a23a5179ed0c7b68c0a7fe5e40487f1d2bb5d96f5d2eda6a1cb",
"tx_from_address": "0x0e14a3e9af1afdfc60554e3e2a40c8284d647093",
"from_token_amount": "42.234864",
"to_token_amount": "0.0169429755714377",
"price_from_in_currency_token": "0.000401160888583367",
"price_to_in_currency_token": "1.0",
"price_from_in_usd": "0.999865433531841",
"price_to_in_usd": "2492.43",
"block_timestamp": "2026-09-07T23:50:47Z",
"kind": "sell",
"volume_in_usd": "42.2291806035184",
"from_token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"to_token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"is_anomalous": false
}
}
],
"meta": {
"next_cursor": "eyJidCI6IjIwMjYtMDktMDdUMjM6NTA6NDcuMDAwMDAwMDAwWiIsImJuIjoyNTkyODg3MywidHgiOiIweDA1YTBiYTM0MGZjMDdhMjNhNTE3OWVkMGM3YjY4YzBhN2ZlNWU0MDQ4N2YxZDJiYjVkOTZmNWQyZWRhNmExY2IiLCJsaSI6MjYsIndmIjoxNzg4MjIwODAwLCJmcCI6Ijk1OGY2N2VkZmU2NDRjMmU2ZTE5NTlkNWQ2ZThmM2FjZDY3YTFiYWYzYWI3YzJmMTVhYmUzNjkzMjhhNjEyZTAiLCJpYXQiOjE3ODg5Mzk0MjF9"
}
}Trades within Time Range by Pool Address
To query the trades within a range of timestamp based on the provided pool address
GET
/
onchain
/
networks
/
{network}
/
pools
/
{pool_address}
/
trades
/
range
Trades within Time Range by Pool Address
curl --request GET \
--url https://pro-api.coingecko.com/api/v3/onchain/networks/{network}/pools/{pool_address}/trades/range \
--header 'x-cg-pro-api-key: <api-key>'{
"data": [
{
"id": "eth_25928873_0x2d17e7f893da1d87e893dd6ddcc42366ea3680c13d4be129d6d1ebac271bac40_167_1788825063",
"type": "trade",
"attributes": {
"block_number": 25928873,
"tx_hash": "0x2d17e7f893da1d87e893dd6ddcc42366ea3680c13d4be129d6d1ebac271bac40",
"tx_from_address": "0x0000000000f8492ebaf65b3c0457cca8948badfe",
"from_token_amount": "0.475091",
"to_token_amount": "0.00019056174944482",
"price_from_in_currency_token": "0.000401105786985693",
"price_to_in_currency_token": "1.0",
"price_from_in_usd": "0.999728096656752",
"price_to_in_usd": "2492.43",
"block_timestamp": "2026-09-07T23:50:47Z",
"kind": "sell",
"volume_in_usd": "0.474961821168753",
"from_token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"to_token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"is_anomalous": false
}
},
{
"id": "eth_25928873_0x05a0ba340fc07a23a5179ed0c7b68c0a7fe5e40487f1d2bb5d96f5d2eda6a1cb_26_1788825060",
"type": "trade",
"attributes": {
"block_number": 25928873,
"tx_hash": "0x05a0ba340fc07a23a5179ed0c7b68c0a7fe5e40487f1d2bb5d96f5d2eda6a1cb",
"tx_from_address": "0x0e14a3e9af1afdfc60554e3e2a40c8284d647093",
"from_token_amount": "42.234864",
"to_token_amount": "0.0169429755714377",
"price_from_in_currency_token": "0.000401160888583367",
"price_to_in_currency_token": "1.0",
"price_from_in_usd": "0.999865433531841",
"price_to_in_usd": "2492.43",
"block_timestamp": "2026-09-07T23:50:47Z",
"kind": "sell",
"volume_in_usd": "42.2291806035184",
"from_token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"to_token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"is_anomalous": false
}
}
],
"meta": {
"next_cursor": "eyJidCI6IjIwMjYtMDktMDdUMjM6NTA6NDcuMDAwMDAwMDAwWiIsImJuIjoyNTkyODg3MywidHgiOiIweDA1YTBiYTM0MGZjMDdhMjNhNTE3OWVkMGM3YjY4YzBhN2ZlNWU0MDQ4N2YxZDJiYjVkOTZmNWQyZWRhNmExY2IiLCJsaSI6MjYsIndmIjoxNzg4MjIwODAwLCJmcCI6Ijk1OGY2N2VkZmU2NDRjMmU2ZTE5NTlkNWQ2ZThmM2FjZDY3YTFiYWYzYWI3YzJmMTVhYmUzNjkzMjhhNjEyZTAiLCJpYXQiOjE3ODg5Mzk0MjF9"
}
}Notes
- Paginate with
cursorrather than a page number:- Pass
meta.next_cursorback unchanged ascursorto fetch the next page. meta.next_cursorisnullon the last page.
- Pass
- For a relative lookback instead of an absolute window, use Trades by Pool Address with
trading_period.
from and to are both required, and the window between them cannot exceed 30 days.- Both ends are inclusive.
- Neither may be later than the current server time.
SDK Examples
New to the SDK? Install and authenticate theclient first:TypeScript | Python
const response = await client.onchain.networks.pools.trades.getRange('0x06da0fd433c1a5d7a4faa01111c044910a184553', {
network: 'eth',
from: '2026-09-01',
to: '2026-09-08',
});
console.log(JSON.stringify(response, null, 2));
response = client.onchain.networks.pools.trades.get_range(
"0x06da0fd433c1a5d7a4faa01111c044910a184553",
network="eth",
from_="2026-09-01",
to="2026-09-08",
)
print(response.model_dump_json(indent=2))
Authorizations
headerAuthqueryAuth
Learn how to set up your API key
Path Parameters
Network ID.
*refers to /onchain/networks.
Query Parameters
Response
200 - application/json
Trades from a pool within a time range
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Was this page helpful?

