The API uses the term
markets for what were previously called “Outcomes” in older versions of the API. Events were previously called “Questions.”Events
An event defines the question, the resolution criteria, and the timeframe. Key fields on an event object include:Event statuses
open
open
The event is active and accepting bets. You can place, modify, and cancel orders.
stopped
stopped
Trading has stopped —
bet_end_date has passed — but the event has not yet resolved. No new orders are accepted.resolved
resolved
The outcome has been determined. Winning wagers are paid out and losing wagers are settled. The event is read-only.
cancelled
cancelled
The event was cancelled and will not resolve normally.
paused
paused
Trading is temporarily paused on this event.
reversed
reversed
A previous resolution was reversed.
Markets
Each market represents one possible outcome within an event. Markets have their own prices, order books, and liquidity.Markets correlation
The relationship between markets in an event is defined by markets correlation:
The correlation type determines how prices are calculated and how bets impact market dynamics within an event.
Liquidity, depth, and the order book
These are three different measures of size. All three count shares, not currency.
The order book lists each price on its own.
GET /v2.0/markets/{id}/book/ returns:
Positions: long and short
When you trade a market, you take a position:- Long — you believe this outcome will happen. You profit if the market price rises or the outcome resolves as correct.
- Short — you believe this outcome will not happen. You profit if the market price falls or the outcome resolves as incorrect.
Fetching events
UseGET /v2.0/events/ to list events. You can filter by:
Ordering results
Use theordering parameter to sort events:
Prefix with
- for descending order.