Skip to main content
An event is a prediction question that you can bet on — for example, “Who will win the 2024 US Presidential Election?” or “Will Bitcoin exceed $100,000 by end of year?” Each event has one or more markets, which are the outcomes you can trade.
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

The event is active and accepting bets. You can place, modify, and cancel orders.
Trading has stopped — bet_end_date has passed — but the event has not yet resolved. No new orders are accepted.
The outcome has been determined. Winning wagers are paid out and losing wagers are settled. The event is read-only.
The event was cancelled and will not resolve normally.
Trading is temporarily paused on this event.
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:
For live updates, use the WebSocket gateway. best-prices-change pushes the best bid and ask. order-book-update pushes the top 5 levels of one market, with total_shares at each price.

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

Use GET /v2.0/events/ to list events. You can filter by:

Ordering results

Use the ordering parameter to sort events: Prefix with - for descending order.