Get Orders
Changed onRestricts the response to orders that have a certain status: resting, canceled, or executed. Orders that have been canceled or fully executed before the historical cutoff are only available via GET /historical/orders. Resting orders will always be available through this endpoint. See Historical Data for details.
Request
- Base URLhttps://external-api.kalshi.com/trade-api/v2
- URLhttps://external-api.kalshi.com/trade-api/v2/portfolio/orders
- AuthAPI key in header KALSHI-ACCESS-KEY and API key in header KALSHI-ACCESS-SIGNATURE and API key in header KALSHI-ACCESS-TIMESTAMP
Query parameters
Filter by market ticker
Event tickers to filter by, as a comma-separated list (maximum 100). Events with no markets return no orders.
Filter items after this Unix timestamp
Filter items before this Unix timestamp
Filter by status. Possible values depend on the endpoint.
Number of results per page. Defaults to 100.
Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
Subaccount number (0 for primary, 1-63 for subaccounts). If omitted, defaults to all subaccounts.
Filter results by exchange shard. Omit to return results from all exchange shards.
Response
Orders retrieved successfully
Example response
{
"orders": [
{
"yes_price_dollars": "0.5600",
"no_price_dollars": "0.5600",
"fill_count_fp": "10.00",
"remaining_count_fp": "10.00",
"initial_count_fp": "10.00",
"taker_fill_cost_dollars": "0.5600",
"maker_fill_cost_dollars": "0.5600",
"taker_fees_dollars": "0.5600",
"maker_fees_dollars": "0.5600"
}
]
}Changes
- warning
for the
queryrequest parametersubaccount, the min was set to0.00
- warning
- info
added the new optional
queryrequest parameterexchange_index
- info