REST APITeams
GET /v1/teams/{team_id}/games
cost 2 unitsany plan
X-API-Key<token>
Raw API key (sk_live_… or sk_test_…). Preferred for REST clients. Keys are read-only; the environment prefix is the only key role. See https://statshawk.ai/docs/getting-started/permissions
In: header
Path Parameters
team_id*string
Minted team id (team_…)
Query Parameters
competition?|
Competition slug (e.g. mlb) or minted comp_… id.
season?|
Season start year — cross-year leagues (NBA/NHL/NCAA) use the year the season STARTS in (2025 = the 2025-26 season).
edition?null|
from?|
Format
date-timeto?|
Format
date-timeResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/teams/string/games"{
"data": {
"items": [
{
"away_team": "team_0a1b2c3d4e5f6g7h8i9j0k1l2m",
"away_team_name": "string",
"competition": "comp_0a1b2c3d4e5f6g7h8i9j0k1l2m",
"edition": "edt_0a1b2c3d4e5f6g7h8i9j0k1l2m",
"event": null,
"home_team": "team_0a1b2c3d4e5f6g7h8i9j0k1l2m",
"home_team_name": "string",
"id": "cst_0a1b2c3d4e5f6g7h8i9j0k1l2m",
"kickoff": "2019-08-24T14:15:22Z",
"location": null,
"score": null,
"stage": null,
"status": "scheduled"
}
],
"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"
}
}{
"error": {
"code": "string",
"message": "string",
"property1": null,
"property2": null
}
}{
"error": {
"code": "string",
"message": "string",
"property1": null,
"property2": null
}
}{
"error": {
"code": "string",
"message": "string",
"property1": null,
"property2": null
}
}{
"error": {
"code": "string",
"message": "string",
"property1": null,
"property2": null
}
}{
"error": {
"code": "string",
"message": "string",
"property1": null,
"property2": null
}
}{
"error": {
"code": "string",
"message": "string",
"property1": null,
"property2": null
}
}{
"error": {
"code": "string",
"message": "string",
"property1": null,
"property2": null
}
}