Get Active Orders
Get Active Orders
POSThttps://api.gemini.com/v1/prediction-markets/orders/active
Returns a list of currently open (active) orders for the authenticated user.
POSTv1/prediction-markets/orders/active
curl --request POST \
--url https://api.gemini.com/v1/prediction-markets/orders/active \
--header 'X-GEMINI-APIKEY: <string>' \
--header 'X-GEMINI-PAYLOAD: <string>' \
--header 'X-GEMINI-SIGNATURE: <string>'Roles
The API key you use to access this endpoint must have the Trader role assigned. See Roles for more information.
Headers
X-GEMINI-APIKEYstring·required
Your API keyX-GEMINI-SIGNATUREstring·required
HEX-encoded HMAC-SHA384 of payload signed with API secretX-GEMINI-PAYLOADstring·required
Base64-encoded JSON payloadContent-Typestring
Default: text/plainContent-Lengthstring
Default: 0Cache-Controlstring
Default: no-cacheRequest Body
symbolstring
Filter by contract instrument symbolExample: GEMI-FEDJAN26-DN25limitinteger
Maximum number of results to return (default 50, max 100)offsetinteger
Number of results to skip for paginationResponses
Successful response
ordersarray
orders[].orderIdinteger (int64)
Example: 12345678orders[].hashOrderIdstring
orders[].clientOrderIdstring
orders[].globalOrderIdstring
orders[].statusstring·enum
Enum values: openfilledcancelledorders[].symbolstring
orders[].sidestring·enum
Enum values: buysellorders[].outcomestring·enum
The outcome being traded (Yes or No)Enum values: yesnoorders[].orderTypestring·enum
Order type. `stop-limit` orders require a `stopPrice` that triggers a limit order at `price` when the market reaches the trigger.Enum values: limitstop-limitorders[].quantitystring
Original order quantityorders[].filledQuantitystring
Amount filled so farorders[].remainingQuantitystring
Amount remaining to fillorders[].pricestring
Limit priceorders[].stopPricestring
Stop trigger price (populated for `stop-limit` orders)orders[].avgExecutionPricestring
Average price of fillsorders[].createdAtstring (date-time)
orders[].updatedAtstring (date-time)
orders[].cancelledAtstring (date-time)
orders[].contractMetadataobject
orders[].contractMetadata.contractIdstring
orders[].contractMetadata.contractNamestring
orders[].contractMetadata.contractTickerstring
orders[].contractMetadata.eventTickerstring
orders[].contractMetadata.eventNamestring
orders[].contractMetadata.categorystring
orders[].contractMetadata.contractStatusstring
orders[].contractMetadata.imageUrlstring
orders[].contractMetadata.eventImageUrlstring
Image URL for the parent eventorders[].contractMetadata.eventTypestring
Event type ("binary" or "categorical")orders[].contractMetadata.expiryDatestring (date-time)
orders[].contractMetadata.resolvedAtstring (date-time)
orders[].contractMetadata.resolutionSidestring
Winning outcome if resolved ("yes" or "no")orders[].contractMetadata.descriptionstring
orders[].contractMetadata.sortOrderinteger
Display sort orderingorders[].contractMetadata.parentEventTickerstring
Parent event ticker for sub-eventsorders[].contractMetadata.templatestring
Contract template type (e.g. "binary", "sports_game", "crypto_up_down")orders[].contractMetadata.colorstring
Display colororders[].contractMetadata.startTimestring (date-time)
Start datetime (ISO 8601)paginationobject
pagination.limitinteger
pagination.offsetinteger
pagination.countinteger
Number of items in current responseExample Responses
{
"orders": [
{
"orderId": 12345678901,
"status": "open",
"symbol": "GEMI-FEDJAN26-DN25",
"side": "buy",
"outcome": "yes",
"orderType": "limit",
"quantity": "100",
"filledQuantity": "25",
"remainingQuantity": "75",
"price": "0.65",
"avgExecutionPrice": "0.64",
"createdAt": "2025-12-15T10:30:00.000Z",
"updatedAt": "2025-12-15T11:00:00.000Z",
"cancelledAt": null,
"contractMetadata": {
"contractId": "contract_123",
"contractName": "FEDJAN26-DN25",
"contractTicker": "FEDJAN26-DN25",
"eventTicker": "FEDJAN26",
"eventName": "Will Fed Funds Rate drop at least 0.25% at January 2026 meeting?",
"category": "economics",
"contractStatus": "active",
"imageUrl": "https://example.com/fed.png",
"expiryDate": "2026-01-31T23:59:59.000Z",
"resolvedAt": null,
"description": "Resolves YES if Federal Reserve lowers the target rate by 0.25% or more at the January 2026 FOMC meeting"
}
},
{
"orderId": 12345678902,
"status": "open",
"symbol": "GEMI-FEDJAN26-DN25",
"side": "sell",
"outcome": "yes",
"orderType": "limit",
"quantity": "50",
"filledQuantity": "0",
"remainingQuantity": "50",
"price": "0.65",
"avgExecutionPrice": null,
"createdAt": "2025-12-15T12:00:00.000Z",
"updatedAt": "2025-12-15T12:00:00.000Z",
"cancelledAt": null,
"contractMetadata": {
"contractId": "contract_123",
"contractName": "FEDJAN26-DN25",
"contractTicker": "FEDJAN26-DN25",
"eventTicker": "FEDJAN26",
"eventName": "Will Fed Funds Rate drop at least 0.25% at January 2026 meeting?",
"category": "economics",
"contractStatus": "active",
"imageUrl": "https://example.com/fed.png",
"expiryDate": "2026-01-31T23:59:59.000Z",
"resolvedAt": null,
"description": "Resolves YES if Federal Reserve lowers the target rate by 0.25% or more at the January 2026 FOMC meeting"
}
}
],
"pagination": {
"limit": 50,
"offset": 0,
"count": 2
}
}Last modified on