History

Price history

Use this page to read every price change of one market, oldest first. It needs the history:read ability, which Business has.

1. Read the history of a market

/matches/{id}/odds/history returns every price change recorded for one market, oldest first. market is required and is a key from the market list. from and to narrow the window.

curl "https://odds-feed.on-forge.com/api/v2/matches/0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e71/odds/history?market=goals.asian" \
  -H "Authorization: Bearer YOUR_KEY"
Response
{
  "data": [
    {
      "at": "2026-11-27T07:40:20.000Z",
      "phase": "pre_match",
      "prices": [
        { "line": 2.25, "over": { "decimal": 1.9, "fractional": null }, "under": { "decimal": 1.95, "fractional": null } }
      ]
    },
    "…"
  ],
  "meta": {
    "generated_at": "2026-11-27T10:41:00.000Z",
    "match": "0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e71",
    "topic": "odds",
    "market": "goals.asian",
    "availability": { "status": "available" },
    "next_cursor": null,
    "has_more": false
  },
  "links": { "next": null, "self": "/api/v2/matches/0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e71/odds/history?market=goals.asian" }
}

prices has the same form as the market has in /odds. fractional is null on history, so work from decimal.

2. Read the first page

A page holds up to limit ticks (default 2000, maximum 2000). While meta.has_more is true, there is more to read.

curl "https://odds-feed.on-forge.com/api/v2/matches/0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e71/odds/history?market=goals.asian&limit=2" \
  -H "Authorization: Bearer YOUR_KEY"
Response
{
  "data": [{ "at": "…", "phase": "pre_match", "prices": ["…"] }, "…"],
  "meta": { "next_cursor": "eyJhdCI6IjIwMjYt...", "has_more": true, "…": "…" },
  "links": { "…": "…" }
}

3. Read the next page

Send meta.next_cursor as cursor with the same market.

curl "https://odds-feed.on-forge.com/api/v2/matches/0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e71/odds/history?market=goals.asian&limit=2&cursor=YOUR_CURSOR" \
  -H "Authorization: Bearer YOUR_KEY"
Response
{
  "data": [{ "at": "…", "phase": "pre_match", "prices": ["…"] }],
  "meta": { "next_cursor": null, "has_more": false, "…": "…" },
  "links": { "…": "…" }
}

Reference

Parameters on GET /matches/{id}/odds/history.

Parameter Values Notes
market A key from /markets Required.
from, to Date-time to must not be before from.
limit 1 to 2000 Default 2000.
cursor Value of meta.next_cursor See Paging with cursors.

History starts from when we began recording a match. A match with nothing recorded answers 200 with an empty data and the reason not_held.

Odds Yorkie

Prices are shown as bet365 offers them. OddsYorkie supplies data only and does not take bets. 18+ only. BeGambleAware.org