0
Bug
Archived
Apr 02, 2026 · Colin
World cup api not working
Wordcup api endpoint is not returning anything
Comments (3)
Artonis
Apr 02, 2026 19:52
The 'world cup' endpoint is working correctly. It’s currently empty because, if I remember correctly, it fetches data for the next 7 days by default. However, if you use &date_from= and/or &date_to= in the link and set the tournament start date in date_from=, everything will be fetched and displayed.
Artonis
Apr 02, 2026 20:01
For example, you can use the link:
https://sports.bzzoiro.com/api/events/?date_from=2026-06-11&date_to=2026-06-21&league=27
Bzzoiro
Admin
Apr 02, 2026 20:02
Hi Colin, Artonis is right — the endpoint works correctly but defaults to the next 7 days when no date filters are specified. Since the World Cup starts on June 11, you need to add date filters:
This will return all 104 World Cup matches.
We've also updated the docs to make this clearer — there's now a visible warning on the Events endpoint explaining the default behavior: https://sports.bzzoiro.com/docs/#events
Thanks Artonis for helping out!