---
title: "SofaScore teams of a competition season"
method: GET
path: "/sofascore/tournament-teams"
tags: ["SofaScore"]
---

# SofaScore teams of a competition season

`GET /sofascore/tournament-teams`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/sofascore/tournament-teams`
- Auth: API key in header `x-api-key`

Returns every team (or, for tennis and other individual sports, every player) entered in a competition season, with id, name, short name, name code, country, gender, type (`0` team, `1` individual player) and, for individual players, the current ranking. Use the team ids with team, team-players and the `team` filter of tournament-player-statistics. A season id that does not belong to the competition, or a field not yet decided, answers 404. Get `id` from search and `season` from tournament-seasons.

## Query parameters

- `id` string, required
- `season` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreTournamentTeamsResponseDoc
  - `code` integer
  - `data` SofascoreTournamentTeamsResponse
    - `count` integer
    - `fetched_at` string
    - `season_id` integer
    - `source_url` string
    - `teams` SofascoreSeasonTeam[]
      - `country` string
      - `country_code` string
      - `gender` string
      - `id` integer
      - `name` string
      - `name_code` string
      - `national` boolean
      - `ranking` integer
      - `short_name` string
      - `slug` string
      - `sport` string
      - `type` integer: Type is the upstream competitor type: 0 for a team, 1 for an individual player; other codes (for example doubles pairs) are passed through.
      - `user_count` integer
    - `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)
