Trades by Token Address

Changed on

To query the trades, across all pools, based on the provided token contract address on a network

get/onchain/networks/{network}/tokens/{token_address}/trades

Request

  • Base URL
    https://pro-api.coingecko.com/api/v3
  • Auth
    • API key in header x-cg-pro-api-key
    • or API key in query parameter x_cg_pro_api_key

Path parameters

networkstring required

Network ID. *refers to /onchain/networks.

token_addressstring required

Token contract address.

Query parameters

trade_volume_in_usd_greater_thannumber

Filter trades by trade volume in USD greater than this value. Default value: 0

trading_period'1d' | '7d' | '30d'

Lookback period for trades. Default: 1d

include_anomalousboolean

Include trades flagged as anomalous. Default: false

cursorstring

Cursor from the previous response, passed back unchanged to fetch the next page.

per_pageinteger

Total results per page. Default value: 300 Valid values: 1...300

Response

Trades from a token across all pools

Changes

    • info

      added the new optional query request parameter include_anomalous

    • info

      added the required property /// to the response with the status

    • info

      api tag Trades removed

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status