Skip to content
Hockay API
Esc
↑↓navigate↵open⌘Jpreview

A season's nights, in calendar order

GET/seasons/{id}/matchdays
Authorization
x-api-keyAPI key · headerrequired
Path parameters
idstringrequired

Season id

Responses
200

OK

dataMatchday[]required
Show properties
Array of Matchday
idstringrequired

e.g. "S04D01" (regular), "S04W01" (wildcard), "S04P01" (playoffs)

numberintegerrequired

Night number within its own type

min -9007199254740991 · max 9007199254740991
typestringrequired
Allowed:regularwildcardplayofffinalrestallstar
datestringrequired

ISO 8601 date-time (UTC)

304

Not modified (If-None-Match matched the ETag)

401

Missing, unknown, revoked, or expired key

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
403

This account cannot use this key class

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
404

Not found (or not public yet)

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
429

Rate limited; retry after the Retry-After seconds

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://hockay.com/api/v1/seasons/string/matchdays' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "data": [
    {
      "id": "string",
      "number": -9007199254740991,
      "type": "regular",
      "date": "string"
    }
  ]
}

Was this page helpful?