Overview
Prediction markets like Polymarket and Kalshi allow users to trade on the outcome of events using an order book model. Unlike traditional bookmakers with fixed odds, these platforms have buyers and sellers creating a dynamic market. Our API normalizes this data into the same format as traditional bookmakers, making it easy to compare odds across all sources.Our API covers sports events on Polymarket and Kalshi, normalizing their order books into the same format as traditional bookmakers.
How Prediction Markets Work
On platforms like Polymarket and Kalshi, prices are shown in cents (0-100), representing the implied probability. For example:- 60 cents = 60% implied probability
- 21 cents = 21% implied probability
Price to Odds Conversion
Prediction markets have a spread between buy (back) and sell (lay) prices. The table below shows back prices - what you pay to bet on an outcome:| Platform Price | Implied Probability | Decimal Odds |
|---|---|---|
| 60¢ | 60% | 1.67 |
| 21¢ | 21% | 4.76 |
| 23¢ | 23% | 4.35 |
Decimal Odds = 1 / (Price in cents / 100)
Visual Comparison
Here’s how the same match appears on Kalshi and Polymarket, and how our API returns the data.Kalshi

Polymarket

Our API returns top-of-book prices (best bid and ask) rather than the full order book depth. This gives you the actionable prices without the complexity of managing multiple price levels.
API Response
Fetch prediction market odds using the standard/v3/odds endpoint:
Example Response
Field Reference
Standard Fields
These fields work the same as traditional bookmakers:| Field | Description |
|---|---|
home | Decimal odds for home team to win |
draw | Decimal odds for a draw |
away | Decimal odds for away team to win |
updatedAt | ISO timestamp of last price update |
Prediction Market Fields
These additional fields are unique to prediction markets:| Field | Description |
|---|---|
layHome | Odds to bet against the home team winning |
layDraw | Odds to bet against a draw |
layAway | Odds to bet against the away team winning |
depthHome | Available liquidity (USD) to back home team |
depthDraw | Available liquidity (USD) to back a draw |
depthAway | Available liquidity (USD) to back away team |
depthLayHome | Available liquidity (USD) to lay home team |
depthLayDraw | Available liquidity (USD) to lay a draw |
depthLayAway | Available liquidity (USD) to lay away team |
URLs and IDs
| Field | Description |
|---|---|
urls.Kalshi | Direct link to the event on Kalshi |
urls.Polymarket | Direct link to the event on Polymarket |
bookmakerIds.Kalshi | Kalshi’s internal event identifier |
bookmakerIds.Polymarket | Polymarket’s internal event identifier |
Understanding Back vs Lay Odds
Prediction markets operate like betting exchanges where you can either:- Back (buy yes): Bet on an outcome to happen
- Lay (buy no): Bet against an outcome happening
Back Odds (home, draw, away)
Back Odds (home, draw, away)
The
home, draw, and away fields represent the best available price to back (bet for) each outcome. This is equivalent to standard bookmaker odds.Example: "away": "1.56" means you can back Arsenal to win at odds of 1.56 (stake 56 profit).Lay Odds (layHome, layDraw, layAway)
Lay Odds (layHome, layDraw, layAway)
The
layHome, layDraw, and layAway fields represent the best available price to lay (bet against) each outcome. When you lay, you’re acting as the bookmaker.Example: "layAway": "7.14" means you can bet against Arsenal winning. To win 614 in liability if they do win. The lay odds represent your potential liability, not your payout.Depth (Liquidity)
Depth (Liquidity)
The
depth fields show how much money (in USD) is available at the current best price.Why this matters: A price with $50 depth looks good on paper, but you can’t get meaningful size on it. Always check depth before assuming a price is actionable.Example: "depthAway": "2164" means there’s $2,164 available to back Arsenal at the current price. Bets larger than this will get worse prices as they eat into the order book.Available Markets
Kalshi Markets
Kalshi offers several market types for sports events:| Market | Description |
|---|---|
ML | Match result (Home/Draw/Away) |
Spread | Handicap betting |
Totals | Over/under total goals |
Both Teams To Score | Yes/No on both teams scoring |
Polymarket Markets
| Market | Description |
|---|---|
ML | Match result (Home/Draw/Away) |
Totals | Over/under total goals |
Both Teams To Score | Yes/No on both teams scoring |
Comparing with Traditional Bookmakers
You can mix prediction markets with traditional bookmakers in the same request:- Find the best odds across all platforms
- Identify arbitrage opportunities
- Compare exchange prices with fixed-odds bookmakers
Use Cases
Arbitrage Detection
Compare back/lay odds across prediction markets to find guaranteed profit opportunities.
Best Odds Search
Include prediction markets in your odds comparison to find the highest available prices.
Liquidity Analysis
Use depth fields to understand how much you can bet before moving the market.
Market Sentiment
Track how prediction market prices move compared to traditional bookmakers.