Documentation / Games
Yesterday's results
GET /v1/results/yesterdayEvery finished game from yesterday (UTC), on every plan.
GET
https://api.icehockeyapi.com/v1/results/yesterdayhttps://api.icehockeyapi.com/v1/results/yesterday?per_page=3curl "https://api.icehockeyapi.com/v1/results/yesterday?per_page=3" \ -H "X-API-Key: YOUR_KEY"
200 OKExample answer from the data, 12 Oct
{
"data": [
{
"id": "gm_00hypvw3",
"date": "2026-10-11",
"start_time": "2026-10-10T23:15:00Z",
"league": {
"id": "lg_t4ne8mae",
"name": "AHL"
},
"season": {
"id": "ss_w9df0xyz",
"label": "2026-27"
},
"stage": "regular",
"status": "final",
"home_team": {
"id": "tm_mzy6exdh",
"name": "Iowa Wild",
"short_name": null,
"country": "North America"
},
"away_team": {
"id": "tm_3zmda0ak",
"name": "Rockford IceHogs",
"short_name": null,
"country": "North America"
},
"home_goals": 4,
"away_goals": 3,
"ended_in": "regulation",
"venue": {
"id": "vn_3qweppdy",
"name": "Casey’s Center",
"city": null,
"country": "North America"
},
"attendance": null,
"odds": [
{
"market": "three_way",
"price": "average",
"format": "decimal",
"home": 2.63,
"draw": 4.13,
"away": 2.15
}
]
},
{
"id": "gm_n8y430cm",
"date": "2026-10-11",
"start_time": "2026-10-10T23:15:00Z",
"league": {
"id": "lg_t4ne8mae",
"name": "AHL"
},
"season": {
"id": "ss_w9df0xyz",
"label": "2026-27"
},
"stage": "regular",
"status": "final",
"home_team": {
"id": "tm_7cgrd9sf",
"name": "Milwaukee Admirals",
"short_name": null,
"country": "North America"
},
"away_team": {
"id": "tm_grvww2ay",
"name": "Grand Rapids Griffins",
"short_name": null,
"country": "North America"
},
"home_goals": 4,
"away_goals": 1,
"ended_in": "regulation",
"venue": {
"id": "vn_rzjaw5xh",
"name": "UW-Milwaukee Panther Arena",
"city": null,
"country": "North America"
},
"attendance": null,
"odds": [
{
"market": "three_way",
"price": "average",
"format": "decimal",
"home": 1.92,
"draw": 4.18,
"away": 3.06
}
]
},
{
"id": "gm_9ekvtgj0",
"date": "2026-10-11",
"start_time": "2026-10-10T23:15:00Z",
"league": {
"id": "lg_t4ne8mae",
"name": "AHL"
},
"season": {
"id": "ss_w9df0xyz",
"label": "2026-27"
},
"stage": "regular",
"status": "final",
"home_team": {
"id": "tm_b2aky134",
"name": "Syracuse Crunch",
"short_name": null,
"country": "North America"
},
"away_team": {
"id": "tm_knn655fh",
"name": "Belleville Senators",
"short_name": null,
"country": "North America"
},
"home_goals": 2,
"away_goals": 3,
"ended_in": "regulation",
"venue": {
"id": "vn_kya61xk6",
"name": "Upstate Medical University Arena",
"city": null,
"country": "North America"
},
"attendance": null,
"odds": [
{
"market": "three_way",
"price": "average",
"format": "decimal",
"home": 3.4,
"draw": 4.39,
"away": 1.77
}
]
}
],
"meta": {
"count": 3,
"next_cursor": "eyJvIjozLCJuIjozfQ",
"page": 1,
"per_page": 3,
"total": 207,
"total_pages": 69,
"next_page": 2,
"prev_page": null,
"date": "2026-10-11",
"plan": "Complete"
}
}Run works once the API is live; the code above works now.
Parameters
| Name | In | Type | What it does |
|---|---|---|---|
league_id | query | id | A league, from /v1/leagues. |
page | query | int | The page, from 1. |
per_page | query | int | Records a page, default 50, at most 200. |
cursor | query | string | meta.next_cursor from the previous answer. |
Returns
| Field | Type |
|---|---|
id | string |
date | string |
start_time | string |
league | object |
league.id | string |
league.name | string |
season | object |
season.id | string |
season.label | string |
stage | string |
status | string |
home_team | object |
home_team.id | string |
home_team.name | string |
home_team.short_name | null |
home_team.country | string |
away_team | object |
away_team.id | string |
away_team.name | string |
away_team.short_name | null |
away_team.country | string |
home_goals | int |
away_goals | int |
ended_in | string |
venue | object |
venue.id | string |
venue.name | string |
venue.city | null |
venue.country | string |
attendance | null |
odds | list |