---
title: "Bookmaker source fields in an odds API"
description: "Audit bookmaker event IDs, source market labels and optional deeplinks alongside normalized v2 price IDs before integrating."
url: https://valueoddsapi.com/guides/odds-api-bookmaker-provenance/
---

VALUEODDSAPI / BUYER GUIDES

# How do you audit bookmaker provenance in an odds API?

Keep the normalized price identity and bookmaker source reference together, then validate labels and optional link destinations on your target markets.

Published by ValueOddsAPI · 28 November 2026

Keep the assigned price identity separate from the bookmaker’s source reference. Fields in the diagram come from the v2 schema; no live quote is shown.

## In 30 seconds

- Keep both identities. `event_id` is the assigned registry key; `book_ref.event_id` is the source bookmaker’s event ID where available.
- Preserve source wording. `book_ref.market_name` and `selection_name` help audit a mapped quote.
- Treat links as optional. `deeplink` can be null and `deeplink_kind` can describe different destination levels.
- Test before launch. Review source labels and link destinations on the exact markets your product will display.

## What does bookmaker provenance mean for a quote?

The [v2 price-row reference](https://valueoddsapi.com/docs/#price-row) defines a normalized `price_id`, assigned `event_id`, `bookmaker`, market, line and outcome. It also includes `book_ref`: the bookmaker’s own event ID and original market and selection names, plus a deeplink where one exists. These are different jobs. The normalized identifiers support stable joins; the source reference helps a human inspect where a displayed offer came from.

Do not rebuild a `price_id` from a source name or treat a bookmaker event ID as the assigned event ID. The [external-ID guide](https://valueoddsapi.com/guides/odds-api-external-event-ids/) explains cross-provider joins; this guide focuses on auditability of the price row shown to a user.

## Which fields belong in an audit record?

Price and source-reference fields
| Field | Documented meaning | Buyer check |
|---|---|---|
| `price_id` / `selection_id` | Price identity and cross-bookmaker selection identity. | Preserve both without parsing source labels into IDs. |
| `event_id` / `bookmaker` | Assigned event and bookmaker IDs. | Resolve the displayed match and brand from the registry. |
| `book_ref.event_id` | Bookmaker-side event ID, nullable. | Store separately from the assigned event ID. |
| `book_ref.market_name` / `selection_name` | Bookmaker wording, nullable. | Review against normalized market, line and outcome. |
| `book_ref.deeplink` / `deeplink_kind` | Optional link and destination kind. | Validate whether it reaches the event, league or home page. |
| `checked_at` / `status` | Last observation time and availability state. | Do not present stale or suspended quotes as open offers. |

Field definitions: [price-row reference](https://valueoddsapi.com/docs/#price-row) and [v2 OpenAPI](https://valueoddsapi.com/api-contract.json). Suggested checks are a buyer-run audit, not measured product performance.

## Why is a deeplink not automatically a betslip link?

The [BookRef schema](https://valueoddsapi.com/api-contract.json) permits `deeplink` and `deeplink_kind` to be null. When present, the documented kind can be `event`, `league` or `home`. A league or home destination plainly does not identify a precise selection. Even an event link should be tested in the buyer’s target country and account context before a product promises a one-click betslip.

Design a graceful fallback: keep the offer readable without a link, label the destination honestly, and never invent a URL from team names. The exact rights to display or redistribute bookmaker content depend on your agreement and the account-specific `GET /v2/me` response, not on the mere presence of a deeplink. Consult [current plan details](https://valueoddsapi.com/pricing/).

## How do you validate source wording before buying?

Take a dated sample of the sports, bookmakers and market types your product needs. For each open mapped row, compare `market`, `line`, `outcome` and any player identity with `book_ref.market_name` and `selection_name`. Escalate ambiguous period, handicap or player labels for manual review. The [market-mapping pilot](https://valueoddsapi.com/guides/market-mapping-odds-api/) gives the matching checklist.

Record how many sampled rows have a source event ID, source labels and a usable link, and how many links open the expected level. Report the denominator, sample dates and scope. Keep missing source fields separate from wrong mapping and forbidden access. The [price-status guide](https://valueoddsapi.com/guides/odds-api-price-status/) explains why the audit should not count a removed price as an available offer. This article publishes no coverage percentage or bookmaker-specific result.

## Frequently asked questions

**Is book_ref.event_id the same as event_id? **

No. The first is a source bookmaker ID where available; the second is the assigned v2 event ID.

**Can a missing deeplink be constructed from team names? **

Do not invent one. The schema permits null; keep the quote readable and test a documented destination when present.

**Does deeplink_kind=event guarantee a prefilled betting selection? **

No. It identifies a destination level, not a guaranteed betslip. Verify the actual behavior in your pilot.

**Can original market names replace normalized selection_id? **

No. Use normalized identifiers for joins and retain source wording for audit and human review.

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.

## Run a source-reference pilot

Use the [v2 row reference](https://valueoddsapi.com/docs/#price-row) and your actual target sample. Review market wording and optional link destinations, then report the counts and failures before choosing an integration scope.
