Ended Events
HTTP Request
GET https://sportbetapi.com/v3/events/ended
curl "https://sportbetapi.com/v3/events/ended?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: 20180814 (min 20160901) |
skip_esports | No | skip Esoccer, Ebasketball etc. in the result |
page | No | R-Pager, max 100 |
HTTP Response
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 historical data
2018-08-14
- limit max page to 1000 due to SQL LIMIT performance (use day= for historical data)
2018-05-06 /v2/
- ?day=TODAY will only get ended events instead of all