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

TheSports Competitions API

Football competition and league data

TheSports Competitions API is one of 9 APIs that TheSports publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Competitions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, pricing, and 2 JSON Schemas.

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

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

3 operations 3 paths 5 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://api.thesports.com/v1
Authentication
API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 1

TheSports Competitions API declares 1 security scheme for authenticating requests. An API key is passed in the query as user_key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — API key for authentication, obtained from TheSports developer portal.

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.

Competitions 3

Football competition and league data

GET
/football/country/list
List Countries
listCountries 1 param → 200
GET
/football/competition/list
List Competitions
listCompetitions 2 params → 200
GET
/football/competition/additional
Get Competition Details
getCompetitionDetails 2 params → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Competition (9 properties), CountryListResponse (3 properties), CompetitionListResponse (3 properties), CompetitionDetailsResponse (3 properties). Each schema is shown below with its type and property counts.

Country
object
3 properties
CompetitionDetailsResponse
object
3 properties
CompetitionListResponse
object
3 properties
CountryListResponse
object
3 properties
Competition
object
9 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thesports-competitions-api-openapi.yml Raw ↑

Other APIs TheSports publishes across the network.

TheSports Basketball API
TheSports Tennis API
TheSports Esports API
TheSports Matches API
TheSports Players API
TheSports Standings API
TheSports Statistics API
TheSports Teams API