Bet365 APIoh.bet365.com ↗
Get current betting odds from Bet365 for NBA, MLB, NHL, soccer, and tennis via one API endpoint. Returns spread, moneyline, and over/under data.
What is the Bet365 API?
The oh.bet365.com API exposes current betting odds from Bet365 across five sports through a single endpoint, get_recent_odds. Each response includes up to dozens of upcoming fixtures with spread, total (over/under), and moneyline lines for US sports, 3-way moneyline for soccer, and match-winner odds for tennis — all returned with fixture IDs, team names, start times, and league context.
curl -X GET 'https://api.parse.bot/scraper/55a4c004-97ba-4a82-acb9-5402e0c506a3/get_recent_odds?sport=mlb' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace oh-bet365-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
from parse_apis.bet365_odds_api import Bet365, Game, Sport
bet365 = Bet365()
# List MLB games with current odds
for game in bet365.games.list(sport=Sport.MLB):
print(game.fixture_id, game.home_team, game.away_team, game.start_time, game.league)
if game.spread:
print(" Spread:", game.spread)
if game.moneyline:
print(" Moneyline:", game.moneyline)
Retrieves current betting odds for upcoming games in a specified sport from Bet365. Returns spread, total (over/under), and moneyline odds for US sports (NBA, NHL, MLB), 3-way moneyline (home/draw/away) for soccer, and match winner odds for tennis. The set of available games depends on the live schedule — off-season sports return an empty list. Each game includes a fixture_id, team names, start time, league, description, and market-specific odds in both American and fractional formats.
| Param | Type | Description |
|---|---|---|
| sport | string | Sport to get odds for. Accepted values: mlb, nba, nhl, soccer, tennis. |
{
"type": "object",
"fields": {
"games": "array - List of games with odds including fixture_id, home_team, away_team, start_time, league, description, and market-specific odds",
"sport": "string - Display name of the sport (e.g. NBA, NHL, MLB, Soccer, Tennis)",
"games_count": "integer - Number of games returned"
},
"sample": {
"data": {
"games": [
{
"league": "MLB",
"spread": {
"away": {
"line": "+1.5",
"odds": "-170",
"odds_fractional": "10/17"
},
"home": {
"line": "-1.5",
"odds": "+145",
"odds_fractional": "29/20"
}
},
"away_team": "BAL Orioles",
"home_team": "SEA Mariners",
"fixture_id": "196040824",
"start_time": "2026-06-10T23:35:00",
"description": "SEA Mariners vs BAL Orioles"
},
{
"league": "MLB",
"spread": {
"away": {
"line": "+1.5",
"odds": "+110",
"odds_fractional": "11/10"
},
"home": {
"line": "-1.5",
"odds": "-130",
"odds_fractional": "10/13"
}
},
"away_team": "PIT Pirates",
"home_team": "LA Dodgers",
"fixture_id": "196040829",
"start_time": "2026-06-10T23:40:00",
"description": "LA Dodgers vs PIT Pirates"
}
],
"sport": "MLB",
"games_count": 2
},
"status": "success"
}
}About the Bet365 API
What the API Returns
The get_recent_odds endpoint returns a games array where each entry contains a fixture_id, home_team, away_team, start_time, league, and description, alongside market-specific odds fields. For NBA, NHL, and MLB, those markets include spread, total (over/under), and moneyline lines. For soccer the endpoint returns a 3-way moneyline (home win, draw, away win). Tennis fixtures carry match-winner odds. The response also includes a top-level sport display name and a games_count integer confirming how many fixtures were returned.
Filtering by Sport
The single sport parameter accepts five values: mlb, nba, nhl, soccer, and tennis. If omitted, the endpoint uses a default sport. Pass the slug that matches your use case; the returned sport field in the response confirms the display name that corresponds to the slug you sent. There is no pagination parameter — the endpoint returns whichever upcoming games are currently listed on Bet365 for that sport at the time of the request.
Coverage and Freshness
Game availability depends on what Bet365 has listed at query time. Early in a season, or mid-week for league schedules, the games_count may be lower than on high-volume game days. Odds reflect Bet365's current lines, so values can shift between consecutive calls as the sportsbook adjusts prices. There is no historical odds endpoint — the API is oriented toward current and upcoming fixtures only.
The Bet365 API is a managed, monitored endpoint for oh.bet365.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when oh.bet365.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official oh.bet365.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Monitor line movement on NBA spread odds across consecutive requests to detect sharp money shifts
- Aggregate Bet365 moneyline data for MLB into a database for betting model training
- Display live soccer match-winner odds (home/draw/away) in a sports dashboard application
- Alert users when NHL over/under totals cross a threshold for a specific fixture
- Cross-reference Bet365 fixture IDs against your own database to enrich game records with current odds
- Track tennis match-winner odds for a tournament bracket tool showing updated pricing
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Bet365 offer an official developer API for odds data?+
What odds markets does `get_recent_odds` return, and does that vary by sport?+
league and description fields in each game object give additional context on the competition.Does the API return odds for sports beyond NBA, MLB, NHL, soccer, and tennis?+
sport parameter accepts only those five values. You can fork this API on Parse and revise it to add endpoints covering additional sports such as NFL, golf, or esports.Does the API include historical or closing odds for past fixtures?+
How many games are returned per request, and can I filter by league or team?+
games_count in the response tells you exactly how many were returned. There is no league or team filter parameter — the endpoint returns all available upcoming fixtures for the specified sport. Each game object does include a league field you can filter client-side after receiving the response.