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

Match and player statistics

TheSports Statistics 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 Statistics. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, pricing, and 2 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 2 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.

1 operations 1 paths 2 schemas 1 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 Statistics 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 1

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

Statistics 1

Match and player statistics

GET
/football/match/statistics
Get Match Statistics
getMatchStatistics 2 params → 200

Schemas 2

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

MatchStats
object
10 properties
MatchStatisticsResponse
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thesports-statistics-api-openapi.yml Raw ↑

Other APIs TheSports publishes across the network.

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