DEX Trades
Access real-time DEX trading activity from smart traders and funds over the last 24 hours. This endpoint provides granular transaction-level data showing exactly what sophisticated traders are buying and selling on decentralized exchanges.
Authorizations
Body
filtersany ofOptionalExample: 
Additional filters to apply. Only filters for columns that are being selected will be applied.
{"exclude_smart_money_labels":["30D Smart Trader"],"include_smart_money_labels":["Fund","Smart Trader"],"token_bought_age_days":{"max":30,"min":1},"trade_value_usd":{"max":10000,"min":1000}}order_byany ofOptional
Custom sort order to override the endpoint's default ordering.
Examples:
- [{"field": "trade_value_in_usd", "direction": "DESC"}] - Sort by trade value descending
- [{"field": "block_timestamp", "direction": "ASC"}] - Sort by timestamp ascending
- [{"field": "token_bought_amount", "direction": "DESC"}, {"field": "block_timestamp", "direction": "ASC"}] - Sort by bought amount descending, then timestamp ascending
Responses
200
Smart money DEX trades data
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Unprocessable Content
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
post
/api/v1/smart-money/dex-tradesPOST /api/v1/smart-money/dex-trades HTTP/1.1
Host: api.nansen.ai
apiKey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 320
{
  "chains": [
    "ethereum",
    "solana"
  ],
  "filters": {
    "exclude_smart_money_labels": [
      "30D Smart Trader"
    ],
    "include_smart_money_labels": [
      "Fund",
      "Smart Trader"
    ],
    "token_bought_age_days": {
      "max": 30,
      "min": 1
    },
    "trade_value_usd": {
      "max": 10000,
      "min": 1000
    }
  },
  "pagination": {
    "page": 1,
    "per_page": 10
  },
  "order_by": [
    {
      "field": "chain",
      "direction": "ASC"
    }
  ]
}{
  "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,
      "trade_value_usd": 1
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 10,
    "is_last_page": true
  }
}Last updated
Was this helpful?
