# bet365 odds feed

> Independent. Not affiliated with, endorsed by or sponsored by bet365.

Canonical: https://thebet365api.com/bet365-odds-feed


A bet365 odds feed from thebet365api.com delivers bet365 prices as JSON over REST and as a WebSocket stream of price changes, each price stamped with the UTC time it was captured. It is unofficial: bet365 publishes no feed of its own, and our prices are republished from public odds aggregators.

**Free plan: 100 requests a month, no card.** Sign up: https://thebet365api.com/sign-up?ref=ai-md. No key yet? The keyless preview:

```bash
curl -s "https://thebet365api.com/api/mcp" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"preview_bet365_odds","arguments":{"league":"nba"}}}'
```

Updated 2026-11-22.

## Connect to the stream

```javascript
const ws = new WebSocket("wss://stream.thebet365api.com/v1/stream?league=nba,epl");
ws.onopen = () => ws.send(JSON.stringify({ op: "auth", key: process.env.THEBET365API_KEY }));
ws.onmessage = (e) => {
  const m = JSON.parse(e.data);
  if (m.type === "price.changed")
    console.log(m.league, m.home, m.market, m.team ?? m.player ?? m.side, m.previous?.price.decimal, "->", m.price.decimal, m.observed_at);
};
ws.onclose = () => { /* reconnect after 1-30 s with ?after=<last m.id> */ };
```

Each change arrives as one message. This one was received from production:

```json
{"type":"price.changed","id":"5190","event_id":"an-290162","league":"ncaaf","sport":"football","region":"US",
 "home":"Baylor Bears","away":"Texas Tech Red Raiders","starts_at":"2026-11-21T20:30:00.000Z","event_status":"scheduled",
 "selection_id":"sel_a7e4d41b1dfea7b1f863","market":"moneyline","period":"event","side":"home","team":"Baylor Bears",
 "player":null,"is_live":false,"line":null,"price":{"american":165,"decimal":2.65,"fractional":null},"published_format":"american",
 "previous":{"line":null,"price":{"american":163,"decimal":2.63,"fractional":null},"observed_at":"2026-11-19T23:57:54.984Z"},
 "observed_at":"2026-11-20T03:55:41.437Z"}
```

## REST pull or WebSocket push

|  | REST | WebSocket |
| --- | --- | --- |
| How | GET /api/v1/odds, /api/v1/events, /api/v1/history | wss://stream.thebet365api.com/v1/stream |
| You get | The current price of every selection you ask for | Each change as it is stored, with the previous price |
| Request cost | 1 per call | 1 when the connection opens, 1 per further 5 minutes connected |
| Best for | Scheduled jobs, sheets, one-off lookups | Line-move alerts, closing-line capture, models that run all day |

WebSocket stream at wss://stream.thebet365api.com/v1/stream: every bet365 price and line change pushed as the collector stores it, with the previous price and a resumable id. Same key, every plan including Free, no delay; 1 request per connection plus 1 per 5 minutes connected.

## Formats

Every price carries American, decimal and fractional values. bet365 (US) lines are published in American odds; bet365 soccer prices in fractional. published_format says which one was original; the other two are exact conversions.

## Freshness

Every price carries observed_at, the UTC time our collector read it. bet365 publishes no update time through our sources, so we never call the data real time; the status page shows the age of the latest capture.

## Coverage

bet365 US main lines: moneyline, point spread and total, plus team totals on some games, for the NFL, NBA, NHL, college football, college basketball and MLB while each league is in season. Prices are American odds with a decimal conversion. bet365 soccer prices for the European competitions where our source carries bet365: match result (1X2), double chance, goal line and first, anytime and last goalscorer, in the fractional odds as published plus an exact decimal conversion.

Live list with each league's latest capture: https://thebet365api.com/coverage.

## FAQ

### Does this feed come from bet365 itself?

No. We do not read bet365 directly. bet365 prices reach us through public odds aggregators that republish them, and a republished price can lag or differ from what bet365 shows at that moment.

### Is the feed on the free plan?

Yes, REST and WebSocket. Free plan: 100 requests a month, no card.

### Does the feed carry in-play prices?

Only the in-play prices the source republishes, marked is_live: true, and coverage is partial. It is not an in-play trading feed.

### Is this affiliated with bet365?

No. Independent. Not affiliated with, endorsed by or sponsored by bet365. thebet365api.com is an unofficial API run by Stunning Couches LLC.

## Related

- https://thebet365api.com/bet365-websocket.md
- https://thebet365api.com/bet365-odds-json.md
- https://thebet365api.com/bet365-us-odds-api.md
- https://thebet365api.com/bet365-soccer-odds-api.md
- https://thebet365api.com/bet365-nfl-odds-api.md
