Tools/sports/schedule

sports/schedule

The next or previous events for a league.

0.1 credits / call ($0.0001)
charged on success

What it does

Returns the upcoming or most recent events (fixtures or results) for a league.

Primary use cases

  • "What are the next fixtures for <league>?"
  • "What were the latest results in <league>?"

Good to know

when is next (upcoming) or previous (recent). league_id is the numeric TheSportsDB league id; use search with type league to find it. For a full season, use season_schedule.

Parameters

whenstringrequired

next for upcoming events, previous for recent ones.

league_idstringrequired

Numeric TheSportsDB league id (find it via search with type "league").

sports/schedule — Faro