> ## Documentation Index
> Fetch the complete documentation index at: https://oddspapi-v4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OddsPapi v4 vs v5: Which API Should You Use?

> The differences between the OddsPapi v4 self-serve REST API and the v5 enterprise API: delivery, authentication, hosts, limits and how to move from v4 to v5.

OddsPapi runs two APIs. They are fed by the same odds collection, but they are separate products with separate hosts, keys and docs. Most confusion comes from mixing the two, so here is the split in one place.

> [card] v4: self-serve
>
> REST API you can start with today. Free plan, plans you configure yourself, docs right here.

> [card] [v5: enterprise](https://docs.oddspapi.io)
>
> WebSocket streaming plus REST, for trading teams, sportsbooks and platforms. Access through our team.

## Side by side

| | v4 (these docs) | v5 |
| - | - | - |
| Made for | Individual developers, side projects, small teams | Trading firms, sportsbooks, data platforms |
| How you get access | Sign up and copy your key | Arranged with the OddsPapi team |
| Delivery | REST, you poll | WebSocket push, plus REST for snapshots and history |
| Host | `https://api.oddspapi.io/v4/...` | `https://v5.oddspapi.io/{language}/...` and `wss://v5.oddspapi.io/ws` |
| Authentication | `apiKey` query parameter | `X-API-Key` header (or `apiKey` query parameter) |
| Usage limits | Monthly request allowance, plus a minimum wait per endpoint | Per-second and per-minute rate limits |
| Docs | [oddspapi.io/docs](https://oddspapi-v4.mintlify.site/docs.md) | [docs.oddspapi.io](https://docs.oddspapi.io) |

## What v4 gives you

* Pre-match and live odds, player props, scores and settlements as JSON.
* Historical odds that never count against your quota.
* A free plan to build and test with, and paid plans where you choose bookmakers, sports and request volume.
* Docs in 10 languages and one simple rule for billing: one call is one request.

For odds comparison sites, models, backtests, alerts and personal tools, v4 is usually the right choice. You do not need v5 to build something good.

## What only v5 has

* **WebSocket streaming.** Every price change is pushed to you, with resume and replay after a disconnect. No polling interval sits between the bookmaker and your code.
* **More channels.** 13 WebSocket channels: besides odds, scores and fixtures also clocks, lineups, injuries, stats, match events, futures, futures odds and currencies.
* **More fields.** Stake limits on prices, order book depth for exchanges and prediction markets, and a send timestamp on every message so you can measure delivery yourself.
* **More endpoints.** Main lines, parlay and same-game-parlay pricing, closing line value, fixture mapping, seasons and venues.
* **Futures and prediction markets** with their own odds and settlement endpoints.
* **Much higher limits.** 10 requests per second on the odds endpoints and 200 per minute on the others, with no monthly quota. Responses carry `X-RateLimit` and `Retry-After` headers.
* **Regional delivery.** Infrastructure in Europe, the US and Asia, so you can run your servers close to the feed for lower latency.
* **Real-time Pinnacle**, without the 30 second delay of the self-serve plans.
* **Service level agreement.** Uptime targets and support response times are agreed per contract, and v5 has its own [status page](https://oddspapi-v5.instatus.com).

The full list is in the [v5 documentation](https://docs.oddspapi.io).

## Should I move to v5?

Stay on v4 if polling every few seconds or minutes is fine for what you build, and your request volume fits a v4 plan.

Talk to us about v5 if one of these is true:

* You need updates pushed in real time, typically for in-play trading or market making.
* You run a sportsbook or a platform on top of the data.
* You need the extra channels or endpoints listed above.
* Your polling volume has outgrown the v4 plans.

To ask for v5 access, use the [contact form](https://oddspapi.io/us/contact) and pick "V5/WebSocket Access", or write to [contact@55-tech.com](mailto:contact@55-tech.com).

## Moving your code from v4 to v5

v5 is not a drop-in replacement. Plan for these changes:

**1. New key**

Your v4 key does not work on v5. You receive a separate v5 key.

**2. New host and paths**

Requests go to `https://v5.oddspapi.io`. Paths start with a language code instead of `/v4`, for example `/en/bookmakers`.

**3. Header authentication**

Send the key as the `X-API-Key` header. The `apiKey` query parameter still works on v5.

**4. Different response shapes**

v5 responses and field names differ from v4. Rebuild your parsing from the v5 reference; don't assume a v4 field exists under the same name.

**5. Stream instead of poll**

Take a snapshot over REST, then keep it current over the WebSocket. The [v5 quickstart](https://docs.oddspapi.io/quickstart) shows the pattern.

### Where v4 endpoints live in v5

| v4 | Closest v5 equivalent |
| - | - |
| `/v4/sports`, `/v4/bookmakers`, `/v4/markets`, `/v4/tournaments`, `/v4/participants` | `/{language}/sports`, `/bookmakers`, `/markets`, `/tournaments`, `/participants` |
| `/v4/fixtures`, `/v4/fixture` | `/{language}/fixtures`, plus the `fixtures` channel |
| `/v4/odds`, `/v4/odds-by-tournaments` | `/{language}/fixtures/odds`, plus the `odds` channel |
| `/v4/historical-odds` | `/{language}/fixtures/odds/historical` |
| `/v4/settlements` | `/{language}/fixtures/settlement` |
| `/v4/scores` | the `scores` channel |
| `/v4/account` | no equivalent; access is managed with our team |

Parameters and limits differ per endpoint. Use the [v5 API reference](https://docs.oddspapi.io/api-reference/overview) as the source of truth.

## Common mix-ups

| Symptom | Cause |
| - | - |
| A v5 code sample returns `404` on `api.oddspapi.io` | You are calling a v5 path on the v4 host. Use the endpoints in these docs. |
| A v4 key is rejected on `v5.oddspapi.io` | v4 and v5 keys are separate. |
| You can't find a WebSocket URL in these docs | v4 has none. See [WebSocket](https://oddspapi-v4.mintlify.site/docs/websocket-api.md). |
| `websocket_access` is `0` in `/v4/account` | WebSocket access is not part of your account. Streaming is a v5 feature. |
| A field from the v5 docs is missing in your v4 response | v5 carries more fields. v4 returns what its own endpoint pages list. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.