Bet365 API
Bet365 Result
GET
/v1/bet365/resultFinal result, stats and timeline of a bet365 event.
Parameters
Send every parameter in the query string, including token.
| Name | Type | Required | Description |
|---|---|---|---|
| token | string | Required | Your API token. |
| event_id | string | Required | FI from Bet365. Send up to 10 ids: event_id=1,2,3. |
| raw | boolean | Optional | Horse Racing and Greyhounds only. |
Notes
league.id, home.id and away.id might be different from Bet365 Upcoming Events.
Request
Call https://api.odds-data-api.com/v1/bet365/result with your token. The examples read it from the ODDS_DATA_API_TOKEN environment variable.
curl "https://api.odds-data-api.com/v1/bet365/result?event_id=158198402&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": [
{
"id": "158198402",
"time": "1789066800",
"time_status": "3",
"league": {
"id": "10041282",
"name": "England Premier League",
"cc": "gb"
},
"home": {
"id": "10200",
"name": "Arsenal",
"image_id": null,
"cc": "gb"
},
"away": {
"id": "10209",
"name": "Liverpool",
"image_id": null,
"cc": "gb"
},
"ss": "1-1",
"scores": {
"1": {
"home": "0",
"away": "1"
},
"2": {
"home": "1",
"away": "1"
}
},
"stats": {
"corners": [
"7",
"4"
],
"yellowcards": [
"2",
"3"
],
"possession_rt": [
"54",
"46"
]
},
"events": [
{
"id": "71200411",
"text": "38' - 1st Goal - (Liverpool) -"
}
]
}
]
}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": "event_id"
}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/result?event_id=158198402&token=YOUR-TOKEN- event_id
- 158198402
- token
- YOUR-TOKEN (from the dashboard)
Requests run with your own token and count toward your hourly limit.
