JUMP TOCTRL-/Getting StartedWelcome!Making Your First RequestTest In The Demo EnvironmentAPI KeysRate Limits and TiersChangelog InstructionsKalshi GlossaryWebsockets APIMarket Data FeedKalshi Trade APIpublicGetApiVersiongetcommunicationsGetCommunicationsIDgetGetQuotesgetCreateQuotepostGetQuotegetDeleteQuotedeleteAcceptQuoteputConfirmQuoteputGetRFQsgetCreateRFQpostGetRFQgetDeleteRFQdeletemarketGetEventsgetGetEventgetGetMarketsgetGetTradesgetGetMarketgetGetMarketOrderbookgetGetSeriesgetGetMarketCandlesticksgetexchangeGetExchangeAnnouncementsgetGetExchangeSchedulegetGetExchangeStatusgetGetUserDataTimestampgetmilestoneGetMilestonesgetGetMilestonegetcollectionGetMultivariateEventCollectionsgetGetMultivariateEventCollectiongetCreateMarketInMultivariateEventCollectionpostGetMultivariateEventCollectionLookupHistorygetLookupTickersForMarketInMultivariateEventCollectionputportfolioGetBalancegetGetFillsgetGetOrdersgetCreateOrderpostBatchCreateOrderspostBatchCancelOrdersdeleteGetOrdergetCancelOrderdeleteAmendOrderpostDecreaseOrderpostGetPositionsgetGetPortfolioSettlementsgetGetPortfolioRestingOrderTotalValuegetstructured_targetGetStructuredTargetgetPowered by GetOrdersget https://api.elections.kalshi.com/trade-api/v2/portfolio/ordersEndpoint for getting all ordersQuery ParamstickerstringRestricts the response to orders in a single market.event_tickerstringRestricts the response to orders in a single event.min_tsint64Restricts the response to orders after a timestamp, formatted as a Unix Timestamp.max_tsint64Restricts the response to orders before a timestamp, formatted as a Unix Timestamp.statusstringRestricts the response to orders that have a certain status: resting, canceled, or executed.cursorstringThe Cursor represents a pointer to the next page of records in the pagination. So this optional parameter, when filled, should be filled with the cursor string returned in a previous request to this end-point. Filling this would basically tell the api to get the next page containing the number of records passed on the limit parameter. On the other side not filling it tells the api you want to get the first page for another query. The cursor does not store any filters, so if any filter parameters like ticker, max_ts or min_ts were passed in the original query they must be passed again.limitint321 to 1000Parameter to specify the number of results per page. Defaults to 100.Response 200Response bodyobjectcursorstringThe Cursor represents a pointer to the next page of records in the pagination. Use the value returned here in the cursor query parameter for this end-point to get the next page containing limit records. An empty value of this field indicates there is no next page.ordersarray of objectsrequiredorders*objectactionstringrequiredRepresenting trade action; currently supports buy and sell. buy OrderActionBuy sell OrderActionSell OrderActionUnknown buy sellamend_countint32The amendment delta throughout the lifecycle of the order (contract units).amend_taker_fill_countint32The size of filled taker orders (contract units) as a result of an amendmentclient_order_idstringrequiredclose_cancel_countint32The size of resting orders canceled because of market close (contract units).created_timedate-timeDate and time in the ISO 8601 spec. Example: 2022-11-30T15:00:00Zdecrease_countint32The reduction in the size of resting for orders (contract units).expiration_timedate-timeDate and time in the ISO 8601 spec. Example: 2022-11-30T15:00:00Zfcc_cancel_countint32The size of resting contracts canceled because of exchange operations (contract units).last_update_timedate-timeDate and time in the ISO 8601 spec. Example: 2022-11-30T15:00:00Zmaker_feesint64Fees paid on filled maker contracts, in cents.maker_fill_costint64The cost of filled maker orders in cents.maker_fill_countint32The size of filled maker orders (contract units).no_priceint64requiredSubmitting price of the No side of the trade, in cents. Exactly one of yes_price and no_price must be passed. If both prices are passed, return 400.order_idstringrequiredUnique identifier for orders.place_countint32the size of placed maker orders (contract units).queue_positionint32Position in the priority queue at a given price levelremaining_countint32The size of the remaining resting orders (contract units).sidestringrequiredRepresenting direction of the order; currently supports yes and no. yes SIDE_YES no SIDE_NO SIDE_UNSET yes nostatusstringrequiredThe current status of this order. resting OrderStatusResting canceled OrderStatusCanceled executed OrderStatusExecuted pending OrderStatusPending Will be used for order queue to represent orders that haven't been matched yet. resting canceled executed pendingtaker_feesint64Fees paid on filled taker contracts, in cents.taker_fill_costint64The cost of filled taker orders in cents.taker_fill_countint32The size of filled taker orders (contract units)taker_self_trade_cancel_countint32The reduction in the size of a taker order due to self-trade prevention cancellation (contract units). Will be zero for orders placed before the introduction of this field.tickerstringrequiredUnique identifier for markets.typestringrequiredRepresenting order type; currently supports "market" and "limit". OrderTypeUnknown market OrderTypeMarket limit OrderTypeLimit market limituser_idstringyes_priceint64requiredThe yes price for this order in cents.Updated about 2 months ago GetFillsCreateOrderDid this page help you?YesNo