Skip to main content
Use this endpoint to retrieve all competitions that this API key has access to. These are the same competitions as can be used to get the clubs viaGET /get_clubs_in_competitions.

Authentication

All requests must include a valid API key, either as an x-api-key header or as a Bearer token in the Authorization header.
x-api-key: YOUR_API_KEY
# or
Authorization: Bearer YOUR_API_KEY

Request

This endpoint takes no query parameters.

Response

competitions
array[String]
An array of competitions, one for each competitions in your coverage.

Example

curl https://api.squadassist.ai/v1/competitions -H @{"x-api-key"= "YOUR_API KEY"}
Response
{
  "competitions": ["BELGIAN_JUPILER_PRO_LEAGUE","ENGLISH_PREMIER_LEAGUE"]
}