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

The Lookup API from TheSportsDB — 5 operation(s) for lookup.

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

Tagged areas include Lookup. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 5 operations across 5 paths. It is described by OpenAPI 3.0.1, at version 1.0.

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

5 operations 5 paths 0 schemas 5 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://www.thesportsdb.com/api/v1/json
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

TheSportsDB Lookup API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-KEY (ApiKeyHeader).

  • ApiKeyHeader — Premium V2 API key supplied in the X-API-KEY request header.

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
GET
/{apiKey}/lookupleague.php
Look up league details by league ID.
lookupLeague 2 params → 200
GET
/{apiKey}/lookupteam.php
Look up team details by team ID.
lookupTeam 2 params → 200
GET
/{apiKey}/lookupplayer.php
Look up player details by player ID.
lookupPlayer 2 params → 200
GET
/{apiKey}/lookupevent.php
Look up event details by event ID.
lookupEvent 2 params → 200
GET
/{apiKey}/lookupvenue.php
Look up venue details by venue ID.
lookupVenue 2 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

sportsdb-lookup-api-openapi.yml Raw ↑

Other APIs TheSportsDB publishes across the network.

TheSportsDB Events API
TheSportsDB Leagues API
TheSportsDB Livescores API
TheSportsDB Players API
TheSportsDB Search API
TheSportsDB Teams API