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

# SofaScore team season statistics

`GET /sofascore/team-season-statistics`

## Request

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

Returns a team's statistics for one competition season (goals, shots, passing, duels, discipline, and the matching conceded-side metrics) as a snake_case metric map. The `type` enum accepts `overall`, `home`, `away`, `regular_season`, and `playoffs` and defaults to `overall`; only the types listed for that season by team-statistics-seasons exist (football teams have `overall` only; basketball, ice hockey and baseball teams have `regular_season` and `playoffs`). Returns 404 when SofaScore has no statistics of that type for the combination.

## Query parameters

- `id` string, required
- `tournament_id` string, required
- `season` string, required
- `type` 'overall' | 'home' | 'away' | 'regular_season' | 'playoffs'

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreTeamSeasonStatisticsResponseDoc
  - `code` integer
  - `data` SofascoreTeamSeasonStatisticsResponse
    - `fetched_at` string
    - `season` integer
    - `source_url` string
    - `statistics` object
    - `team_id` integer
    - `tournament_id` integer
    - `type` string
  - `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/028417aa35bb?raw)
