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 Lookup API

Look up detailed data by ID.

TheSportsDB Lookup 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 Lookup. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 5 operations across 5 paths, and defines 10 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.

5 operations 5 paths 10 schemas 5 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 5

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

Lookup 5

Look up detailed data by ID.

GET
/lookupleague.php
Lookup League
lookupLeague 1 param → 200
GET
/lookupteam.php
Lookup Team
lookupTeam 1 param → 200
GET
/lookupplayer.php
Lookup Player
lookupPlayer 1 param → 200
GET
/lookupevent.php
Lookup Event
lookupEvent 1 param → 200
GET
/lookuptable.php
Lookup Table
lookupTable 2 params → 200

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are Team (20 properties), Event (14 properties), TableRow (11 properties), League (10 properties). Each schema is shown below with its type and property counts.

PlayersResponse
object
1 property
TableRow
object
11 properties
EventsResponse
object
1 property
Team
object
20 properties
Player
object
10 properties
TableResponse
object
1 property
TeamsResponse
object
1 property
League
object
10 properties
Event
object
14 properties
LeaguesResponse
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thesportsdb-lookup-api-openapi.yml Raw ↑

Other APIs TheSportsDB publishes across the network.

TheSportsDB Events API
TheSportsDB Lists API
TheSportsDB Search API
TheSportsDB Seasons API