Skip to content

VALUEODDSAPI / BUYER GUIDES

How do you paginate an odds API without missing prices?

Read every filtered page until next_cursor is null, and keep the query unchanged while you follow its signed cursor.

Published by ValueOddsAPI · 27 November 2026

Three filtered odds API pages linked by next_cursor values, ending at null
Follow each returned cursor with the same filters until null. Workflow illustration, not measured API data.

In 30 seconds

Why can a successful request still be incomplete?

The v2 pagination reference defines list responses as {"data": [...], "next_cursor": "..."}. A non-null cursor means another page is available. A product that reads only page one can silently omit events, bookmakers or prices while its request reports HTTP 200.

The default limit is 100, except markets at 1,000. The maximum is 1,000, or 5,000 for odds. These are page limits, not guarantees that a query fits on one page. Budget the full walk against the request limits for your actual key.

What must remain unchanged between pages?

List pagination fields and client action
FieldDocumented behaviorClient action
dataArray of rows on this page.Persist or process the page before advancing.
next_cursorToken for the next page; null ends the list.Pass it unchanged as cursor.
Original filtersCursor belongs to the same query.Keep event, market, bookmaker and other filters fixed.
limitPage size subject to endpoint caps.Log it; do not assume one response is exhaustive.
Signed cursorA modified token is a validation_error.Store opaque tokens; do not parse or edit them.

Contract details: Pagination and filters and v2 OpenAPI. Persistence advice is our recommendation.

How do you walk a filtered odds list?

Select the target event or market first. Request GET /v2/odds with those filters and a permitted limit. Consume data, then repeat with the same parameters plus the returned cursor. Stop only at next_cursor: null. The public quickstart contains executable Python and TypeScript loops.

Key each stored price by price_id, which the price-row schema defines. Keep a failed or interrupted walk marked incomplete. A complete list is still not necessarily an actionable list: apply the status gate before displaying prices.

Can the list cursor also track updates?

No. The signed list cursor continues one list query. The /v2/odds/changes cursor tracks server writes, including status and removal updates. Do not feed one into the other endpoint. Keyset paging keeps list pages consistent while data changes, as the reference describes, but does not replace a later reconciliation.

For a live product, complete the intended snapshot and then use the documented changes or stream workflow. The delivery guide covers recovery. If a page fails, retry or restart deliberately; never label a partial local store as a complete book.

What should a buyer measure?

For each target sport, competition and selection family, record filters, page count, total rows, unique price_id count, elapsed load time and failed pages. Compare with a second complete pass. Investigate missing IDs or duplicate rows before making coverage claims. Record sample date, account entitlements and denominator; this article gives no measured coverage or latency. Use the bandwidth and storage worksheet to measure transferred bytes and resync cost alongside completeness.

Check GET /v2/me and current plan information for access and capacity. A forbidden bookmaker or sport is an entitlement result, not a pagination defect.

Frequently asked questions

Does HTTP 200 mean the list is complete?

No. Read next_cursor; only null ends that list query.

May I alter a cursor to skip pages?

No. The token is signed and opaque. A modified cursor produces validation_error.

Can I change filters between pages?

Keep original filters fixed. Start a new list query when the scope changes.

Is a list cursor the same as a changes cursor?

No. One continues a list; the other tracks subsequent writes.

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 completeness pilot

Use the pagination contract with production-like filters, log every page and unique ID, then validate status and freshness before showing quotes.