Skip to content

VALUEODDSAPI / BUYER GUIDES

How do you move an odds API from sandbox to production?

Keep test and live keys separate, verify the production key’s entitlements, then release a measured slice with a rollback path.

Published by ValueOddsAPI · 29 November 2026 · Updated 30 November 2026

Three-stage rollout from sandbox key to entitlement check to monitored live traffic
Verify permissions and observed data with the live key before gradually routing production traffic; the diagram is a rollout plan, not a service guarantee.

In 30 seconds

What does a sandbox test prove?

The v2 authentication reference says voa_test_ keys belong to a sandbox account and live keys use the voa_live_ prefix. Both are sent in the X-API-Key header, or as a Bearer token. A sandbox test can validate client parsing, request construction and error handling. It does not establish what a separate live subscription may access.

Never put a key in the query string or article examples. The published contract says URL query keys are rejected because URLs may be logged. Keep credentials in server-side configuration and use a separate secret for each environment; this is an integration recommendation.

What must be checked with the live key?

Live-key rollout checks
GateDocumented response or fieldDecision before traffic
EntitlementGET /v2/me: products, bookmakers, limits, statusCompare with the exact product features you intend to show.
Representative readGET /v2/events and GET /v2/oddsVerify target scope and that the client handles empty or nullable fields.
Continuitynext_cursor and change-feed cursorProve complete pagination and a recoverable update loop.
Access failure403 forbidden_product / forbidden_bookmakerShow a clear configuration fault, not an empty-data message.
CapacityX-RateLimit-* and Retry-AfterSize workers from observed usage and current entitlement.

Endpoints, error codes and headers come from the v2 contract; decisions are a suggested release gate.

How should production traffic be introduced?

Start with a small read-only slice and log request ID, endpoint, response code, cursor progress, and the age of each quote measured from checked_at. Define your own acceptable freshness and failure thresholds for the target product. A changed_at timestamp is the last price movement, not proof that the bookmaker quote was just observed; see the freshness guide.

Increase traffic only after the slice passes. If access changes, stop treating stale local rows as current and re-read /v2/me. If a change cursor is rejected or too old, rebuild from a complete snapshot as described in the pagination guide. These are client controls, not a claim that the provider guarantees your rollout result.

What should the pilot report include?

Report the key environment, plan and product scope, requested filters, observation window and denominator. Count authorized responses, forbidden responses, rate-limited requests, stale quotes by your threshold, and any lost or duplicated local rows after a restart. Keep business acceptance separate from API schema validity.

Check current pricing and product rights and the actual /v2/me response before deciding to launch. This article gives no invented coverage, latency or availability measurement.

Frequently asked questions

Can I use my sandbox key to confirm live bookmaker access?

No. Check the actual live key with GET /v2/me and a representative entitled request.

Can the key go in a URL?

No. The documented authentication methods use a header, and the v2 contract rejects query-string keys.

What if the live key returns forbidden_product?

Compare the requested endpoint with GET /v2/me and current plan scope. Treat the response as an access decision, not missing market 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.

Run a staged launch

Use the authentication reference and your own live-key entitlement response to approve a small slice, then measure it before increasing traffic. When an event itself starts, use the separate prematch-to-live handoff checklist to test phase and quote state.