---
title: "How to validate odds API market mapping"
description: "Test canonical market, line and outcome identity in an odds API pilot. Review unmapped rows, source labels and mapping accuracy by target segment."
url: https://valueoddsapi.com/guides/market-mapping-odds-api/
---

VALUEODDSAPI / BUYER GUIDES

# How do you validate market mapping in an odds API?

A correct price comparison starts with a correct selection. Review the bookmaker wording against canonical market, line and outcome before using a price in your product.

Published by ValueOddsAPI · 23 November 2026

A price is useful only when the event, market, line and outcome describe the same selection.

## In 30 seconds

- Validate identity before comparing prices. Match event, canonical market, line, outcome and bookmaker, then check the mapping status.
- Do not promote suggestions automatically. `suggested_market` is a clue on an unmapped row, not a confirmed mapping.
- Sample real target markets. Review raw bookmaker labels against the canonical fields and record mismatches by bookmaker and sport.
- Block ambiguous rows. A price can be fresh and open yet refer to the wrong selection.

## Why does market mapping matter?

Bookmakers can describe the same betting concept with different labels, and similar labels can hide different lines, periods or selections. An API must give your application a stable identity for each price before you compare it with another price or a fair estimate. ValueOddsAPI exposes a canonical `market` plus separate `line`, `outcome` and player fields in each [price row](https://valueoddsapi.com/docs/#price-row). The [market catalogue](https://valueoddsapi.com/docs/#markets) defines the market key; the line is not part of that key.

For numeric thresholds, the [main and alternate lines guide](https://valueoddsapi.com/guides/odds-api-main-lines/) explains why a main flag cannot replace the exact line and selection. A market string alone is therefore not a join key. Two rows may share a market but refer to different outcomes or numeric lines. A mapping error can create a false value signal even when both prices and timestamps are otherwise valid.

## Which fields should your client compare?

Identity fields to review in a market-mapping pilot
| Field | Question to ask | Failure to catch |
|---|---|---|
| `event_id` | Is this the intended fixture? | A price from another event. |
| `market` | Does the canonical definition match the bookmaker market? | A full-game price compared with a period price. |
| `line` and `outcome` | Are the threshold and selection identical? | Over and under, or different totals, merged. |
| `player_id` / `player` | Is the named participant the intended one? | A player prop attached to the wrong person. |
| `bookmaker` and `book_ref` | Can you trace the row to the source selection? | A reviewer cannot reproduce the mapping. |
| `mapping.status` | Is it `mapped`? | An unparsed or merely suggested selection treated as confirmed. |

These fields and the three mapping states are specified in the [v2 API contract](https://valueoddsapi.com/api-contract.json) and [price-row reference](https://valueoddsapi.com/docs/#price-row).

## How do you run a mapping acceptance test?

First define the sports, bookmakers and market families your product will use. Query `GET /v2/markets` for the canonical catalogue, then request a paginated `GET /v2/odds` sample for those segments. Save the response and observation time. For each sampled row, compare the canonical fields with the available `book_ref.market_name` and `book_ref.selection_name`; open the source link where available. A null source label or link is a review limitation, not proof that the mapping is correct. The [unmapped-price reference](https://valueoddsapi.com/docs/#unmapped) explains how to inspect unresolved rows.

Record each row as correct, incorrect or unverifiable. Review all `outcome_unparsed` and `unmapped` rows separately. The contract says an unmapped row may have `suggested_market`, but that suggestion is never applied automatically. Do not silently convert it to a confirmed selection in your own client. If your plan does not include unmapped rows, measure that visibility limit as part of the pilot.

## What should you measure before buying?

Report a reviewed-correct rate: correctly mapped rows divided by manually reviewed, verifiable rows. Also report the unverifiable share and the count of incorrect rows. Segment by bookmaker, sport and market family; an overall percentage can hide a weak segment your product depends on. This is a method for your pilot, not a claim about ValueOddsAPI accuracy. Compare the mapping sample with [coverage by your target market](https://valueoddsapi.com/guides/odds-api-coverage/) and [external event ID joins](https://valueoddsapi.com/guides/odds-api-external-event-ids/), because a correct mapping on an unneeded market has little commercial value.

Set an acceptance rule before sampling: which markets must be correct, what number of rows you will review, and what happens when a source label is missing. Recheck after a bookmaker changes labels. Keep test cases for suspended and removed rows too; mapping quality does not make a non-open price actionable. For the remaining value checks, use the [signal-validation guide](https://valueoddsapi.com/guides/check-value-betting-signals/).

## Frequently asked questions

**Is a high mapping confidence enough to trust a row? **

No. Confidence is metadata, not a substitute for a reviewed identity. Inspect the source labels and the exact line and outcome in your target segments.

**Can I compare two prices by market name alone? **

No. Match the event, period or scope, line and outcome, and any player identity as well as the market.

**What does outcome_unparsed mean? **

The mapping status is not mapped. Treat the row as unresolved and review it rather than letting it create a value signal.

**Where do I find the original bookmaker wording? **

Inspect book_ref on the price row. Its event, market and selection fields or deeplink may be null, so record when direct verification is unavailable.

ValueOddsAPI provides odds data, not betting advice. Betting involves risk of loss and is for adults (18+) only. If gambling stops being fun, contact your local support service, such as StopSpillet in Denmark.

## Build a reviewable pilot

Start with a small list of essential markets and use the [v2 reference](https://valueoddsapi.com/docs/) to collect the exact rows your product would consume. If you need access to unmapped rows or source-specific coverage, check your `/v2/me` entitlements and [current plans](https://valueoddsapi.com/pricing/) before agreeing on acceptance criteria.
