Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TheSportsDB Lists API

List leagues, teams, players, and events.

TheSportsDB Lists API is one of 5 APIs that TheSportsDB publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Lists. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://www.thesportsdb.com/api/v1/json/3.

3 operations 3 paths 6 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://www.thesportsdb.com/api/v1/json/3
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Lists 3

List leagues, teams, players, and events.

GET
/all_leagues.php
List All Leagues
listAllLeagues → 200
GET
/all_sports.php
List All Sports
listAllSports → 200
GET
/search_all_teams.php
List All Teams
listAllTeams 3 params → 200

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Team (20 properties), League (10 properties), Sport (3 properties), LeaguesResponse (2 properties). Each schema is shown below with its type and property counts.

SportsResponse
object
1 property
Team
object
20 properties
TeamsResponse
object
1 property
Sport
object
3 properties
League
object
10 properties
LeaguesResponse
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thesportsdb-lists-api-openapi.yml Raw ↑

Other APIs TheSportsDB publishes across the network.

TheSportsDB Events API
TheSportsDB Lookup API
TheSportsDB Search API
TheSportsDB Seasons API