Live updates

Catching up with changes

Use this page to recover what you missed while you were disconnected. /changes lists what changed, without the data, so you refetch only the topics that moved.

1. Resume after a disconnect

Keep the id of the last message you handled. After you reconnect, ask /changes for everything sent after it. Each row says which topic of which match changed, without the data, so refetch those topics with /matches/{id}/{topic}.

curl "https://odds-feed.on-forge.com/api/v2/changes?cursor=0" \
  -H "Authorization: Bearer YOUR_KEY"
Response
{
  "data": [
    {
      "id": "1795775960589-0",
      "type": "patch",
      "match": "0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e70",
      "topic": "odds",
      "revision": 40,
      "changed_at": "2026-11-27T10:39:20.589Z"
    },
    "…"
  ],
  "meta": {
    "generated_at": "2026-11-27T10:41:00.000Z",
    "cursor": "1795776010589-0",
    "gap": false,
    "next_cursor": null,
    "has_more": false
  },
  "links": { "next": null, "self": "/api/v2/changes?cursor=0-0" }
}

meta.cursor is where to resume next time. When meta.gap is true your cursor is older than the changes we keep, so refetch every topic you follow. Use cursor=0 to start from the oldest change we keep.

2. Filter by topic and page on

topic keeps some topics only, as a comma separated list of odds, stats, tracker, players, betbuilder, table and match. limit is 1 to 2000 and defaults to 500. While meta.has_more is true, send meta.next_cursor as cursor.

curl "https://odds-feed.on-forge.com/api/v2/changes?cursor=0&topic=odds&limit=1" \
  -H "Authorization: Bearer YOUR_KEY"
Response
{
  "data": [
    {
      "id": "1795775960589-0",
      "type": "patch",
      "match": "0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e70",
      "topic": "odds",
      "revision": 40,
      "changed_at": "2026-11-27T10:39:20.589Z"
    }
  ],
  "meta": { "cursor": "1795775960589-0", "gap": false, "next_cursor": "1795775960589-0", "has_more": true, "…": "…" },
  "links": { "next": "/api/v2/changes?topic=odds&cursor=1795775960589-0", "self": "/api/v2/changes?topic=odds&cursor=0-0" }
}

3. Start from now

Send cursor with no value to start from the latest change. The list is empty and meta.cursor is the id to resume from.

curl "https://odds-feed.on-forge.com/api/v2/changes?cursor=" \
  -H "Authorization: Bearer YOUR_KEY"
Response
{
  "data": [],
  "meta": { "cursor": "1795776010589-0", "gap": false, "next_cursor": null, "has_more": false, "…": "…" },
  "links": { "…": "…" }
}

Reference

Parameters on GET /changes.

Parameter Notes
cursor A message id, or 0 for the oldest change kept. Empty starts from now.
topic Comma separated topics.
limit 1 to 2000. Default 500.
Limit Value
Changes kept for resume 6 hours.

GET /changes needs fixtures:read.

Odds Yorkie

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