Can I filter list of events?
How to use query parameters to retrieve only the events you are looking for.
There is a possibility to filter data getting in events.index method with many query parameters. Full list of possible queries is available in the SportsAPI documentation. Below you can find an exaple of query with following narrowing results.
- Single participant
- Specific period (date from and date to parameter)
- No details about the event
- Sorting after the start date of the game
- Another sorting parameter - dates descending
- Show only finished games
https://api.statscore.com/v2/events?<>&participant_id=136359&date_from=2025-12-01%2000:00:00&date_to=2025-12-30%2000:00:00&events_details=no&sort_type=start_date&sort_order=desc&status_type=finished