v3

OpenAPI 3.0.02026-07-31103181312.8 KB
orders

Get Orders

Restricts 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.

get/portfolio/orders

Query parameters

tickerstring

Filter by market ticker

event_tickerstring

Event tickers to filter by, as a comma-separated list (maximum 10).

min_tsinteger

Filter items after this Unix timestamp

max_tsinteger

Filter items before this Unix timestamp

statusstring

Filter by status. Possible values depend on the endpoint.

limitinteger

Number of results per page. Defaults to 100.

cursorstring

Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.

subaccountinteger

Subaccount number (0 for primary, 1-63 for subaccounts). If omitted, defaults to all subaccounts.

Response

Orders retrieved successfully

cursorstring required

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"
    }
  ]
}