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

Search for teams, players, events, and venues.

TheSportsDB Search 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 Search. 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.

Search 5

Search for teams, players, events, and venues.

GET
/searchteams.php
Search Teams
searchTeams 2 params → 200
GET
/searchplayers.php
Search Players
searchPlayers 2 params → 200
GET
/searchevents.php
Search Events
searchEvents 2 params → 200
GET
/searchvenues.php
Search Venues
searchVenues 1 param → 200
GET
/search_all_leagues.php
Search All Leagues
searchAllLeagues 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), League (10 properties), Player (10 properties). Each schema is shown below with its type and property counts.

PlayersResponse
object
1 property
VenuesResponse
object
1 property
EventsResponse
object
1 property
Team
object
20 properties
Player
object
10 properties
TeamsResponse
object
1 property
Venue
object
7 properties
League
object
10 properties
Event
object
14 properties
LeaguesResponse
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thesportsdb-search-api-openapi.yml Raw ↑

Other APIs TheSportsDB publishes across the network.

TheSportsDB Events API
TheSportsDB Lists API
TheSportsDB Lookup API
TheSportsDB Seasons API