Skip to content
Fourohtwo

Get Perpetual Trade Data

api.nansen.ai/api/v1/profiler/perp-trades

Get Perpetual Trade Data

SolanaAnswering
POSThttps://api.nansen.ai/api/v1/profiler/perp-trades

Uptime100% of 3 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://api.nansen.ai/api/v1/profiler/perp-trades" \
  -d '{"date":{"to":"2025-10-10T23:59:59Z","from":"2025-10-01T00:00:00Z"},"address":"0x45d26f28196d226497130c4bac709d808fed4029","filters":{"size":{"max":1000,"min":0.001}},"order_by":[{"field":"timestamp","direction":"DESC"}]}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "date": {
    "to": "2025-10-10T23:59:59Z",
    "from": "2025-10-01T00:00:00Z"
  },
  "address": "0x45d26f28196d226497130c4bac709d808fed4029",
  "filters": {
    "size": {
      "max": 1000,
      "min": 0.001
    }
  },
  "order_by": [
    {
      "field": "timestamp",
      "direction": "DESC"
    }
  ]
}