Address DEX Trades
Data Freshness & Historical Coverage
For data freshness and historical coverage, see Data Coverage by Chain; this endpoint follows it.
Get DEX trade history for a wallet address on a specific chain. Each record includes the bought/sold tokens, amounts, symbols, token age, market cap, FDV, and the USD value of the trade.
What it helps to answer:
What DEX trades has this wallet executed on a chain within a date range?
Which tokens are being bought and sold, and at what sizes?
What is the USD value of each trade, and what was the token's market cap and FDV at trade time?
API key for authentication
Request model for the Profiler DEX Trades endpoint.
Trader address
0x28c6c06298d514db089934071355e5743bf21d60Chain to query
ethereumPossible values: Additional filters for the trades
Sort order for the trades
DEX trade history for the address
Bad Request
Unauthorized
Payment Required
Forbidden
Not Found
Unprocessable Content
Too Many Requests
Internal Server Error
Bad Gateway
Service Unavailable
Gateway Timeout
POST /api/v1/profiler/dex-trades HTTP/1.1
Host: api.nansen.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 744
{
"address": "0x28c6c06298d514db089934071355e5743bf21d60",
"chain": "ethereum",
"date": {
"from": "2024-01-01",
"to": "2024-01-31"
},
"filters": {
"token_bought_address": "text",
"token_sold_address": "text",
"token_bought_symbol": "text",
"token_sold_symbol": "text",
"token_bought_amount": {
"min": 1000,
"max": 50000
},
"token_sold_amount": {
"min": 1000,
"max": 50000
},
"token_bought_age_days": {
"min": 10,
"max": 100
},
"token_sold_age_days": {
"min": 10,
"max": 100
},
"token_bought_market_cap": {
"min": 1000,
"max": 50000
},
"token_sold_market_cap": {
"min": 1000,
"max": 50000
},
"token_bought_fdv": {
"min": 1000,
"max": 50000
},
"token_sold_fdv": {
"min": 1000,
"max": 50000
},
"trade_value_usd": {
"min": 1000,
"max": 50000
}
},
"pagination": {
"page": 1,
"per_page": 10
},
"order_by": [
{
"field": "chain",
"direction": "ASC"
}
]
}{
"pagination": {
"page": 1,
"per_page": 10,
"is_last_page": true
},
"data": [
{
"chain": "text",
"block_timestamp": "text",
"transaction_hash": "text",
"trader_address": "text",
"trader_address_label": "text",
"token_bought_address": "text",
"token_sold_address": "text",
"token_bought_amount": 1,
"token_sold_amount": 1,
"token_bought_symbol": "text",
"token_sold_symbol": "text",
"token_bought_age_days": 1,
"token_sold_age_days": 1,
"token_bought_market_cap": 1,
"token_sold_market_cap": 1,
"token_bought_fdv": 1,
"token_sold_fdv": 1,
"trade_value_usd": 1
}
]
}Last updated
Was this helpful?