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

Games in progress

GET/live
Authorization
x-api-keyAPI key · headerrequired
Responses
200

OK

dataLiveScore[]required
Show properties
Array of LiveScore
idstringrequired
homeTeamIdstringrequired
awayTeamIdstringrequired
homeScoreintegerrequired
min -9007199254740991 · max 9007199254740991
awayScoreintegerrequired
min -9007199254740991 · max 9007199254740991
statusstringrequired
Allowed:scheduledperiod_1intermission_1period_2intermission_2period_3overtimeshootoutfinal
scheduledStartstringrequired

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
429

Rate limited; retry after the Retry-After seconds

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
Try it
Server
Authorization
Request
curl -X GET 'https://hockay.com/api/v1/live' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "data": [
    {
      "id": "string",
      "homeTeamId": "string",
      "awayTeamId": "string",
      "homeScore": -9007199254740991,
      "awayScore": -9007199254740991,
      "status": "scheduled",
      "scheduledStart": "string"
    }
  ]
}

Was this page helpful?