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

# SofaScore team detail

`GET /sofascore/team`

## Request

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

Returns one SofaScore team by numeric `id`: name, short name, country, sport, manager, venue with its city and capacity, primary colour, and national-team flag. `tournament_id` and `tournament_name` give the team's primary competition, such as its domestic league. An unknown id returns an upstream error.

## Query parameters

- `id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreTeamResponseDoc
  - `code` integer
  - `data` SofascoreTeamResponse
    - `fetched_at` string
    - `source_url` string
    - `team` SofascoreTeamDetail
      - `country` string: Country the team belongs to.
      - `id` integer: SofaScore team id. Use it with the team endpoints.
      - `manager` string
      - `name` string: Full team name.
      - `national` boolean: True for a national team.
      - `primary_color` string
      - `short_name` string: Shortened team name.
      - `slug` string: URL slug of the team on SofaScore.
      - `sport` string
      - `tournament_id` integer
      - `tournament_name` string
      - `venue` string
      - `venue_capacity` integer
      - `venue_city` 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)
