Get Order History
Get Order History
POSThttps://api.gemini.com/v1/prediction-markets/orders/history
Returns historical orders for the authenticated user. To retrieve fully filled orders for a completed UTC day, set status to filled and provide from and to as epoch-millisecond bounds; from is inclusive and to is exclusive. A time-bounded response contains at most limit results and ignores offset, so split high-volume periods into non-overlapping ranges. Use WebSocket order events for live trading state; use this REST endpoint for audit, recovery, and settlement review.
POST
curl --request POST \
--url https://api.gemini.com/v1/prediction-markets/orders/history \
--header 'Content-Type: application/json' \
--header 'X-GEMINI-APIKEY: <string>' \
--header 'X-GEMINI-PAYLOAD: <string>' \
--header 'X-GEMINI-SIGNATURE: <string>' \
--data '
{
"status": "filled",
"from": 1775001600000,
"to": 1775088000000,
"limit": 1000
}
'Roles
The API key you use to access this endpoint must have the Trader role assigned. See Roles for more information.
Headers
Request Body
Responses
Successful response
Last modified on