New API users should migrate to deposit wallets. Read the migration guide.
curl --request GET \
--url https://clob.polymarket.com/trades \
--header 'POLY_ADDRESS: <api-key>' \
--header 'POLY_API_KEY: <api-key>' \
--header 'POLY_PASSPHRASE: <api-key>' \
--header 'POLY_SIGNATURE: <api-key>' \
--header 'POLY_TIMESTAMP: <api-key>'{
"limit": 100,
"next_cursor": "MTAw",
"count": 2,
"data": [
{
"id": "trade-123",
"taker_order_id": "0xabcdef1234567890abcdef1234567890abcdef12",
"market": "0x0000000000000000000000000000000000000000000000000000000000000001",
"asset_id": "15871154585880608648532107628464183779895785213830018178010423617714102767076",
"side": "BUY",
"size": "100000000",
"fee_rate_bps": "30",
"price": "0.5",
"status": "TRADE_STATUS_CONFIRMED",
"match_time": "1700000000",
"last_update": "1700000000",
"outcome": "YES",
"bucket_index": 0,
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"maker_address": "0x1234567890123456789012345678901234567890",
"transaction_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"trader_side": "TAKER",
"maker_orders": []
}
]
}Retrieves trades for the authenticated user. Returns paginated results. Requires readonly or level 2 API key authentication.
curl --request GET \
--url https://clob.polymarket.com/trades \
--header 'POLY_ADDRESS: <api-key>' \
--header 'POLY_API_KEY: <api-key>' \
--header 'POLY_PASSPHRASE: <api-key>' \
--header 'POLY_SIGNATURE: <api-key>' \
--header 'POLY_TIMESTAMP: <api-key>'{
"limit": 100,
"next_cursor": "MTAw",
"count": 2,
"data": [
{
"id": "trade-123",
"taker_order_id": "0xabcdef1234567890abcdef1234567890abcdef12",
"market": "0x0000000000000000000000000000000000000000000000000000000000000001",
"asset_id": "15871154585880608648532107628464183779895785213830018178010423617714102767076",
"side": "BUY",
"size": "100000000",
"fee_rate_bps": "30",
"price": "0.5",
"status": "TRADE_STATUS_CONFIRMED",
"match_time": "1700000000",
"last_update": "1700000000",
"outcome": "YES",
"bucket_index": 0,
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"maker_address": "0x1234567890123456789012345678901234567890",
"transaction_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"trader_side": "TAKER",
"maker_orders": []
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt
Use this file to discover all available pages before exploring further.
Your API key
Ethereum address associated with the API key
HMAC signature of the request
API key passphrase
Unix timestamp of the request
Trade ID to filter by specific trade
Maker address to filter trades
^0x[a-fA-F0-9]{40}$Market (condition ID) to filter trades
^0x[a-fA-F0-9]{64}$Asset ID (token ID) to filter trades
Filter trades before this Unix timestamp
^\d+$Filter trades after this Unix timestamp
^\d+$Cursor for pagination (base64 encoded offset)
Successfully retrieved trades
Paginated trades response
Maximum number of items per page
100
Cursor for next page (base64 encoded offset). "LTE=" indicates no more pages
"MTAw"
Number of items in current response
2
Array of trades
Show child attributes
Was this page helpful?