Upcoming Events

HTTP Request

GET https://sportbetapi.com/v3/events/upcoming

curl "https://sportbetapi.com/v3/events/upcoming?sport_id=1&token=YOUR-TOKEN"

NOTE it is /v3/ instead of /v1/

Query Parameters

Parameter Required? Description
sport_id Yes R-SportID
league_id No useful when you want only one league
team_id No useful when you want only one team
cc No Eg: 'co' for Colombia (R-Countries)
day No format YYYYMMDD, eg: 20161201
skip_esports No skip Esoccer, Ebasketball etc. in the result
page No R-Pager, max 100

HTTP Response

upcoming.json

what's the format and timezone for 'time' field?

It's unix epoch. Convert from epoch to human readable date

The timezone is UTC.

Changes

2021-09-09

  • upgrade to /v3/ which will display half score and stats (removing 'extra')

2019-02-20

  • due to SQL LIMIT performance issue, we only allow max page=100 on all time. please use 'day=' or 'league_id=' to get history data.

2018-09-01

  • due to SQL LIMIT performance issue, we only allow max page=100 on weekend. Sorry
  • please use day= for fixture data

2018-08-14

  • limit max page to 1000 due to SQL LIMIT performance (use day= for fixture data)

2018-05-06 /v2/

  • ?day=TODAY will only get upcoming events instead of all

results matching ""

    No results matching ""