Upcoming League Match Schedule
thesportsdb.events.nextGet the next scheduled matches for a sports league, identified by its TheSportsDB league ID. Returns upcoming events with home/away teams, scheduled date, kickoff time, round number, venue, and team badge URLs. Status field indicates scheduling state (NS = not started, PPD = postponed). Common league IDs: 4328 (English Premier League), 4387 (NBA), 4391 (NFL), 4380 (MLB), 4335 (Scottish Premier League). Obtain league IDs from team_search results (the league_id field). Data source: TheSportsDB — free public sports database, no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league_id | Yes | TheSportsDB league ID to retrieve upcoming events for (e.g. "4328" for English Premier League, "4387" for NBA, "4391" for NFL). Obtain a league ID from team search results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |