---
title: "Pre-match Odds API Docs: Events, Markets and Price Rows"
description: "How pre-match odds arrive in API v2: sport, competition, event and market keys, one price row per bookmaker and outcome, a response explained field by field…"
url: https://valueoddsapi.com/docs/prematch/
---

Pre-match

# Pre-match odds, mapped and ready to plug in.

Every price arrives the same way: sport, competition, event, market, price row. Read this page once and you can map the whole feed to your site, app or sportsbook.

[Get an API key](https://valueoddsapi.com/signup/?source=docs-prematch)See the feed

GET /v2/odds?event=evt_7k2m4q9x&main_line=true 200 OK

```
GET /v2/odds?event=evt_7k2m4q9x&main_line=true
X-API-Key: YOUR_API_KEY
```

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_football` Football
- Competition `competition.id cmp_8f3k2q` Premier League · England
- Event `event_id evt_7k2m4q9x` Arsenal vs Chelsea · Sat 15:00 UTC
- Market `market football:result.match.ft.1x2` 1X2 (Full time)
- Price `price_id …:home:-:bk_pinnacle` Arsenal · Pinnacle · 2.10

IDs are assigned once and never change. The same event keeps the same ID when it goes live, and the same `selection_id` links one outcome across every bookmaker.

Step 2 · See it as a feed

## Competitions, events and markets, as the API sends them.

Pick a competition, then an event. Each column is one bookmaker; each cell is one price row.

Competitions

Premier League · `cmp_8f3k2q`

LaLiga · `cmp_2r7d1m`

NBA · `cmp_n4b8a2`

ATP Finals · `cmp_t6f2x8`

Premier League · England

### Arsenal vs Chelsea

id `evt_7k2m4q9x` start_time `2026-11-21T15:00:00Z` status `prematch`

1X2 (Full time) `football:result.match.ft.1x2`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Arsenal | `home` | 2.10 | 2.04 | 2.06 | 2.19 |
| Draw | `draw` | 3.45 | 3.38 | 3.31 | 3.60 |
| Chelsea | `away` | 3.60 | 3.46 | 3.49 | 3.76 |

Goals Over/Under (Full time) `football:goals.match.ft.ou` · line `"2.5"`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Over 2.5 | `over` | 1.88 | 1.82 | 1.84 | 1.95 |
| Under 2.5 | `under` | 1.98 | 1.94 | 1.90 | 2.05 |

Both teams to score (Full time) `football:goals.match.ft.both`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Yes | `yes` | 1.80 | 1.75 | 1.76 | 1.88 |
| No | `no` | 2.04 | 2.00 | 1.96 | 2.13 |

**Show one price row for 1X2 (Full time)**

GET /v2/odds?event=evt_7k2m4q9x&main_line=true 200 OK

```
{
  "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": 2.1,
  "status": "open",
  "is_main_line": true,
  "changed_at": "2026-11-20T09:28:41Z",
  "checked_at": "2026-11-20T09:30:02Z",
  "fair": {
    "price": 2.19,
    "probability": 0.456,
    "method": "market_v1",
    "sample": 9
  },
  "edge_pct": -4.1,
  "mapping": {
    "status": "mapped",
    "confidence": 1.0
  },
  "book_ref": {
    "event_id": "1601234567",
    "market_name": "1X2",
    "selection_name": "Arsenal",
    "deeplink": null,
    "deeplink_kind": null
  }
}
```

Premier League · England

### Liverpool vs Manchester City

id `evt_7k2m4r3a` start_time `2026-11-21T17:30:00Z` status `prematch`

1X2 (Full time) `football:result.match.ft.1x2`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Liverpool | `home` | 2.42 | 2.35 | 2.37 | 2.53 |
| Draw | `draw` | 3.60 | 3.53 | 3.46 | 3.76 |
| Manchester City | `away` | 2.82 | 2.71 | 2.74 | 2.95 |

Goals Over/Under (Full time) `football:goals.match.ft.ou` · line `"2.5"`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Over 2.5 | `over` | 1.64 | 1.59 | 1.61 | 1.70 |
| Under 2.5 | `under` | 2.33 | 2.28 | 2.24 | 2.42 |

Both teams to score (Full time) `football:goals.match.ft.both`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Yes | `yes` | 1.58 | 1.53 | 1.55 | 1.65 |
| No | `no` | 2.42 | 2.37 | 2.32 | 2.53 |

**Show one price row for 1X2 (Full time)**

GET /v2/odds?event=evt_7k2m4r3a&main_line=true 200 OK

```
{
  "price_id": "evt_7k2m4r3a:football:result.match.ft.1x2:-:home:-:bk_pinnacle",
  "selection_id": "evt_7k2m4r3a:football:result.match.ft.1x2:-:home:-",
  "event_id": "evt_7k2m4r3a",
  "bookmaker": "bk_pinnacle",
  "market": "football:result.match.ft.1x2",
  "line": null,
  "outcome": "home",
  "player_id": null,
  "player": null,
  "price": 2.42,
  "status": "open",
  "is_main_line": true,
  "changed_at": "2026-11-20T09:28:41Z",
  "checked_at": "2026-11-20T09:30:02Z",
  "fair": {
    "price": 2.53,
    "probability": 0.395,
    "method": "market_v1",
    "sample": 9
  },
  "edge_pct": -4.3,
  "mapping": {
    "status": "mapped",
    "confidence": 1.0
  },
  "book_ref": {
    "event_id": "1601234567",
    "market_name": "1X2",
    "selection_name": "Liverpool",
    "deeplink": null,
    "deeplink_kind": null
  }
}
```

LaLiga · Spain

### Real Madrid vs Sevilla

id `evt_9p4x1a6c` start_time `2026-11-22T20:00:00Z` status `prematch`

1X2 (Full time) `football:result.match.ft.1x2`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Real Madrid | `home` | 1.46 | 1.42 | 1.43 | 1.52 |
| Draw | `draw` | 4.70 | 4.61 | 4.51 | 4.88 |
| Sevilla | `away` | 7.10 | 6.82 | 6.89 | 7.37 |

Goals Over/Under (Full time) `football:goals.match.ft.ou` · line `"2.5"`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Over 2.5 | `over` | 1.68 | 1.63 | 1.65 | 1.75 |
| Under 2.5 | `under` | 2.24 | 2.20 | 2.15 | 2.33 |

Both teams to score (Full time) `football:goals.match.ft.both`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Yes | `yes` | 1.97 | 1.91 | 1.93 | 2.05 |
| No | `no` | 1.87 | 1.83 | 1.80 | 1.95 |

**Show one price row for 1X2 (Full time)**

GET /v2/odds?event=evt_9p4x1a6c&main_line=true 200 OK

```
{
  "price_id": "evt_9p4x1a6c:football:result.match.ft.1x2:-:home:-:bk_pinnacle",
  "selection_id": "evt_9p4x1a6c:football:result.match.ft.1x2:-:home:-",
  "event_id": "evt_9p4x1a6c",
  "bookmaker": "bk_pinnacle",
  "market": "football:result.match.ft.1x2",
  "line": null,
  "outcome": "home",
  "player_id": null,
  "player": null,
  "price": 1.46,
  "status": "open",
  "is_main_line": true,
  "changed_at": "2026-11-20T09:28:41Z",
  "checked_at": "2026-11-20T09:30:02Z",
  "fair": {
    "price": 1.52,
    "probability": 0.66,
    "method": "market_v1",
    "sample": 9
  },
  "edge_pct": -3.9,
  "mapping": {
    "status": "mapped",
    "confidence": 1.0
  },
  "book_ref": {
    "event_id": "1601234567",
    "market_name": "1X2",
    "selection_name": "Real Madrid",
    "deeplink": null,
    "deeplink_kind": null
  }
}
```

NBA · USA

### Boston Celtics vs Miami Heat

id `evt_5n1b7d2k` start_time `2026-11-22T00:30:00Z` status `prematch`

Winner (2-way) (Full time incl. overtime) `basketball:result.match.ft_ot.ml`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Boston Celtics | `home` | 1.41 | 1.37 | 1.38 | 1.46 |
| Miami Heat | `away` | 3.05 | 2.99 | 2.93 | 3.16 |

Points Handicap (2-way) (Full time incl. overtime) `basketball:points.match.ft_ot.ah` · line `"-7.5"`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Boston Celtics -7.5 | `home` | 1.93 | 1.87 | 1.89 | 2.00 |
| Miami Heat +7.5 | `away` | 1.93 | 1.89 | 1.85 | 2.00 |

Points Over/Under (Full time incl. overtime) `basketball:points.match.ft_ot.ou` · line `"221.5"`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Over 221.5 | `over` | 1.92 | 1.86 | 1.88 | 1.99 |
| Under 221.5 | `under` | 1.94 | 1.90 | 1.86 | 2.01 |

**Show one price row for Winner (2-way) (Full time incl. overtime)**

GET /v2/odds?event=evt_5n1b7d2k&main_line=true 200 OK

```
{
  "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.41,
  "status": "open",
  "is_main_line": true,
  "changed_at": "2026-11-20T09:28:41Z",
  "checked_at": "2026-11-20T09:30:02Z",
  "fair": {
    "price": 1.46,
    "probability": 0.684,
    "method": "market_v1",
    "sample": 9
  },
  "edge_pct": -3.4,
  "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

id `evt_3c8r6n4w` start_time `2026-11-16T13:30:00Z` status `prematch`

Winner (2-way) (Full time) `tennis:result.match.ft.ml`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Jannik Sinner | `home` | 1.30 | 1.26 | 1.27 | 1.34 |
| Alexander Zverev | `away` | 3.80 | 3.72 | 3.65 | 3.92 |

Games Over/Under (Full time) `tennis:games.match.ft.ou` · line `"22.5"`

| Outcome | outcome | Pinnacle | bet365 | Unibet | Fair |
|---|---|---|---|---|---|
| Over 22.5 | `over` | 1.90 | 1.84 | 1.86 | 1.97 |
| Under 22.5 | `under` | 1.95 | 1.91 | 1.87 | 2.03 |

**Show one price row for Winner (2-way) (Full time)**

GET /v2/odds?event=evt_3c8r6n4w&main_line=true 200 OK

```
{
  "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.3,
  "status": "open",
  "is_main_line": true,
  "changed_at": "2026-11-20T09:28:41Z",
  "checked_at": "2026-11-20T09:30:02Z",
  "fair": {
    "price": 1.34,
    "probability": 0.745,
    "method": "market_v1",
    "sample": 9
  },
  "edge_pct": -3.0,
  "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](https://valueoddsapi.com/docs/#price-row) is in the reference.

GET /v2/events/evt_7k2m4q9x 200 OK

```
{
  "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": "prematch"
   }
}
```

GET /v2/odds?event=evt_7k2m4q9x 200 OK

```
{
  "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": 2.1,
      "status": "open",
      "is_main_line": true,
      "changed_at": "2026-11-20T09:28:41Z",
      "checked_at": "2026-11-20T09:30:02Z",
      "fair": {
        "price": 2.19,
        "probability": 0.456,
        "method": "market_v1",
        "sample": 9
      },
      "edge_pct": -4.1,
      "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. | `prematch` |
| `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. | `2.10` |
| `status` | `open`, `suspended` or `removed`. | `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 (%). | `2.19 · -4.1` |

Step 4 · Keys reference

## Every key you will map.

Sports with prices in the API today, and some of the most used market keys. `GET /v2/markets` lists all of them; `GET /v2/competitions?sport=football` lists the competitions with their IDs.

| sport | slug | Name |
|---|---|---|
| `spt_football` | `football` | Football |
| `spt_tennis` | `tennis` | Tennis |
| `spt_basketball` | `basketball` | Basketball |
| `spt_ice_hockey` | `ice_hockey` | Ice hockey |
| `spt_darts` | `darts` | Darts |

| Field | Values |
|---|---|
| `event.status` | `prematch · live · ended` |
| `price.status` | `open · suspended · removed` |
| `mapping.status` | `mapped · unmapped · outcome_unparsed` |
| `line` | string, e.g. `"2.5"`, `"-7.5"` (home team’s view), or `null` |

| market | Label | outcomes | line kind |
|---|---|---|---|
| `football:result.match.ft.1x2` | 1X2 (Full time) | `home · draw · away` | `null` |
| `football:result.match.ft.dc` | Double chance (Full time) | `home_draw · home_away · draw_away` | `null` |
| `football:goals.match.ft.ou` | Goals Over/Under (Full time) | `over · under` | `total` |
| `football:goals.match.ft.ah` | Goals Handicap (2-way) (Full time) | `home · away` | `handicap_home` |
| `football:goals.match.ft.both` | Both teams to score (Full time) | `yes · no` | `null` |
| `football:corners.match.ft.ou` | Corners Over/Under (Full time) | `over · under` | `total` |
| `football:shots.player.ft.ou` | Player Shots Over/Under (Full time) | `over · under (+ player)` | `total` |
| `basketball:result.match.ft_ot.ml` | Winner (2-way) (Full time incl. overtime) | `home · away` | `null` |
| `basketball:points.match.ft_ot.ah` | Points Handicap (2-way) (Full time incl. overtime) | `home · away` | `handicap_home` |
| `tennis:games.match.s1.ou` | Games Over/Under (1st set) | `over · under` | `total` |
| `ice_hockey:result.match.ft.1x2` | 1X2 (Full time) | `home · draw · away` | `null` |
| `darts:result.match.ft.ml` | Winner (2-way) (Full time) | `home · away` | `null` |

Every market follows `{sport}:{stat}.{scope}.{period}.{type}`: see [market keys](https://valueoddsapi.com/docs/#markets).

Step 5 · Integrate

## Plug it into your feed in three steps.

-

### Fetch

List events with `status=prematch`, then fetch each event’s prices. Keep your API key on your server.

-

### Store by one key

Upsert every row on `price_id` and you never get duplicates. Compare bookmakers on `selection_id`.

-

### Keep it fresh

Poll `/v2/odds/changes` with the `next_cursor` you got. New prices land in the right place by themselves.

Shell three calls

```
curl -H "X-API-Key: $VOA_KEY" "https://api.valueoddsapi.com/v2/events?sport=football&status=prematch&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"
```

Python 3 + requests fetch → store

```
import requests

BASE = "https://api.valueoddsapi.com/v2"
H = {"X-API-Key": API_KEY}

events = requests.get(f"{BASE}/events", params={"sport": "football", "status": "prematch"}, 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"],
        })
```

Node 18+ (fetch) fetch → store

```
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=prematch`, { 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,
    });
  }
}
```

## Ready to connect?

Choose your plan and bookmakers and get a key. Every parameter is in the [live API reference](https://api.valueoddsapi.com/v2/docs).

[Get started](https://valueoddsapi.com/signup/?source=docs-prematch)[API reference](https://valueoddsapi.com/docs/)
