---
title: "Prediction market API for Kalshi and Polymarket odds"
description: "Access Kalshi and Polymarket odds for economic releases, central bank decisions, metals and energy prices. One API provides history by REST or MCP."
url: "https://narwhalapi.com/api/predictions"
---

All APIs

# Prediction market API for Kalshi and Polymarket odds

One API for Kalshi and Polymarket odds on economic releases, central bank decisions, metals and energy prices, in one schema with history. REST endpoints and MCP tools use the same inputs.

[Get a free API key](https://narwhalapi.com/signup)
[Read the docs →](https://narwhalapi.com/docs/api/predictions.md)

## First request

### Get topic details

```
curl --request GET \
  --url "https://api.narwhalapi.com/v1/predictions/topics/usa-cpi-yoy" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

Example response

```
{
  "topic_id": "usa-cpi-yoy",
  "group": "us_prices",
  "title": "US CPI, 12-month change",
  "shape": "scalar",
  "unit": "percent",
  "venues": [
    "kalshi",
    "polymarket"
  ],
  "resolution_kind": "release",
  "events": [
    {
      "event_id": "usa-cpi-yoy-2026-09",
      "question": "US CPI, 12-month change, September 2026",
      "status": "trading",
      "closes_at": "2026-10-14T12:29:00Z",
      "resolves_at": "2026-10-14T12:30:00Z"
    }
  ]
}
```

## Endpoints

GET List prediction topics`/v1/predictions/topics`

Every topic Narwhal covers, with its shape, unit and venues. Use it to find a topic id.

#### Parameters

- `group` optional central_banks, us_prices, us_jobs, us_activity, global_activity, global_prices, metals, energy, rates or fx.

#### Each topic in the list

- `topic_id` field The topic id, such as usa-cpi-yoy.
- `group` field The group the topic belongs to, such as central_banks or metals.
- `title` field The topic's name.
- `shape` field How the odds are laid out, such as scalar or binary.
- `unit` field The unit of the value, such as usd_per_barrel. Left out when there is none.
- `venues` field The venues that quote it: kalshi, polymarket or both.
- `resolution_kind` field release, price_fix, price_window or occurrence.
- `calendar` field The calendar release family the topic follows, with country and family. Left out when it follows none.
- `next_event_id` field The first open event of the topic. Left out when there is none.

---

[Full reference →](https://narwhalapi.com/docs/api/predictions.md)

GET Get topic details`/v1/predictions/topics/{topic_id}`

One topic with its upcoming and trading events and the 5 most recent others.

#### Parameters

- `topic_id` required A topic id, such as usa-cpi-yoy.

#### Response fields

- `topic_id` field The topic id, such as usa-cpi-yoy.
- `group` field The group the topic belongs to, such as central_banks or metals.
- `title` field The topic's name.
- `shape` field How the odds are laid out, such as scalar or binary.
- `unit` field The unit of the value, such as usd_per_barrel. Left out when there is none.
- `venues` field The venues that quote it: kalshi, polymarket or both.
- `resolution_kind` field release, price_fix, price_window or occurrence.
- `calendar` field The calendar release family the topic follows, with country and family. Left out when it follows none.
- `events` field Each event has event_id, question, status, closes_at, resolves_at, release_id and result.

---

[Full reference →](https://narwhalapi.com/docs/api/predictions.md)

GET List dated events`/v1/predictions/events`

Dated events across topics, with their status and times. Filter by topic, shape, status or resolution time.

#### Parameters

- `topic` optional Only events of this topic id.
- `shape` optional Only events of this shape.
- `status` optional upcoming, trading, closed, settled or void.
- `release_id` optional Only events that resolve on this calendar release.
- `from, to` optional UTC times that filter resolves_at. from must be before to.
- `limit` optional 1 to 100. The default is 50.
- `cursor` optional Pass next_cursor from the previous page to read the next one.

#### Each event in the list

- `event_id` field The event id.
- `question` field The question the event asks.
- `status` field upcoming, trading, closed, settled or void.
- `closes_at, resolves_at` field Closing and resolution times, in UTC.
- `topic_id, shape` field The topic and the shape of its odds.
- `release_id` field The calendar release the event resolves on. Left out when there is none.
- `result` field On settled and void events, whether the result is final and when it settled.
- `next_cursor` field The cursor for the next page. Null on the last page.

---

[Full reference →](https://narwhalapi.com/docs/api/predictions.md)

GET Get event odds by shape`/v1/predictions/{shape}/{event_id}`

The latest odds for one event, with each venue's quote and the blended probability.

#### Parameters

- `shape` required scalar, extreme, timing or binary.
- `event_id` required An event id, such as usa-cpi-yoy-2026-09.
- `at` optional A past captured minute, in UTC.

#### Response fields

- `event_id` field The event id.
- `topic_id` field The topic the event belongs to.
- `question` field The question the event asks.
- `status` field upcoming, trading, closed, settled or void.
- `closes_at` field The closing time, in UTC.
- `resolves_at` field The resolution time, in UTC.
- `as_of` field When the venues were last checked.
- `stale` field True when the last venue check was more than 3 minutes ago.
- `resolution` field A text description of how the event resolves.
- `resolves_with` field The Narwhal endpoint that publishes the official value. Left out when there is none.
- `venues` field One record per venue market: link, rules, settlement source, weight, volume and open interest.
- `result` field Each venue's outcome, once the event is settled or void.
- `outcomes` scalar Each outcome has key, label, lower, upper, probability and quotes.
- `up, down` extreme The chance of reaching each high or low level in the window.
- `steps` timing The chance that it has happened by each date or meeting.
- `probability` binary The chance of yes, with the quotes behind it.
- `quotes` field Each venue's probability with the Kalshi tickers or Polymarket market ids behind it.

---

[Full reference →](https://narwhalapi.com/docs/api/predictions.md)

GET Get historical odds for an event`/v1/predictions/{shape}/{event_id}/history`

Odds over time for one event, as bars.

#### Parameters

- `shape` required scalar, extreme, timing or binary.
- `event_id` required An event id, such as usa-cpi-yoy-2026-09.
- `interval` optional 1m, 5m, 1h (the default) or 1d. 1m and 5m bars are kept for 30 days.
- `start` required The start, in UTC.
- `end` required The end, in UTC, after start. At most 2 days for 1m, 7 for 5m, 92 for 1h and 3,660 for 1d.
- `cursor` optional Pass next_cursor from the previous page, with the same start, end and interval.

#### Response fields

- `series` field One series per outcome, each with key, active_from and bars.
- `bars` field Each bar has timestamp, the start of the bar, and close. Live bars add open, high and low.
- `active_to` field Sent once the series has ended.
- `next_cursor` field The cursor for the next page. Null on the last page.

---

[Full reference →](https://narwhalapi.com/docs/api/predictions.md)

GET Get central bank policy paths`/v1/predictions/policy-paths/{authority}`

The odds of a cut, no change and a rise at each coming meeting, with the expected change in basis points.

#### Parameters

- `authority` required federal-reserve, european-central-bank, bank-of-england, bank-of-japan, bank-of-canada, reserve-bank-of-australia or bank-indonesia.

#### Response fields

- `as_of` field When the odds were taken.
- `meetings` field One row per coming meeting, with event_id and resolves_at.
- `p_cut, p_hold, p_hike` field The chance of a cut, no change and a rise.
- `expected_change_bps` field The probability weighted change at the meeting, in basis points.
- `cumulative_change_bps` field The expected changes added up across meetings.

---

[Full reference →](https://narwhalapi.com/docs/api/predictions.md)

WS Stream live odds over WebSocket`/v1/predictions/stream`

Live odds over a WebSocket. Send your key in the Authorization header, then subscribe. Each connection costs 1 call.

#### Parameters

- `action` required subscribe.
- `topics` array Up to 40 topic ids.
- `event_ids` array Up to 200 event ids.

#### Messages

- `snapshot` message The full event, with its shape.
- `update` message The event again when it changes, at most once a minute.
- `status` message An event's new status.
- `heartbeat` message Sent every 30 seconds.

---

[Full reference →](https://narwhalapi.com/docs/api/predictions.md)

## Use cases

### Fed rate odds

Read the chance of a cut, no change and a rise at each coming Fed meeting.

[Read the guide →](https://narwhalapi.com/how-to/read-fed-rate-odds.md)

### Polymarket against Kalshi

Compare both venues on one question and see the gap between them.

[Read the guide →](https://narwhalapi.com/how-to/compare-polymarket-and-kalshi-on-one-question.md)

### Odds as probabilities

Turn prices into implied probabilities and remove the overround.

[Read the guide →](https://narwhalapi.com/how-to/convert-prediction-market-odds-to-probability.md)

### Alerts when odds move

Run a script on a schedule and get an alert when the odds move past a threshold.

[Read the guide →](https://narwhalapi.com/how-to/get-an-alert-when-prediction-odds-move.md)

### Live updates

Open a WebSocket, subscribe and handle reconnects.

[Read the guide →](https://narwhalapi.com/how-to/stream-live-data.md)

### Rate decision odds in a product

Show the odds of a cut, hold or hike at the next central bank meetings.

[Read the use case →](https://narwhalapi.com/use-cases/central-bank-rate-odds.md)

### A macro odds dashboard

Put odds on CPI, payrolls, recession and rate decisions on one screen.

[Read the use case →](https://narwhalapi.com/use-cases/macro-event-odds-dashboard.md)

### Price gaps between venues

Compare one question on Kalshi and Polymarket.

[Read the use case →](https://narwhalapi.com/use-cases/prediction-market-arbitrage.md)

### Odds history for research

Pull odds history and settled results for a study.

[Read the use case →](https://narwhalapi.com/use-cases/prediction-market-research.md)

### Odds as a signal

Track the change in expected moves between two readings.

[Read the use case →](https://narwhalapi.com/use-cases/odds-as-trading-signal.md)

## Coverage

- [US core CPI, 1-month change](https://narwhalapi.com/predictions/us-core-cpi-odds.md)Economic data
- [US core CPI, 12-month change](https://narwhalapi.com/predictions/us-core-cpi-odds.md)Economic data
- [US CPI, 1-month change](https://narwhalapi.com/predictions/us-cpi-odds.md)Economic data
- [US CPI, 12-month change](https://narwhalapi.com/predictions/us-cpi-odds.md)Economic data
- [US real GDP growth, advance estimate](https://narwhalapi.com/predictions/us-gdp-odds.md)Economic data
- [US real GDP growth for the year](https://narwhalapi.com/predictions/us-gdp-odds.md)Economic data
- [US nonfarm payrolls change](https://narwhalapi.com/predictions/us-nonfarm-payrolls-odds.md)Economic data
- [US PPI, 12-month change](https://narwhalapi.com/predictions/us-ppi-odds.md)Economic data
- [US recession by end of 2026](https://narwhalapi.com/predictions/us-recession-odds.md)Economic data
- [US unemployment rate](https://narwhalapi.com/predictions/us-unemployment-odds.md)Economic data
- [Highest US unemployment rate in the year](https://narwhalapi.com/predictions/us-unemployment-odds.md)Economic data
- [Germany real GDP growth, first release](https://narwhalapi.com/predictions/germany-gdp-odds.md)Economic data

Show all 57 topics

- [Euro area GDP growth, preliminary flash estimate](https://narwhalapi.com/predictions/euro-area-gdp-odds.md)Economic data
- [UK consumer price inflation in December](https://narwhalapi.com/predictions/uk-cpi-odds.md)Economic data
- [UK real GDP growth, first quarterly estimate](https://narwhalapi.com/predictions/uk-gdp-odds.md)Economic data
- [Mexico real GDP growth, timely estimate](https://narwhalapi.com/predictions/mexico-gdp-odds.md)Economic data
- [Reserve Bank of Australia rate decision](https://narwhalapi.com/predictions/rba-rate-odds.md)Central bank decisions
- [Central Bank of Brazil rate decision](https://narwhalapi.com/predictions/brazil-rate-odds.md)Central bank decisions
- [Bank of Canada rate decision](https://narwhalapi.com/predictions/boc-rate-odds.md)Central bank decisions
- [Bank of Canada rate hike in 2026](https://narwhalapi.com/predictions/boc-rate-odds.md)Central bank decisions
- [European Central Bank rate decision](https://narwhalapi.com/predictions/ecb-rate-odds.md)Central bank decisions
- [European Central Bank rate cut in 2026](https://narwhalapi.com/predictions/ecb-rate-odds.md)Central bank decisions
- [Bank of England rate decision](https://narwhalapi.com/predictions/boe-rate-odds.md)Central bank decisions
- [Bank of England rate hike in 2026](https://narwhalapi.com/predictions/boe-rate-odds.md)Central bank decisions
- [Bank Indonesia rate decision](https://narwhalapi.com/predictions/bank-indonesia-rate-odds.md)Central bank decisions
- [Bank of Japan rate decision](https://narwhalapi.com/predictions/boj-rate-odds.md)Central bank decisions
- [Bank of Mexico rate decision](https://narwhalapi.com/predictions/banxico-rate-odds.md)Central bank decisions
- [Reserve Bank of New Zealand rate decision](https://narwhalapi.com/predictions/rbnz-rate-odds.md)Central bank decisions
- [Bank of Russia rate decision](https://narwhalapi.com/predictions/bank-of-russia-rate-odds.md)Central bank decisions
- [Federal Reserve rate decision](https://narwhalapi.com/predictions/fed-rate-odds.md)Central bank decisions
- [Number of Federal Reserve rate cuts in the year](https://narwhalapi.com/predictions/fed-rate-odds.md)Central bank decisions
- [Federal Reserve emergency rate cut before 2027](https://narwhalapi.com/predictions/fed-rate-odds.md)Central bank decisions
- [Another Federal Reserve rate hike in 2026](https://narwhalapi.com/predictions/fed-rate-odds.md)Central bank decisions
- [Number of Federal Reserve rate hikes in the year](https://narwhalapi.com/predictions/fed-rate-odds.md)Central bank decisions
- [Next Federal Reserve rate cut](https://narwhalapi.com/predictions/fed-rate-odds.md)Central bank decisions
- [Federal Reserve rate at the end of the year](https://narwhalapi.com/predictions/fed-rate-odds.md)Central bank decisions
- [Federal Reserve rate levels reached before the year ends](https://narwhalapi.com/predictions/fed-rate-odds.md)Central bank decisions
- [Copper price at a fixed time](https://narwhalapi.com/predictions/copper-price-odds.md)Metals
- [Gold futures high and low by year end](https://narwhalapi.com/predictions/gold-price-odds.md)Metals
- [Silver monthly high and low](https://narwhalapi.com/predictions/silver-price-odds.md)Metals
- [Silver price at a fixed time](https://narwhalapi.com/predictions/silver-price-odds.md)Metals
- [Silver up or down on the day](https://narwhalapi.com/predictions/silver-price-odds.md)Metals
- [Silver weekly high and low](https://narwhalapi.com/predictions/silver-price-odds.md)Metals
- [Gold monthly high and low](https://narwhalapi.com/predictions/gold-price-odds.md)Metals
- [Gold price at a fixed time](https://narwhalapi.com/predictions/gold-price-odds.md)Metals
- [Gold up or down on the day](https://narwhalapi.com/predictions/gold-price-odds.md)Metals
- [Gold weekly high and low](https://narwhalapi.com/predictions/gold-price-odds.md)Metals
- [Brent crude oil price at a fixed time](https://narwhalapi.com/predictions/brent-oil-price-odds.md)Energy
- [Crude oil all-time high by a date](https://narwhalapi.com/predictions/wti-oil-price-odds.md)Energy
- [Natural gas price at a fixed time](https://narwhalapi.com/predictions/natural-gas-price-odds.md)Energy
- [Natural gas up or down on the day](https://narwhalapi.com/predictions/natural-gas-price-odds.md)Energy
- [Natural gas weekly high and low](https://narwhalapi.com/predictions/natural-gas-price-odds.md)Energy
- [WTI crude oil daily close](https://narwhalapi.com/predictions/wti-oil-price-odds.md)Energy
- [WTI crude oil monthly high and low](https://narwhalapi.com/predictions/wti-oil-price-odds.md)Energy
- [WTI crude oil price at a fixed time](https://narwhalapi.com/predictions/wti-oil-price-odds.md)Energy
- [WTI crude oil up or down on the day](https://narwhalapi.com/predictions/wti-oil-price-odds.md)Energy
- [WTI crude oil weekly high and low](https://narwhalapi.com/predictions/wti-oil-price-odds.md)Energy

## Sources

- Kalshi[Kalshi market data guide](https://docs.kalshi.com/getting_started/quick_start_market_data)
- Polymarket[Polymarket API overview](https://docs.polymarket.com/getting-started/api)

## Related APIs

### Economic data API

Official indicators for prices, labour, output, trade, and rates.

[Explore the API →](https://narwhalapi.com/api/economics.md)

### Economic calendar API

Release schedules, status, and publication versions.

[Explore the API →](https://narwhalapi.com/api/economic-calendar.md)

### Commodities API

Prices for spot metals and physical commodities, with native units and series definitions.

[Explore the API →](https://narwhalapi.com/api/commodities.md)

### Kalshi odds API

Kalshi odds through Narwhal, with each outcome's Kalshi tickers.

[Explore the page →](https://narwhalapi.com/api/predictions/kalshi.md)

### Polymarket odds API

Polymarket odds through Narwhal, with each outcome's Polymarket markets.

[Explore the page →](https://narwhalapi.com/api/predictions/polymarket.md)

## FAQ

Are odds delayed?

No. Every account gets live odds and access to the WebSocket stream, and each stream connection costs 1 call.

What does an event resolve with?

Each event specifies its official resolution source. Economic events also link to the Narwhal economics endpoint that publishes the actual value.

What history is available?

Each event has 1-minute, 5-minute, hourly and daily odds history through its history endpoint and the equivalent MCP tool. 1-minute and 5-minute history is limited to the last 30 days.

Which topics are covered?

US CPI and core CPI, payrolls, unemployment, GDP and recession, plus central bank decisions, metals and energy.

What does an event include?

A question, close and resolve times, an official resolution source, and a status: upcoming, trading, closed, settled or void.

Which event shapes are there?

Scalar distributions, binary odds, extreme highs and lows, and timing markets, plus central bank policy paths.

What do the topics cover?

Coverage includes seven central banks; gold, silver and copper price levels and weekly or monthly highs and lows; and WTI, Brent and natural gas. Odds are market prices, not guarantees of outcomes.

## Start with a free key

Free $10 credits every month, no card.Free $10 credits a month, no card.

[Get a free API key](https://narwhalapi.com/signup)
