18+ Only  |  Gambling can be addictive — please gamble responsibly  |  Gambling Help: 1800 858 858  |  GambleAware

API reference / Sports

GET /v1/sports/{sport_key}/odds/history

Historical odds snapshots

Pro/Pro Plus/Growth/Enterprise/Unlimited only. An unknown `sport_key`, or a date range that runs backwards, returns an error and costs nothing.

Requires X-API-Key 5 credits

Request

curl 'https://api.puntersedge.online/v1/sports/afl/odds/history' \
  -H 'X-API-Key: YOUR_KEY'

Parameters

NameIn TypeRequired Description
sport_key path string yes
from query string no ISO date/time; defaults to 7 days ago
to query string no ISO date/time; defaults to now
bookmakers query string no Comma-separated bookmaker keys
market query string no Market type, default h2h
offset query integer no

Responses

Status codes: 200, 401, 402, 422, 429, 500. Response bodies are JSON; the full schema is in /openapi.json.

Related endpoints

Try it against live data

The free tier needs no credit card, and the sandbox endpoints need no key at all.

Get a free API key Quickstart
This site contains wagering-related analysis and is intended for Australian users aged 18+. Gambling involves risk. Please gamble responsibly.