---
title: "Past 24 Hour Trades by Token Address"
method: GET
path: "/onchain/networks/{network}/tokens/{token_address}/trades"
---

# Past 24 Hour Trades by Token Address

`GET /onchain/networks/{network}/tokens/{token_address}/trades`

## Request

- Base URL: `https://api.coingecko.com/api/v3`
- URL: `https://api.coingecko.com/api/v3/onchain/networks/{network}/tokens/{token_address}/trades`
- Auth: one of:
  - API key in header `x-cg-pro-api-key`
  - API key in query parameter `x_cg_pro_api_key`

To query the last 300 trades in the past 24 hours, across all pools, based on the provided token contract address on a network

## Path parameters

- `network` string, required
- `token_address` string, required

## Query parameters

- `trade_volume_in_usd_greater_than` number

## Response `200`

Last 300 trades in past 24 hours from a token across all pools

- TokenTrades
  - `data` object[], required
    - `id` string, required: Trade identifier
    - `type` string, required: Resource type
    - `attributes` object, required
      - `pool_address` string, required: Pool contract address where the trade occurred
      - `pool_dex` string, required: DEX identifier of the pool
      - `block_number` integer, required: Block number of the trade
      - `tx_hash` string, required: Transaction hash
      - `tx_from_address` string, required: Transaction sender address
      - `from_token_amount` string, required: Amount of token sent
      - `to_token_amount` string, required: Amount of token received
      - `price_from_in_currency_token` string, required: Price of from-token in currency token
      - `price_to_in_currency_token` string, required: Price of to-token in currency token
      - `price_from_in_usd` string, required: Price of from-token in USD
      - `price_to_in_usd` string, required: Price of to-token in USD
      - `block_timestamp` string, required: Block timestamp
      - `kind` string, required: Trade kind (buy or sell)
      - `volume_in_usd` string, required: Trade volume in USD
      - `from_token_address` string, required: From-token contract address
      - `to_token_address` string, required: To-token contract address

---

[API](https://skmtc.dev/coingecko/apis/coingecko-demo-api.md) - [All operations](https://skmtc.dev/coingecko/apis/coingecko-demo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/coingecko/apis/coingecko-demo-api/revisions/d62c9c579f3a?raw)
