Skip to main content
BETAThe Prediction Market API is currently in beta and subject to breaking changes as we continue to improve the product. If you have any feedback, please reach out in Discord.
This doc covers how to discover prediction market events, search for specific topics, and retrieve detailed market information including pricing data. For conceptual background on how events, markets, and pricing work, see the Prediction Market Overview.

Prerequisite

To query events and markets data, you need:
API REFERENCEFor complete endpoint specifications, see the Prediction API Reference.

List Events

Use GET /events to retrieve a paginated list of prediction market events. You can filter by category, provider, and status. Example: List Trending Crypto Events

Search Events

Use GET /events/search to find events by keyword.

Get Event Details

Use GET /events/{eventId} to retrieve full details for a specific event, including all its markets.

Get Suggested Events

Use GET /events/suggested/{pubkey} to get personalized event recommendations based on a user’s trading history.

Get Market Details

Use GET /markets/{marketId} to retrieve detailed information about a specific market, including current pricing.
There can be multiple markets for the same event.
Example response:
Market fields are returned flat. There is no nested metadata object. resolveAt stays null while the market is open and becomes an ISO 8601 string once it resolves.

Understanding Prices

Prices are in JupUSD or USDC native token unitsAll prices in the API are denominated in native token units where 1,000,000 native token units for JupUSD or USDC = $1.00.For example:
  • 650000 = $0.65 (650000 / 1,000,000 = $0.65)
  • 380000 = $0.38 (380000 / 1,000,000 = $0.38)
  • 10000 = $0.01 (10000 / 1,000,000 = $0.01)
The market response includes four price fields:
Price as ProbabilityMarket prices reflect the implied probability of an outcome. A buyYesPriceUsd of 650000 ($0.65) suggests the market believes there’s roughly a 65% chance of YES being the outcome.

Market Status

Market Result


Get Orderbook Data

Use GET /orderbook/{marketId} to retrieve the current orderbook with bid/ask depth. The response has four arrays. Each entry is a [price, quantity] pair: Arrays are sorted by price ascending. Quantities are in base units and may be fractional. Example: Get orderbook data for a specific market
Example response:

Get Live Scores

For sports events, use GET /events/scores to fetch live scores for one or more events, or GET /events/{eventId}/score for a single event. Events without a score row are omitted from the list response.
Example response:

Check Trading Status

Use GET /trading-status to verify if the exchange is actively trading. This is useful for conditional logic before placing orders.

What’s Next

Now that you know how to discover events and markets, you’re ready to open positions.

Open Positions

Create buy orders for YES or NO contracts