statshawk
REST APICompetitions

`GET /v1/competitions` — the competition index (all competitions, flat).

Store-only: the rows come straight from the competitions table.

cost 1 unitany plan
GET
/v1/competitions

Store-only: the rows come straight from the competitions table.

X-API-Key<token>

In: header

Response Body

application/json

curl -X GET "https://example.com/v1/competitions"
{
  "data": {
    "items": [
      {
        "id": "comp_0a1b2c3d4e5f6g7h8i9j0k1l2m",
        "kind": "domestic_club",
        "name": "string",
        "slug": "la_liga",
        "sport": "basketball"
      }
    ],
    "page": 0,
    "per_page": 0,
    "total": 0
  },
  "meta": {
    "cache": "HIT",
    "fetched_at": "2025-10-15T18:30:00Z",
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846",
    "source": "postgres",
    "version": "v1"
  }
}