Skip to main content
GET
Trades by Wallet Address

Notes

  • Paginate with cursor rather than a page number:
    • Pass meta.next_cursor back unchanged as cursor to fetch the next page.
    • meta.next_cursor is null on the last page.
    • An invalid or expired cursor returns a 400. Restart pagination without cursor.
from and to must be provided together, and the window between them cannot exceed 30 days.
  • Omit both to get the most recent 7 days.
  • Providing only one of them returns a 400.

Authorizations

x-cg-pro-api-key
string
header
required

Learn how to set up your API key

Path Parameters

network
string
default:eth
required

Network ID. *refers to /onchain/networks.

address
string
default:0x7942262a7a5637e6eb0eec9b91b55ec232141f87
required

Wallet address.

Query Parameters

token
string

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

from
string

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.

to
string

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.

cursor
string

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

per_page
integer

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

Response

200 - application/json

Wallet trades data

data
object[]
required
meta
object
required