Trades by Wallet Address

Changed on

To query the trades of a wallet address on a network

get/onchain/networks/{network}/wallets/{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.

addressstring required

Wallet address.

Query parameters

tokenstring

Filter trades by token contract address, returning only trades involving this token.

fromstring

Starting date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility. Must be provided together with to.

tostring

Ending date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility. Must be provided together with from.

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: 100 Valid values: 1...300

Response

Wallet trades data

Changes

    • info

      added the new optional query request parameter include_anomalous

    • info

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