SofaScore API endpoint
Lists the periods of a competition season for which SofaScore published a team of the week, newest first: league rounds (`round`), weekly time spans (`timespan`) and season-level selections (`season`, such as an NBA regular season or playoff team). Use a returned period `id` with sofascore-team-of-the-week. An empty list is valid when no team of the week has been published yet. Get `id` from search and `season` from tournament-seasons.
/sofascore/team-of-the-week-periodsQuery parameters:
id: required. Numeric SofaScore unique-tournament (competition) id, e.g. 17 for the Premier League.season: required. Numeric SofaScore season id from sofascore/tournament-seasons, e.g. 96668.Notable response behavior:
type is the kind of period: round (one league round; round and round_name are set), timespan (a calendar week; date_from and date_to are set) or season (a season-level selection such as an NBA regular season or playoff team; no sequence, round or dates). name is SofaScore's label: round, week, season, regular season or playoff season.sequence numbers rounds and weeks within the season. Pass a period's id as period to sofascore/team-of-the-week.periods list is valid: it means no team of the week has been published for the season yet. A season SofaScore has no team-of-the-week data for answers 404.Example response (shortened):
{
"code": 200,
"msg": "OK",
"data": {
"tournament_id": 17,
"season_id": 96668,
"count": 5,
"source_url": "https://api.sofascore.com/api/v1/unique-tournament/17/season/96668/team-of-the-week/periods",
"fetched_at": "2026-10-07T14:00:00Z",
"periods": [
{
"id": 29321,
"type": "round",
"name": "round",
"sequence": 5,
"round": 5,
"round_name": "5",
"created_at": "2026-09-21T07:35:54Z"
}
]
}
}
| Field | Filled in, of 6 checked | Values in the sample |
|---|---|---|
| id | 6 | |
| type | 6 | round in all 6 |
| name | 6 | round in all 6 |
| sequence | 6 | 1 to 6, median 3 |
| round | 6 | 1 to 6, median 3 |
| round_name | 6 | 1 to 6, median 3 |
| created_at | 6 | 2026-08-25 to 2026-10-13 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id | string | Yes | Numeric SofaScore unique-tournament (competition) id | 17 | |
| season | string | Yes | Numeric SofaScore season id | 96668 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/sofascore/team-of-the-week-periods?id=17&season=96668" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"tournament_id": 17,
"season_id": 96668,
"count": 5,
"source_url": "https://api.sofascore.com/api/v1/unique-tournament/17/season/96668/team-of-the-week/periods",
"fetched_at": "2026-10-07T14:00:00Z",
"periods": [
{
"id": 29321,
"type": "round",
"name": "round",
"sequence": 5,
"round": 5,
"round_name": "5",
"created_at": "2026-09-21T07:35:54Z"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/sofascore.teamOfTheWeekPeriodsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | sofascore.TeamOfTheWeekPeriodsResponse | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.periods | array | No | TeamOfTheWeekPeriod record, 9 fields: created_at, date_from, date_to, id, name, round, round_name, sequence, type. Described under SofaScore team of the week API. | |||
| data.season_id | integer | No | ||||
| data.source_url | string | No | ||||
| data.tournament_id | integer | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/sofascore/team-of-the-week-periods?id=17&season=96668" \
-H "x-api-key: $CRAWLORA_API_KEY"