TheSports · Schema

Match

A football match with scheduling, score, and status information.

SportsFootballBasketballTennisEsportsDataReal-Time

Properties

Name Type Description
id string Unique match identifier.
competition_id string ID of the competition this match belongs to.
season_id string ID of the season.
stage_id string ID of the stage within the competition.
home_team_id string ID of the home team.
away_team_id string ID of the away team.
status integer Match status: 0=not started, 1=first half, 2=half time, 3=second half, 4=extra time, 5=penalties, -1=finished, -2=postponed, -3=cancelled.
home_score integer Goals scored by the home team.
away_score integer Goals scored by the away team.
scheduled integer Unix timestamp of scheduled match kick-off time.
venue_id string ID of the venue/stadium.
referee_id string ID of the match referee.
View JSON Schema on GitHub

JSON Schema

thesports-match-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.thesports.com/schemas/match",
  "title": "Match",
  "description": "A football match with scheduling, score, and status information.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique match identifier."
    },
    "competition_id": {
      "type": "string",
      "description": "ID of the competition this match belongs to."
    },
    "season_id": {
      "type": "string",
      "description": "ID of the season."
    },
    "stage_id": {
      "type": "string",
      "description": "ID of the stage within the competition."
    },
    "home_team_id": {
      "type": "string",
      "description": "ID of the home team."
    },
    "away_team_id": {
      "type": "string",
      "description": "ID of the away team."
    },
    "status": {
      "type": "integer",
      "description": "Match status: 0=not started, 1=first half, 2=half time, 3=second half, 4=extra time, 5=penalties, -1=finished, -2=postponed, -3=cancelled.",
      "enum": [0, 1, 2, 3, 4, 5, -1, -2, -3]
    },
    "home_score": {
      "type": "integer",
      "minimum": 0,
      "description": "Goals scored by the home team."
    },
    "away_score": {
      "type": "integer",
      "minimum": 0,
      "description": "Goals scored by the away team."
    },
    "scheduled": {
      "type": "integer",
      "description": "Unix timestamp of scheduled match kick-off time."
    },
    "venue_id": {
      "type": "string",
      "description": "ID of the venue/stadium."
    },
    "referee_id": {
      "type": "string",
      "description": "ID of the match referee."
    }
  },
  "required": ["id", "home_team_id", "away_team_id", "status"],
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/thesports-match"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.