Football

Get data related to football matches.

Football middleware available for all clients and partners. REST API's for all feeds for teams / fixtures / results / live matches / line ups / tables / statistics / officials / commentary / player-traits / head to head / form / competitions

Base URL - stage: https://opta-football-stage.cortextech.io/

Base URL - prod: https://opta-football.cortextech.io/

API Reference: https://developer.cortextech.io/reference/get_v1-form-teamid

API Keys

All requests must be made using provided API keys, otherwise a 401 Unauthorized response will be returned, the API key comprises of 3 items that must be passed in the headers of each request:

  • X-API-KEY
  • X-APP-ID
  • X-REALM

Key Terms and Language used throughout the API

TermDescription
SeasonThe way competitions/tournaments/leagues are organised within the system. There is only ever 1 occurrence of a competition per season. For example, there will be a 2024 season, which will contain all the data relating to the English Premier League for that period only, there will also be a 2025 season for the EPL
Season IDThe unique identifier for a season.
CompetitionA Tournament/Competition/League within football, e.g. English Premier League, Champions League or World Cup
Competition IDThe unique identifier for a competition. This will always be the same value for each year a competition is played, i.e. the English Premier League will always have the same competition ID, whether you are trying to retrieve data from 2020's season or from 2025's season.
MatchA single fixture between two teams
Match IDThe unique identifier for a match
TeamA single football team
Team IDThe unique identifier for a team
PlayerA person who plays for a team.
Player IDThe unique identifier for a player. If a player moves between teams they will always retain the same player ID.

Standard API Responses

Standard response payloads:

{
  "status": "string",
  "data": [
    { "array of items" }
	],
  "metadata": {
    "createdAt": "ISO 8601 Date/Time format",
    "pageItems": 0,
    "totalItems": 0,
    "totalPages": 0,
    "pageNumber": 0,
    "pageSize": 0,
    "sort": "string"
  }
}
{
  "status": "string",
  "data": { "single item" },
  "metadata": {
    "createdAt": "ISO 8601 Date/Time format"
  }
}
{
  "status": "fail",
  "message": "reason",
  "metadata": {
    "createdAt": "ISO 8601 Date/Time format"
  }
}