---
title: "SofaScore team statistics seasons"
method: GET
path: "/sofascore/team-statistics-seasons"
tags: ["SofaScore"]
---

# SofaScore team statistics seasons

`GET /sofascore/team-statistics-seasons`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/sofascore/team-statistics-seasons`
- Auth: API key in header `x-api-key`

Lists the competitions and seasons a team has statistics for, with the statistics `types` available for each season. Use a returned competition id (`unique_tournament_id`), season `id` and one of its `types` with team-season-statistics. The `types` values are `overall`, `home`, `away`, `regular_season`, and `playoffs`. Returns 404 for teams with no tracked statistics.

## Query parameters

- `id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreTeamStatisticsSeasonsResponseDoc
  - `code` integer
  - `data` SofascoreTeamStatisticsSeasonsResponse
    - `count` integer
    - `fetched_at` string
    - `source_url` string
    - `team_id` integer
    - `tournaments` SofascoreStatisticsTournament[]
      - `category` string
      - `name` string
      - `seasons` SofascoreStatisticsSeason[]
        - `id` integer
        - `name` string
        - `types` string[]
        - `year` string
      - `slug` string
      - `unique_tournament_id` integer
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
