Skip to main content
GET
/
v2
/
polymarket
/
trades
Get Trades
curl --request GET \
  --url https://api.predexon.com/v2/polymarket/trades \
  --header 'x-api-key: <api-key>'
{
  "trades": [
    {
      "token_id": "<string>",
      "market_slug": "<string>",
      "condition_id": "<string>",
      "shares": 123,
      "shares_normalized": 123,
      "price": 123,
      "amount_usd": 123,
      "tx_hash": "<string>",
      "title": "<string>",
      "timestamp": 123,
      "order_hash": "<string>",
      "user": "<string>",
      "taker": "<string>",
      "is_yes_side": true,
      "outcome_label": "",
      "fee_usd": 0,
      "exchange_version": 1,
      "builder": "",
      "metadata": ""
    }
  ],
  "pagination": {
    "limit": 123,
    "count": 123,
    "has_more": true,
    "pagination_key": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.predexon.com/llms.txt

Use this file to discover all available pages before exploring further.

Query historical trade data with flexible filtering by market, token, wallet, and time range. All filters are optional - omit them to browse the global trade feed.
All trades mode (no filters) only supports order=desc (newest first). Using order=asc without a market or wallet filter returns HTTP 400.
Free & Unlimited. This endpoint does not count toward your monthly usage limits on any plan.

V2 fields

Every trade row now carries Polymarket exchange version metadata:
  • exchange_version - 1 (V1 CTF/NegRiskCTF) or 2 (V2). Defaults to 1.
  • builder - V2 builder attribution tag (bytes32 hex). Empty for V1 fills or V2 fills with no builder.
  • metadata - V2 opaque metadata tag (bytes32 hex). Empty for V1 fills or V2 fills with no metadata.
Use the builder query parameter to filter to fills attributed to a specific builder tag.
ConstraintValue
limit1–500 (default 100)

Authorizations

x-api-key
string
header
required

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

min_total
number | null

Minimum trade amount in USD

Required range: x >= 0
limit
integer
default:100

Number of trades to return

Required range: 1 <= x <= 500
wallet
string | null

Filter by wallet address

builder
string | null

Filter by V2 builder attribution tag (bytes32 hex, 0x + 64 hex chars)

order
enum<string>
default:desc

Sort order: asc or desc

Available options:
asc,
desc
pagination_key
string | null

Cursor for pagination

Response

Successful Response

Trades endpoint response.

trades
Trade · object[]
required
pagination
CursorPagination · object
required

Cursor-based pagination for endpoints that don't support offset.