VALUEODDSAPI / BUYER GUIDES
How do you handle suspended and removed odds?
Build a current-price view that reacts to status changes and tombstones, then measure how quickly your product removes unavailable quotes.
Published by ValueOddsAPI · 25 November 2026
In 30 seconds
- Model three states. The v2 contract defines
open,suspendedandremovedfor each price row. - Upsert by
price_id. REST and change delivery use the same identity; a repeated update must not create a second quote. - Do not display a suspended price as available. The last known number can remain in the row while the market is unavailable.
- Apply removals. A change-feed tombstone can carry
status: "removed"andprice: null; it must leave the current offer view.
What does a price status mean in the v2 API?
The published price-row contract has one status per bookmaker price: open, suspended or removed. It describes price_id as the stable key across REST, changes and history. Treat the status as part of the row, not as a label inferred from whether price is null.
For a suspended or removed row, the regular price-row schema can retain the last known decimal price. A change-feed tombstone for a row that leaves your plan’s visible scope is more specific: it has status: "removed", price: null and a hidden_reason. Handle both shapes without treating either as an available offer.
How should a client react to each state?
| State | Documented signal | Recommended client action |
|---|---|---|
| Open | status: "open" | Keep by price_id; additionally check selection identity and freshness before display. |
| Suspended | status: "suspended"; last known price may remain | Remove from available-price ranking and alerts; optionally show an unavailable badge. |
| Removed | status: "removed"; last price or null tombstone | Remove from current offers; retain an audit record only if your product needs one. |
| Entitlement tombstone | hidden_reason: "event_started" or "not_entitled" | Remove the quote from visible state and recheck /v2/me or phase access before interpreting the gap. |
States come from the price-row schema; tombstone reasons from the change-feed contract. The UI actions are implementation recommendations.
Why is filtering on price alone unsafe?
A suspended row may still contain its last quoted number. A client that checks only price > 0 can keep a non-available quote at the top of a best-price table. Conversely, a tombstone with price: null is not an empty API response; it is an instruction to clear a previously visible price. The changes reference says the feed includes status changes, removals and mapping changes as well as price changes.
Keep a current-state map keyed by price_id. For each incoming row, replace the prior state for that ID; expose it as actionable only when status === "open", the identity matches the requested market and the check is recent enough for your own policy. Read the separate freshness guide for the time gate. This is a recommended client rule, not a guarantee of bookmaker acceptance.
What changes when a plan loses access to a price?
The documented change feed sends a removed tombstone when a price leaves the visible scope: event_started if your plan does not include live odds, or not_entitled if a price becomes unmapped and your plan lacks unmapped access. The change response also exposes meta.entitlements_changed; when true, the docs require a fresh /v2/odds snapshot. Do not classify an entitlement change as a bookmaker outage.
Before a pilot, call GET /v2/me for the production key to inspect product, bookmaker, live-phase and licence scope. The entitlement guide explains why a 403 is not a coverage measurement. If your use case requires in-play rows, compare the key’s actual rights with the current plans rather than hardcoding a plan label.
How do you test the state machine before buying?
Choose a fixed event, market, line, outcome and bookmaker set. Capture a /v2/odds snapshot and follow pagination to the final next_cursor: null. Start the /v2/odds/changes feed with its own cursor and deliberately replay a captured change page in a local test. Your map should still contain one row per price_id; your available view should exclude a suspended or removed row.
Measure how long your view takes to remove an unavailable quote after your client receives the update, how many replayed messages create duplicates, and whether a fresh snapshot agrees with current state after a forced gap. Report the sample and the test conditions. These are buyer-run measurements, not published performance results. The delivery guide covers cursor expiry and snapshot recovery in depth.
Frequently asked questions
Can a suspended row still have a numeric price?
Yes. The price-row contract describes the last known price for suspended or removed rows. Status decides availability.
Does removed always mean price is null?
No. A removed row may carry a last known price. The documented entitlement tombstone is a specific removed row with price null.
What should happen to an alert when its price is suspended?
A client should stop treating that quote as available. Keep a separate audit record if needed, but do not send a fresh actionable alert from a suspended row.
Is a missing bookmaker row proof of no coverage?
No. Check entitlements, filters, phase and status before interpreting absence as missing bookmaker data.
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.
Validate status handling in a pilot
Use the v2 row schema and change-feed reference to create a small replay test. Confirm account scope in /v2/me and decide how your UI labels unavailable prices before launch.