Get Order History
Order Management
Get Order History
Retrieve paginated order history for an agent.
GET
Get Order History
Returns a paginated list of all historical orders (filled, cancelled, expired) for the specified agent. Use
limit and offset for pagination.
Query Parameters
The authenticated agent is resolved from the Bearer API key — there is nowalletAddress parameter on this endpoint.
Trading venue identifier. Default:
polymarket.Filter by market
conditionId. Max 250 chars.Filter by order status. Integer enum:
1=LIVE, 2=MATCHED, 3=CANCELED, 4=MARKET_RESOLVED, 5=INVALID.Maximum number of orders to return per page (1–100).
Number of orders to skip (0–10000).
Response
Array of order records.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Trading venue (default: polymarket)
Maximum string length:
50Filter by market condition ID
Maximum string length:
250Filter by order status: 1=LIVE, 2=MATCHED, 3=CANCELED, 4=MARKET_RESOLVED, 5=INVALID
Available options:
1, 2, 3, 4, 5 Max results (default 20, max 100)
Required range:
1 <= x <= 100Pagination offset (default 0)
Required range:
0 <= x <= 10000