Getting started

Quickstart

Use this page to get a key, make a request and see where live updates come from. It needs a key and a way to send an HTTP header.

1. Get your key

Create an account, then open API keys in your dashboard and create a key. A key looks like 12|aBcD... and is shown once, so store it somewhere safe. Keep it out of client-side code and public repositories.

2. Make your first request

List the matches that are live now. limit caps how many come back, and the key goes in the Authorization header as a bearer token.

curl "https://odds-feed.on-forge.com/api/v2/matches?status=live&limit=1" \
  -H "Authorization: Bearer YOUR_KEY"
Response
{
  "data": [
    {
      "id": "0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e70",
      "kickoff_at": "2026-11-27T09:40:20.000Z",
      "status": "live",
      "competition": {
        "id": "0199c5a0-0000-7000-9000-000000000001",
        "name": "Premier League",
        "tier": "T1",
        "gender": "men",
        "age_group": "senior",
        "is_cup": false,
        "is_continental": false,
        "is_friendly": false
      },
      "home": { "id": "0199c5a0-0000-7000-8000-000000000001", "name": "Brentford" },
      "away": { "id": "0199c5a0-0000-7000-8000-000000000002", "name": "Everton" },
      "refs": [{ "source": "bet365", "type": "fixture", "id": "203186268" }],
      "bet_builder": { "status": "unavailable", "reason": "not_upcoming" }
    }
  ],
  "meta": {
    "generated_at": "2026-11-27T10:41:00.000Z",
    "next_cursor": null,
    "has_more": false
  },
  "links": { "next": null }
}

3. Read the response

Every response is JSON with data, meta and links. Times are UTC in ISO 8601 with milliseconds. The id of a match is what the other endpoints take, for example /api/v2/matches/{id}/odds.

4. Receive a live update

Polling works, but a WebSocket sends each change as it happens. Connect with any Pusher client and subscribe to a match. Connecting explains each part, and Plans and access says which plans include live updates.

import Pusher from 'pusher-js';

const pusher = new Pusher('75f6d3a4cc8f73610c0c351d9199cf5a', {
  cluster: 'mt1',
  wsHost: '127.0.0.1',
  wssPort: 443,
  forceTLS: true,
  enabledTransports: ['ws', 'wss'],
  channelAuthorization: {
    endpoint: 'https://odds-feed.on-forge.com/broadcasting/auth',
    headers: { Authorization: 'Bearer YOUR_KEY' },
  },
});

pusher
  .subscribe('private-match.0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e70.odds')
  .bind('update', (message) => console.log(message.type, message.revision));

Next

Odds Yorkie

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