Live odds. The same IDs, updated in play.
In-play prices use exactly the same events, market keys and price rows as pre-match. On top you get the price status, so you always know whether a price can be taken. Live odds start on Pro.
GET /v2/events?sport=football&status=live X-API-Key: YOUR_API_KEY GET /v2/odds?event=evt_7k2m4q9x&main_line=true
Step 1 · The structure
Five levels. The same keys everywhere.
Each level has an ID you can store and a readable name you can show.
-
Sport
sport spt_footballFootball -
Competition
competition.id cmp_8f3k2qPremier League · England -
Event
event_id evt_7k2m4q9xArsenal vs Chelsea · status live -
Market
market football:result.match.ft.1x21X2 (Full time) -
Price
price_id …:home:-:bk_pinnacleArsenal · Pinnacle · 1.42
In play, the event keeps its pre-match evt_ ID and every price keeps its price_id, so nothing has to be mapped twice.
Step 2 · See it as a feed
Competitions, events and markets, as the API sends them.
Pick a competition, then an event. Live prices can be suspended at one bookmaker while others stay open.
Competitions
Premier League · cmp_8f3k2q
NBA · cmp_n4b8a2
ATP Finals · cmp_t6f2x8
Premier League · England
Arsenal vs Chelsea
evt_7k2m4q9xstart_time 2026-11-21T15:00:00Zstatus livefootball:result.match.ft.1x2open| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Arsenal | home | 1.42 | 1.38 | 1.39 | 1.46 |
| Draw | draw | 4.70 | 4.61 | 4.51 | 4.82 |
| Chelsea | away | 9.20 | 8.83 | 8.92 | 9.44 |
football:goals.match.ft.ou · line "2.5"suspended| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Over 2.5 | over | 2.32 | 2.25 | 2.27 | 2.43 |
| Under 2.5 | under | 1.62 | 1.59 | 1.56 | 1.70 |
football:goals.match.ft.bothopen| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Yes | yes | 2.62 | 2.54 | 2.57 | 2.75 |
| No | no | 1.50 | 1.47 | 1.44 | 1.57 |
Show one price row for 1X2 (Full time)
{
"price_id": "evt_7k2m4q9x:football:result.match.ft.1x2:-:home:-:bk_pinnacle",
"selection_id": "evt_7k2m4q9x:football:result.match.ft.1x2:-:home:-",
"event_id": "evt_7k2m4q9x",
"bookmaker": "bk_pinnacle",
"market": "football:result.match.ft.1x2",
"line": null,
"outcome": "home",
"player_id": null,
"player": null,
"price": 1.42,
"status": "open",
"is_main_line": true,
"changed_at": "2026-11-21T15:51:08Z",
"checked_at": "2026-11-21T15:51:10Z",
"fair": {
"price": 1.46,
"probability": 0.687,
"method": "market_v1",
"sample": 9
},
"edge_pct": -2.7,
"mapping": {
"status": "mapped",
"confidence": 1.0
},
"book_ref": {
"event_id": "1601234567",
"market_name": "1X2",
"selection_name": "Arsenal",
"deeplink": null,
"deeplink_kind": null
}
}NBA · USA
Boston Celtics vs Miami Heat
evt_5n1b7d2kstart_time 2026-11-22T00:30:00Zstatus livebasketball:result.match.ft_ot.mlopen| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Boston Celtics | home | 1.23 | 1.19 | 1.21 | 1.28 |
| Miami Heat | away | 4.40 | 4.31 | 4.22 | 4.58 |
basketball:points.match.ft_ot.ah · line "-8.5"open| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Boston Celtics -8.5 | home | 1.92 | 1.86 | 1.88 | 1.99 |
| Miami Heat +8.5 | away | 1.94 | 1.90 | 1.86 | 2.01 |
basketball:points.match.ft_ot.ou · line "214.5"open| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Over 214.5 | over | 1.88 | 1.82 | 1.84 | 1.96 |
| Under 214.5 | under | 1.96 | 1.92 | 1.88 | 2.04 |
Show one price row for Winner (2-way) (Full time incl. overtime)
{
"price_id": "evt_5n1b7d2k:basketball:result.match.ft_ot.ml:-:home:-:bk_pinnacle",
"selection_id": "evt_5n1b7d2k:basketball:result.match.ft_ot.ml:-:home:-",
"event_id": "evt_5n1b7d2k",
"bookmaker": "bk_pinnacle",
"market": "basketball:result.match.ft_ot.ml",
"line": null,
"outcome": "home",
"player_id": null,
"player": null,
"price": 1.23,
"status": "open",
"is_main_line": true,
"changed_at": "2026-11-21T15:51:08Z",
"checked_at": "2026-11-21T15:51:10Z",
"fair": {
"price": 1.28,
"probability": 0.782,
"method": "market_v1",
"sample": 9
},
"edge_pct": -3.9,
"mapping": {
"status": "mapped",
"confidence": 1.0
},
"book_ref": {
"event_id": "1601234567",
"market_name": "Winner",
"selection_name": "Boston Celtics",
"deeplink": null,
"deeplink_kind": null
}
}ATP Finals · Italy
Jannik Sinner vs Alexander Zverev
evt_3c8r6n4wstart_time 2026-11-16T13:30:00Zstatus livetennis:result.match.ft.mlopen| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Jannik Sinner | home | 1.18 | 1.14 | 1.16 | 1.24 |
| Alexander Zverev | away | 4.90 | 4.80 | 4.70 | 5.15 |
tennis:games.match.ft.ou · line "21.5"open| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Over 21.5 | over | 1.85 | 1.79 | 1.81 | 1.93 |
| Under 21.5 | under | 1.98 | 1.94 | 1.90 | 2.07 |
Show one price row for Winner (2-way) (Full time)
{
"price_id": "evt_3c8r6n4w:tennis:result.match.ft.ml:-:home:-:bk_pinnacle",
"selection_id": "evt_3c8r6n4w:tennis:result.match.ft.ml:-:home:-",
"event_id": "evt_3c8r6n4w",
"bookmaker": "bk_pinnacle",
"market": "tennis:result.match.ft.ml",
"line": null,
"outcome": "home",
"player_id": null,
"player": null,
"price": 1.18,
"status": "open",
"is_main_line": true,
"changed_at": "2026-11-21T15:51:08Z",
"checked_at": "2026-11-21T15:51:10Z",
"fair": {
"price": 1.24,
"probability": 0.806,
"method": "market_v1",
"sample": 9
},
"edge_pct": -4.8,
"mapping": {
"status": "mapped",
"confidence": 1.0
},
"book_ref": {
"event_id": "1601234567",
"market_name": "Winner",
"selection_name": "Jannik Sinner",
"deeplink": null,
"deeplink_kind": null
}
}Example data, not live quotes. Fair is the market fair price for the outcome; every price row also carries its edge_pct.
Step 3 · Event and price, explained
The two objects you will store.
The event says who plays and when. Each price row is one bookmaker’s price on one outcome of one market. Every price row field is in the reference.
{
"data": {
"id": "evt_7k2m4q9x",
"sport": "spt_football",
"name": "Arsenal vs Chelsea",
"competition": {
"id": "cmp_8f3k2q",
"name": "Premier League",
"country": "England"
},
"home": {
"id": "tm_4hd82k",
"name": "Arsenal",
"country": null
},
"away": {
"id": "tm_9qa31m",
"name": "Chelsea",
"country": null
},
"start_time": "2026-11-21T15:00:00Z",
"status": "live"
}
}{
"data": [
{
"price_id": "evt_7k2m4q9x:football:result.match.ft.1x2:-:home:-:bk_pinnacle",
"selection_id": "evt_7k2m4q9x:football:result.match.ft.1x2:-:home:-",
"event_id": "evt_7k2m4q9x",
"bookmaker": "bk_pinnacle",
"market": "football:result.match.ft.1x2",
"line": null,
"outcome": "home",
"player_id": null,
"player": null,
"price": 1.42,
"status": "open",
"is_main_line": true,
"changed_at": "2026-11-21T15:51:08Z",
"checked_at": "2026-11-21T15:51:10Z",
"fair": {
"price": 1.46,
"probability": 0.687,
"method": "market_v1",
"sample": 9
},
"edge_pct": -2.7,
"mapping": {
"status": "mapped",
"confidence": 1.0
},
"book_ref": {
"event_id": "1601234567",
"market_name": "1X2",
"selection_name": "Arsenal",
"deeplink": null,
"deeplink_kind": null
}
}
],
"next_cursor": null
}| Field | What it is | Example |
|---|---|---|
id · name | The event (evt_) and a name you can show. | evt_7k2m4q9x · Arsenal vs Chelsea |
competition · home · away | Competition, home and away side, each with ID and name. | cmp_8f3k2q · Arsenal · Chelsea |
start_time | Start in UTC (ISO 8601). | 2026-11-21T15:00:00Z |
status | prematch, live or ended, derived from the start time and the sport’s typical duration. | live |
price_id | One price from one bookmaker. Upsert on it. | …:home:-:bk_pinnacle |
selection_id | The same outcome across bookmakers. | …:home:- |
market · line · outcome | Market key, line (string or null) and outcome. | football:result.match.ft.1x2 · null · home |
price | Decimal odds. | 1.42 |
status | open = can be taken. suspended = paused, do not take it. removed = gone, last known price. | open |
changed_at · checked_at | When the price last changed, and when we last saw it. | 2026-11-20T09:28:41Z |
fair · edge_pct | The market fair price for the outcome, and how far this price is above or below it (%). | 1.46 · -2.7 |
Real-time · Stream or poll
Get every change, cheaply.
Open the WebSocket stream and every change is pushed to you. Or take one snapshot with /v2/odds and poll /v2/odds/changes with the next_cursor you got: every write comes at least once, in write order, normally within a second.
GET /v2/odds/changes?since=2026-11-21T15:50:00Z&sport=football X-API-Key: YOUR_API_KEY # then, every call: GET /v2/odds/changes?since=<next_cursor>&sport=football
{
"data": [
{
"price_id": "evt_7k2m4q9x:football:goals.match.ft.ou:2.5:over:-:bk_pinnacle",
"price": 2.32,
"status": "suspended",
"changed_at": "2026-11-21T15:51:08Z",
"…": "…"
},
{
"price_id": "evt_7k2m4q9x:football:result.match.ft.1x2:-:home:-:bk_bet365",
"price": 1.38,
"status": "open",
"changed_at": "2026-11-21T15:51:09Z",
"…": "…"
}
],
"next_cursor": "c2_kq1…",
"meta": {
"has_more": false,
"until": "2026-11-21T15:51:09Z",
"entitlements_changed": false
}
}- Suspended? Hide or lock the price. It comes back with
status: "open"and a new price. - Removed? The bookmaker took it down. The row keeps the last known price; drop it from your book.
- Same keys. Live rows carry the same
event_id,marketandprice_idas before kick-off. - Live needs Pro. On Core, started events are hidden:
/v2/odds/changessends their prices once as tombstones (hidden_reason: "event_started"), and a direct lookup gives403 forbidden_live.
Step 5 · Integrate
Plug it into your feed in three steps.
Fetch
List events with
status=live, then fetch each event’s prices. Keep your API key on your server.Store by one key
Upsert every row on
price_idand you never get duplicates. Compare bookmakers onselection_id.Keep it fresh
Poll
/v2/odds/changeswith thenext_cursoryou got. New prices land in the right place by themselves.
curl -H "X-API-Key: $VOA_KEY" "https://api.valueoddsapi.com/v2/events?sport=football&status=live&limit=100" curl -H "X-API-Key: $VOA_KEY" "https://api.valueoddsapi.com/v2/odds?event=evt_7k2m4q9x&main_line=true&limit=5000" curl -H "X-API-Key: $VOA_KEY" "https://api.valueoddsapi.com/v2/odds/changes?since=<next_cursor>&sport=football"
import requests
BASE = "https://api.valueoddsapi.com/v2"
H = {"X-API-Key": API_KEY}
events = requests.get(f"{BASE}/events", params={"sport": "football", "status": "live"}, headers=H).json()["data"]
for ev in events:
rows = requests.get(f"{BASE}/odds", params={"event": ev["id"], "main_line": "true", "limit": 5000},
headers=H).json()["data"]
for row in rows:
save(row["price_id"], {
"event": ev["name"], "competition": ev["competition"]["name"], "start": ev["start_time"],
"market": row["market"], "line": row["line"], "outcome": row["outcome"],
"bookmaker": row["bookmaker"], "price": row["price"],
"open": row["status"] == "open",
})const BASE = "https://api.valueoddsapi.com/v2";
const headers = { "X-API-Key": API_KEY };
const { data: events } = await (await fetch(`${BASE}/events?sport=football&status=live`, { headers })).json();
for (const ev of events) {
const { data: rows } = await (await fetch(
`${BASE}/odds?event=${ev.id}&main_line=true&limit=5000`, { headers })).json();
for (const row of rows) {
save(row.price_id, {
event: ev.name, competition: ev.competition.name, start: ev.start_time,
market: row.market, line: row.line, outcome: row.outcome,
bookmaker: row.bookmaker, price: row.price,
open: row.status === "open",
});
}
}Ready to connect?
Choose your plan and bookmakers and get a key. Every parameter is in the live API reference.