Skip to content
Fourohtwo

Get Prediction Market Trades by Address

api.nansen.ai/api/v1/prediction-market/trades-by-address

Get Prediction Market Trades by Address

SolanaAnswering
POSThttps://api.nansen.ai/api/v1/prediction-market/trades-by-address

Uptime100% of 2 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/prediction-market/trades-by-address" \
  -d '{"date":{"to":"2024-12-31T23:59:59Z","from":"2024-01-01T00:00:00Z"},"address":"0x1234567890abcdef1234567890abcdef12345678","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": "2024-12-31T23:59:59Z",
    "from": "2024-01-01T00:00:00Z"
  },
  "address": "0x1234567890abcdef1234567890abcdef12345678",
  "order_by": [
    {
      "field": "timestamp",
      "direction": "DESC"
    }
  ]
}