Bet365 API
Bet365 Inplay Event
GET
/v1/bet365/eventScore, stats and every market and price of one in-play event.
Parameters
Send every parameter in the query string, including token.
| Name | Type | Required | Description |
|---|---|---|---|
| token | string | Required | Your API token. |
| FI | string | Required | id from Bet365 InPlay Filter, or ID from Bet365 InPlay. |
| stats | boolean | Optional | Extra stats (Soccer, Basketball, Cricket, Baseball, American Football, Handball, Volleyball and Tennis). |
| lineup | boolean | Optional | Lineup (Cricket only). |
| raw | boolean | Optional | Return the capture before parsing. |
Notes
A market or selection with SU=1 is suspended: you cannot bet on it at that moment.
Request
Call https://api.odds-data-api.com/v1/bet365/event with your token. The examples read it from the ODDS_DATA_API_TOKEN environment variable.
curl "https://api.odds-data-api.com/v1/bet365/event?FI=158204771&stats=1&token=$ODDS_DATA_API_TOKEN"Response
JSON with success: 1 and results. Values are strings unless shown otherwise. See Response format and R-Pager.
application/json
{
"success": 1,
"results": [
[
{
"type": "EV",
"FI": "158204771",
"NA": "Brentford v Everton",
"CT": "England Premier League",
"SS": "2-1",
"TM": "67",
"TS": "12",
"TT": "1",
"TU": "20260912190000"
},
{
"type": "TE",
"ID": "1",
"NA": "Brentford",
"OR": "0",
"SC": "2"
},
{
"type": "TE",
"ID": "2",
"NA": "Everton",
"OR": "1",
"SC": "1"
},
{
"type": "MG",
"ID": "1777",
"NA": "Fulltime Result",
"SU": "0"
},
{
"type": "MA",
"ID": "1777",
"NA": "Fulltime Result",
"CN": "3",
"SU": "0"
},
{
"type": "PA",
"ID": "1777141",
"NA": "Brentford",
"OD": "4/9",
"SU": "0"
},
{
"type": "PA",
"ID": "1777142",
"NA": "Draw",
"OD": "18/5",
"SU": "0"
},
{
"type": "PA",
"ID": "1777143",
"NA": "Everton",
"OD": "13/2",
"SU": "0"
}
]
]
}Errors
A failed call returns success: 0 with an error code. This endpoint can return:
| error | Meaning |
|---|---|
| NOT_FOUND | 404 Not Found. |
| AUTHORIZE_FAILED | Token is not provided or is incorrect. |
| TOO_MANY_REQUESTS | API rate limit exceeded. See X-RateLimit-Reset. |
| PERMISSION_DENIED | Your plan does not include this call. Contact support if this is wrong. |
| PARAM_REQUIRED | A required param is missing. Check error_detail. |
| PARAM_INVALID | A param is invalid. Check error_detail. |
Failed call · application/json
{
"success": 0,
"error": "PARAM_REQUIRED",
"error_detail": "FI"
}Like every endpoint, it can also return INTERNAL_SERVER_ERROR, METHOD_NOT_ALLOWED and UNDER_MAINTENANCE. See R-Errors.
Try it
GET
https://api.odds-data-api.com/v1/bet365/event?FI=158204771&stats=1&token=YOUR-TOKEN- FI
- 158204771
- stats
- 1
- token
- YOUR-TOKEN (from the dashboard)
Requests run with your own token and count toward your hourly limit.
