Bet365 API

Bet365 InPlay Filter

GET/v1/bet365/inplay_filter

In-play events with their FI, filtered by sport or league.

Parameters

Send every parameter in the query string, including token.

Query parameters
NameTypeRequiredDescription
tokenstringRequiredYour API token.
sport_idintegerOptionalR-SportID.
league_idstringOptionalOnly return this league.
skip_esportsbooleanOptionalSkip Esoccer, Ebasketball etc. in the result.

Notes

There is no pager in this API call. We just return all events.

league.id, home.id and away.id might be different from Events API ids. our_event_id links to the Events API.

Request

Call https://api.odds-data-api.com/v1/bet365/inplay_filter with your token. The examples read it from the ODDS_DATA_API_TOKEN environment variable.

curl "https://api.odds-data-api.com/v1/bet365/inplay_filter?sport_id=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,
  "pager": {
    "page": 1,
    "per_page": 1000,
    "total": 1
  },
  "results": [
    {
      "id": "158204771",
      "sport_id": "1",
      "time": "1789237200",
      "time_status": "1",
      "league": {
        "id": "10041282",
        "name": "England Premier League"
      },
      "home": {
        "id": "10204",
        "name": "Brentford"
      },
      "away": {
        "id": "10218",
        "name": "Everton"
      },
      "ss": "2-1",
      "our_event_id": "8204771",
      "r_id": null,
      "updated_at": "1789241232"
    }
  ]
}

Errors

A failed call returns success: 0 with an error code. This endpoint can return:

Error codes
errorMeaning
NOT_FOUND404 Not Found.
AUTHORIZE_FAILEDToken is not provided or is incorrect.
TOO_MANY_REQUESTSAPI rate limit exceeded. See X-RateLimit-Reset.
PERMISSION_DENIEDYour plan does not include this call. Contact support if this is wrong.
PARAM_INVALIDA param is invalid. Check error_detail.
Failed call · application/json
{
  "success": 0,
  "error": "AUTHORIZE_FAILED"
}

Like every endpoint, it can also return INTERNAL_SERVER_ERROR, METHOD_NOT_ALLOWED and UNDER_MAINTENANCE. See R-Errors.

Try it

GEThttps://api.odds-data-api.com/v1/bet365/inplay_filter?sport_id=1&token=YOUR-TOKEN
sport_id
1
token
YOUR-TOKEN (from the dashboard)

Requests run with your own token and count toward your hourly limit.