Skip to main content
GET
/
v1
/
polymarket
/
trades
# Trades for a specific market
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.predexon.com/v1/polymarket/trades?market_slug=will-donald-trump-win-the-2024-us-presidential-election&limit=50"

# Trades for a specific user
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.predexon.com/v1/polymarket/trades?user=0x1234...&limit=100"
{
  "orders": [
    {
      "token_id": "21742633143463906290569050155826241533067272736897614950488156847949938836455",
      "side": "BUY",
      "market_slug": "will-donald-trump-win-the-2024-us-presidential-election",
      "condition_id": "0x1a2b3c4d...",
      "shares": 500.0,
      "shares_normalized": 500.0,
      "price": 0.62,
      "tx_hash": "0xabc123...",
      "title": "Will Donald Trump win the 2024 Presidential Election?",
      "timestamp": 1704153600,
      "order_hash": "0xdef456...",
      "user": "0x9876543210..."
    }
  ],
  "pagination": {
    "limit": 50,
    "offset": 0,
    "total": 12345,
    "has_more": true
  }
}

Overview

Query historical trade data with flexible filtering by market, token, user, and time range.
market_slug
string
Filter by market slug
condition_id
string
Filter by condition ID
token_id
string
Filter by specific token ID
user
string
Filter by user wallet address
start_time
integer
Unix timestamp (seconds) for start of range
end_time
integer
Unix timestamp (seconds) for end of range
order
string
default:"desc"
Sort order: asc or desc by timestamp
limit
integer
default:"100"
Number of orders to return (1-1000)
offset
integer
default:"0"
Number of trades to skip for pagination (max 100000)
At least one of market_slug, condition_id, token_id, or user is required. Only one of market_slug, condition_id, or token_id can be provided.
orders
array
pagination
object
# Trades for a specific market
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.predexon.com/v1/polymarket/trades?market_slug=will-donald-trump-win-the-2024-us-presidential-election&limit=50"

# Trades for a specific user
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.predexon.com/v1/polymarket/trades?user=0x1234...&limit=100"
{
  "orders": [
    {
      "token_id": "21742633143463906290569050155826241533067272736897614950488156847949938836455",
      "side": "BUY",
      "market_slug": "will-donald-trump-win-the-2024-us-presidential-election",
      "condition_id": "0x1a2b3c4d...",
      "shares": 500.0,
      "shares_normalized": 500.0,
      "price": 0.62,
      "tx_hash": "0xabc123...",
      "title": "Will Donald Trump win the 2024 Presidential Election?",
      "timestamp": 1704153600,
      "order_hash": "0xdef456...",
      "user": "0x9876543210..."
    }
  ],
  "pagination": {
    "limit": 50,
    "offset": 0,
    "total": 12345,
    "has_more": true
  }
}

Use Cases

Trade History

Get complete trade history for a market or user

Volume Analysis

Analyze trading patterns and flow

Whale Tracking

Monitor large trades by filtering on shares

User Analytics

Analyze a specific trader’s activity

Authorizations

x-api-key
string
header
required

API key for authentication. Get your free key at dashboard.predexon.com

Query Parameters

market_slug
string | null

Filter by market slug

condition_id
string | null

Filter by condition ID

token_id
string | null

Filter by token ID

start_time
integer | null

Unix timestamp (seconds) for start

end_time
integer | null

Unix timestamp (seconds) for end

limit
integer
default:100

Number of orders to return

Required range: 1 <= x <= 1000
offset
integer
default:0

Number of orders to skip

Required range: 0 <= x <= 100000
user
string | null

Filter by user wallet address

order
enum<string>
default:desc

Sort order: asc or desc

Available options:
asc,
desc

Response

Successful Response

Orders endpoint response.

orders
Order · object[]
required
pagination
Pagination · object
required

Offset-based pagination model.