# SofaScore team squad API

Get SofaScore Team Squad data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Apish, pass parameters such as output, raw, team_id, and retrieve structured data including sofaScore player identifier, player full display name, primary playing position code, squad jersey number, and player nationality to build club roster tables, audit squad valuation and depth, and seed player detail lookups.

Documentation: https://openany.si/sofascore/sofascore-team-squad-api/cfb4617d-e598-47a1-bb72-1be737b6cff8/
API ID: cfb4617d-e598-47a1-bb72-1be737b6cff8
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/sofascore/v1/team/players
Page update time: 2026-12-03T02:55:26.316Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:55:25.902Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## SofaScore Team Squad API

Pass team\_id as a SofaScore numeric ID or team URL to retrieve the club's current squad. The response includes players\[\], foreign\_players\[\] and national\_players\[\], each listing identity, position, shirt\_number, country, height, contract\_until and market\_value.

## What You Can Build

- **Build club roster tables**: Group players\[\] by position with shirt numbers, nationalities, heights and contract dates.
- **Audit squad valuation and depth**: Sum players\[\].market\_value.value and compare foreign\_players\[\] and national\_players\[\] counts.
- **Seed player detail lookups**: Pass players\[\].id into Player API, Player Season Stats API or Player Transfers API.

## Returned Data

| Field | Meaning |
| --- | --- |
| `count` | Number of players in the squad |
| `players[].id` | SofaScore player identifier |
| `players[].name` | Player full display name |
| `players[].position` | Primary playing position code |
| `players[].shirt_number` | Squad jersey number |
| `players[].country` | Player nationality |
| `players[].height` | Player height in centimeters |
| `players[].contract_until` | Contract expiration date |
| `players[].market_value.value` | Estimated player market value |
| `foreign_players[].name` | Names of foreign squad members |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SofaScore team squad API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "team_id": {
          "type": "string",
          "description": "SofaScore team id or a team link (sofascore.com/football/team/arsenal/42). 42 = Arsenal."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "team_id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "foreign_players": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contract_until": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "date_of_birth": {
            "type": "string"
          },
          "height": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "market_value": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string"
              },
              "value": {
                "type": "integer"
              }
            }
          },
          "name": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "preferred_foot": {
            "type": "string"
          },
          "shirt_number": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "national_players": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contract_until": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "date_of_birth": {
            "type": "string"
          },
          "height": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "market_value": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string"
              },
              "value": {
                "type": "integer"
              }
            }
          },
          "name": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "preferred_foot": {
            "type": "string"
          },
          "shirt_number": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "players": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contract_until": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "country": {
            "type": "string"
          },
          "date_of_birth": {
            "type": "string"
          },
          "height": {
            "type": "integer"
          },
          "id": {
            "type": "integer"
          },
          "market_value": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string"
              },
              "value": {
                "type": "integer"
              }
            }
          },
          "name": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "preferred_foot": {
            "type": "string"
          },
          "shirt_number": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "team_id": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/sofascore/v1/team/players?output=json&raw=0&team_id=42' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 24,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:23:13.802Z",
  "foreign_players": [
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Brazil",
      "date_of_birth": "1997-11-16T00:00:00.000Z",
      "height": 182,
      "id": 866469,
      "market_value": {
        "currency": "EUR",
        "value": 77000000
      },
      "name": "Bruno Guimarães",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 39,
      "slug": "bruno-guimaraes",
      "url": "https://www.sofascore.com/football/player/bruno-guimaraes/866469"
    },
    {
      "contract_until": "2029-06-30T00:00:00.000Z",
      "country": "Brazil",
      "date_of_birth": "1997-12-19T00:00:00.000Z",
      "height": 190,
      "id": 869792,
      "market_value": {
        "currency": "EUR",
        "value": 70000000
      },
      "name": "Gabriel Magalhães",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 6,
      "slug": "gabriel-magalhaes",
      "url": "https://www.sofascore.com/football/player/gabriel-magalhaes/869792"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Germany",
      "date_of_birth": "1999-06-11T00:00:00.000Z",
      "height": 193,
      "id": 836705,
      "market_value": {
        "currency": "EUR",
        "value": 58000000
      },
      "name": "Kai Havertz",
      "position": "F",
      "preferred_foot": "Left",
      "shirt_number": 29,
      "slug": "kai-havertz",
      "url": "https://www.sofascore.com/football/player/kai-havertz/836705"
    },
    {
      "contract_until": "2031-06-30T00:00:00.000Z",
      "country": "Ecuador",
      "date_of_birth": "2002-01-09T00:00:00.000Z",
      "height": 184,
      "id": 1002837,
      "market_value": {
        "currency": "EUR",
        "value": 46000000
      },
      "name": "Piero Hincapié",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 5,
      "slug": "piero-hincapie",
      "url": "https://www.sofascore.com/football/player/piero-hincapie/1002837"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "2004-06-27T00:00:00.000Z",
      "height": 191,
      "id": 1144630,
      "market_value": {
        "currency": "EUR",
        "value": 38000000
      },
      "name": "Cristhian Mosquera",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 3,
      "slug": "cristhian-mosquera",
      "url": "https://www.sofascore.com/football/player/cristhian-mosquera/1144630"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1995-09-15T00:00:00.000Z",
      "height": 186,
      "id": 581310,
      "market_value": {
        "currency": "EUR",
        "value": 33000000
      },
      "name": "David Raya",
      "position": "G",
      "preferred_foot": "Right",
      "shirt_number": 1,
      "slug": "david-raya",
      "url": "https://www.sofascore.com/football/player/david-raya/581310"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1994-10-03T00:00:00.000Z",
      "height": 188,
      "id": 232422,
      "market_value": {
        "currency": "EUR",
        "value": 5300000
      },
      "name": "Kepa Arrizabalaga",
      "position": "G",
      "preferred_foot": "Right",
      "shirt_number": 13,
      "slug": "kepa-arrizabalaga",
      "url": "https://www.sofascore.com/football/player/kepa-arrizabalaga/232422"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1999-02-02T00:00:00.000Z",
      "height": 181,
      "id": 966837,
      "market_value": {
        "currency": "EUR",
        "value": 67000000
      },
      "name": "Martín Zubimendi",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 36,
      "slug": "martin-zubimendi",
      "url": "https://www.sofascore.com/football/player/martin-zubimendi/966837"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1996-06-22T00:00:00.000Z",
      "height": 188,
      "id": 592010,
      "market_value": {
        "currency": "EUR",
        "value": 26000000
      },
      "name": "Mikel Merino",
      "position": "M",
      "preferred_foot": "Left",
      "shirt_number": 23,
      "slug": "mikel-merino",
      "url": "https://www.sofascore.com/football/player/mikel-merino/592010"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "France",
      "date_of_birth": "2000-03-02T00:00:00.000Z",
      "height": 196,
      "id": 906076,
      "market_value": {
        "currency": "EUR",
        "value": 5600000
      },
      "name": "Illan Meslier",
      "position": "G",
      "preferred_foot": "Left",
      "shirt_number": 30,
      "slug": "illan-meslier",
      "url": "https://www.sofascore.com/football/player/illan-meslier/906076"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "France",
      "date_of_birth": "2001-03-24T00:00:00.000Z",
      "height": 193,
      "id": 941168,
      "market_value": {
        "currency": "EUR",
        "value": 94000000
      },
      "name": "William Saliba",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 2,
      "slug": "william-saliba",
      "url": "https://www.sofascore.com/football/player/william-saliba/941168"
    },
    {
      "contract_until": "2031-06-30T00:00:00.000Z",
      "country": "Greece",
      "date_of_birth": "2002-01-30T00:00:00.000Z",
      "height": 180,
      "id": 1031259,
      "market_value": {
        "currency": "EUR",
        "value": 42000000
      },
      "name": "Christos Tzolis",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 17,
      "slug": "christos-tzolis",
      "url": "https://www.sofascore.com/football/player/christos-tzolis/1031259"
    },
    {
      "contract_until": "2029-06-30T00:00:00.000Z",
      "country": "Italy",
      "date_of_birth": "2002-05-19T00:00:00.000Z",
      "height": 188,
      "id": 957602,
      "market_value": {
        "currency": "EUR",
        "value": 63000000
      },
      "name": "Riccardo Calafiori",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 33,
      "slug": "riccardo-calafiori",
      "url": "https://www.sofascore.com/football/player/riccardo-calafiori/957602"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Netherlands",
      "date_of_birth": "2001-06-17T00:00:00.000Z",
      "height": 179,
      "id": 958959,
      "market_value": {
        "currency": "EUR",
        "value": 73000000
      },
      "name": "Jurriën Timber",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 12,
      "slug": "jurrien-timber",
      "url": "https://www.sofascore.com/football/player/jurrien-timber/958959"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Norway",
      "date_of_birth": "1998-12-17T00:00:00.000Z",
      "height": 178,
      "id": 547410,
      "market_value": {
        "currency": "EUR",
        "value": 88000000
      },
      "name": "Martin Ødegaard",
      "position": "M",
      "preferred_foot": "Left",
      "shirt_number": 8,
      "slug": "martin-degaard",
      "url": "https://www.sofascore.com/football/player/martin-degaard/547410"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Sweden",
      "date_of_birth": "1998-06-04T00:00:00.000Z",
      "height": 187,
      "id": 804508,
      "market_value": {
        "currency": "EUR",
        "value": 52000000
      },
      "name": "Viktor Gyökeres",
      "position": "F",
      "preferred_foot": "Right",
      "shirt_number": 14,
      "slug": "viktor-gyokeres",
      "url": "https://www.sofascore.com/football/player/viktor-gyokeres/804508"
    }
  ],
  "national_players": [
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Norway",
      "date_of_birth": "1998-12-17T00:00:00.000Z",
      "height": 178,
      "id": 547410,
      "market_value": {
        "currency": "EUR",
        "value": 88000000
      },
      "name": "Martin Ødegaard",
      "position": "M",
      "preferred_foot": "Left",
      "shirt_number": 8,
      "slug": "martin-degaard",
      "url": "https://www.sofascore.com/football/player/martin-degaard/547410"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1995-09-15T00:00:00.000Z",
      "height": 186,
      "id": 581310,
      "market_value": {
        "currency": "EUR",
        "value": 33000000
      },
      "name": "David Raya",
      "position": "G",
      "preferred_foot": "Right",
      "shirt_number": 1,
      "slug": "david-raya",
      "url": "https://www.sofascore.com/football/player/david-raya/581310"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1996-06-22T00:00:00.000Z",
      "height": 188,
      "id": 592010,
      "market_value": {
        "currency": "EUR",
        "value": 26000000
      },
      "name": "Mikel Merino",
      "position": "M",
      "preferred_foot": "Left",
      "shirt_number": 23,
      "slug": "mikel-merino",
      "url": "https://www.sofascore.com/football/player/mikel-merino/592010"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Sweden",
      "date_of_birth": "1998-06-04T00:00:00.000Z",
      "height": 187,
      "id": 804508,
      "market_value": {
        "currency": "EUR",
        "value": 52000000
      },
      "name": "Viktor Gyökeres",
      "position": "F",
      "preferred_foot": "Right",
      "shirt_number": 14,
      "slug": "viktor-gyokeres",
      "url": "https://www.sofascore.com/football/player/viktor-gyokeres/804508"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "1997-10-23T00:00:00.000Z",
      "height": 183,
      "id": 827679,
      "market_value": {
        "currency": "EUR",
        "value": 53000000
      },
      "name": "Ezri Konsa",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 15,
      "slug": "ezri-konsa",
      "url": "https://www.sofascore.com/football/player/ezri-konsa/827679"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Germany",
      "date_of_birth": "1999-06-11T00:00:00.000Z",
      "height": 193,
      "id": 836705,
      "market_value": {
        "currency": "EUR",
        "value": 58000000
      },
      "name": "Kai Havertz",
      "position": "F",
      "preferred_foot": "Left",
      "shirt_number": 29,
      "slug": "kai-havertz",
      "url": "https://www.sofascore.com/football/player/kai-havertz/836705"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "1997-10-08T00:00:00.000Z",
      "height": 186,
      "id": 846036,
      "market_value": {
        "currency": "EUR",
        "value": 32000000
      },
      "name": "Ben White",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 4,
      "slug": "ben-white",
      "url": "https://www.sofascore.com/football/player/ben-white/846036"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "1999-01-14T00:00:00.000Z",
      "height": 188,
      "id": 856714,
      "market_value": {
        "currency": "EUR",
        "value": 114000000
      },
      "name": "Declan Rice",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 41,
      "slug": "declan-rice",
      "url": "https://www.sofascore.com/football/player/declan-rice/856714"
    },
    {
      "contract_until": "2029-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "1998-06-29T00:00:00.000Z",
      "height": 178,
      "id": 864921,
      "market_value": {
        "currency": "EUR",
        "value": 63000000
      },
      "name": "Eberechi Eze",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 10,
      "slug": "eberechi-eze",
      "url": "https://www.sofascore.com/football/player/eberechi-eze/864921"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Brazil",
      "date_of_birth": "1997-11-16T00:00:00.000Z",
      "height": 182,
      "id": 866469,
      "market_value": {
        "currency": "EUR",
        "value": 77000000
      },
      "name": "Bruno Guimarães",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 39,
      "slug": "bruno-guimaraes",
      "url": "https://www.sofascore.com/football/player/bruno-guimaraes/866469"
    },
    {
      "contract_until": "2029-06-30T00:00:00.000Z",
      "country": "Brazil",
      "date_of_birth": "1997-12-19T00:00:00.000Z",
      "height": 190,
      "id": 869792,
      "market_value": {
        "currency": "EUR",
        "value": 70000000
      },
      "name": "Gabriel Magalhães",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 6,
      "slug": "gabriel-magalhaes",
      "url": "https://www.sofascore.com/football/player/gabriel-magalhaes/869792"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "2001-09-05T00:00:00.000Z",
      "height": 178,
      "id": 934235,
      "market_value": {
        "currency": "EUR",
        "value": 115000000
      },
      "name": "Bukayo Saka",
      "position": "F",
      "preferred_foot": "Left",
      "shirt_number": 7,
      "slug": "bukayo-saka",
      "url": "https://www.sofascore.com/football/player/bukayo-saka/934235"
    },
    {
      "contract_until": "2029-06-30T00:00:00.000Z",
      "country": "Italy",
      "date_of_birth": "2002-05-19T00:00:00.000Z",
      "height": 188,
      "id": 957602,
      "market_value": {
        "currency": "EUR",
        "value": 63000000
      },
      "name": "Riccardo Calafiori",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 33,
      "slug": "riccardo-calafiori",
      "url": "https://www.sofascore.com/football/player/riccardo-calafiori/957602"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Netherlands",
      "date_of_birth": "2001-06-17T00:00:00.000Z",
      "height": 179,
      "id": 958959,
      "market_value": {
        "currency": "EUR",
        "value": 73000000
      },
      "name": "Jurriën Timber",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 12,
      "slug": "jurrien-timber",
      "url": "https://www.sofascore.com/football/player/jurrien-timber/958959"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1999-02-02T00:00:00.000Z",
      "height": 181,
      "id": 966837,
      "market_value": {
        "currency": "EUR",
        "value": 67000000
      },
      "name": "Martín Zubimendi",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 36,
      "slug": "martin-zubimendi",
      "url": "https://www.sofascore.com/football/player/martin-zubimendi/966837"
    },
    {
      "contract_until": "2031-06-30T00:00:00.000Z",
      "country": "Ecuador",
      "date_of_birth": "2002-01-09T00:00:00.000Z",
      "height": 184,
      "id": 1002837,
      "market_value": {
        "currency": "EUR",
        "value": 46000000
      },
      "name": "Piero Hincapié",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 5,
      "slug": "piero-hincapie",
      "url": "https://www.sofascore.com/football/player/piero-hincapie/1002837"
    },
    {
      "contract_until": "2031-06-30T00:00:00.000Z",
      "country": "Greece",
      "date_of_birth": "2002-01-30T00:00:00.000Z",
      "height": 180,
      "id": 1031259,
      "market_value": {
        "currency": "EUR",
        "value": 42000000
      },
      "name": "Christos Tzolis",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 17,
      "slug": "christos-tzolis",
      "url": "https://www.sofascore.com/football/player/christos-tzolis/1031259"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "2006-09-26T00:00:00.000Z",
      "height": 178,
      "id": 1423711,
      "market_value": {
        "currency": "EUR",
        "value": 69000000
      },
      "name": "Myles Lewis-Skelly",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 49,
      "slug": "lewis-skelly-myles",
      "url": "https://www.sofascore.com/football/player/lewis-skelly-myles/1423711"
    }
  ],
  "players": [
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Sweden",
      "date_of_birth": "1998-06-04T00:00:00.000Z",
      "height": 187,
      "id": 804508,
      "market_value": {
        "currency": "EUR",
        "value": 52000000
      },
      "name": "Viktor Gyökeres",
      "position": "F",
      "preferred_foot": "Right",
      "shirt_number": 14,
      "slug": "viktor-gyokeres",
      "url": "https://www.sofascore.com/football/player/viktor-gyokeres/804508"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "2001-09-05T00:00:00.000Z",
      "height": 178,
      "id": 934235,
      "market_value": {
        "currency": "EUR",
        "value": 115000000
      },
      "name": "Bukayo Saka",
      "position": "F",
      "preferred_foot": "Left",
      "shirt_number": 7,
      "slug": "bukayo-saka",
      "url": "https://www.sofascore.com/football/player/bukayo-saka/934235"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Germany",
      "date_of_birth": "1999-06-11T00:00:00.000Z",
      "height": 193,
      "id": 836705,
      "market_value": {
        "currency": "EUR",
        "value": 58000000
      },
      "name": "Kai Havertz",
      "position": "F",
      "preferred_foot": "Left",
      "shirt_number": 29,
      "slug": "kai-havertz",
      "url": "https://www.sofascore.com/football/player/kai-havertz/836705"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "2002-03-10T00:00:00.000Z",
      "height": 182,
      "id": 966547,
      "market_value": {
        "currency": "EUR",
        "value": 48000000
      },
      "name": "Noni Madueke",
      "position": "F",
      "preferred_foot": "Left",
      "shirt_number": 20,
      "slug": "noni-madueke",
      "url": "https://www.sofascore.com/football/player/noni-madueke/966547"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Norway",
      "date_of_birth": "1998-12-17T00:00:00.000Z",
      "height": 178,
      "id": 547410,
      "market_value": {
        "currency": "EUR",
        "value": 88000000
      },
      "name": "Martin Ødegaard",
      "position": "M",
      "preferred_foot": "Left",
      "shirt_number": 8,
      "slug": "martin-degaard",
      "url": "https://www.sofascore.com/football/player/martin-degaard/547410"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "1999-01-14T00:00:00.000Z",
      "height": 188,
      "id": 856714,
      "market_value": {
        "currency": "EUR",
        "value": 114000000
      },
      "name": "Declan Rice",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 41,
      "slug": "declan-rice",
      "url": "https://www.sofascore.com/football/player/declan-rice/856714"
    },
    {
      "contract_until": "2029-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "1998-06-29T00:00:00.000Z",
      "height": 178,
      "id": 864921,
      "market_value": {
        "currency": "EUR",
        "value": 63000000
      },
      "name": "Eberechi Eze",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 10,
      "slug": "eberechi-eze",
      "url": "https://www.sofascore.com/football/player/eberechi-eze/864921"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Brazil",
      "date_of_birth": "1997-11-16T00:00:00.000Z",
      "height": 182,
      "id": 866469,
      "market_value": {
        "currency": "EUR",
        "value": 77000000
      },
      "name": "Bruno Guimarães",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 39,
      "slug": "bruno-guimaraes",
      "url": "https://www.sofascore.com/football/player/bruno-guimaraes/866469"
    },
    {
      "contract_until": "2031-06-30T00:00:00.000Z",
      "country": "Greece",
      "date_of_birth": "2002-01-30T00:00:00.000Z",
      "height": 180,
      "id": 1031259,
      "market_value": {
        "currency": "EUR",
        "value": 42000000
      },
      "name": "Christos Tzolis",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 17,
      "slug": "christos-tzolis",
      "url": "https://www.sofascore.com/football/player/christos-tzolis/1031259"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1996-06-22T00:00:00.000Z",
      "height": 188,
      "id": 592010,
      "market_value": {
        "currency": "EUR",
        "value": 26000000
      },
      "name": "Mikel Merino",
      "position": "M",
      "preferred_foot": "Left",
      "shirt_number": 23,
      "slug": "mikel-merino",
      "url": "https://www.sofascore.com/football/player/mikel-merino/592010"
    },
    {
      "contract_until": null,
      "country": "England",
      "date_of_birth": "2009-12-31T00:00:00.000Z",
      "height": 183,
      "id": 1917626,
      "market_value": {
        "currency": "EUR",
        "value": 52000000
      },
      "name": "Max Dowman",
      "position": "M",
      "preferred_foot": "Left",
      "shirt_number": 56,
      "slug": "max-dowman",
      "url": "https://www.sofascore.com/football/player/max-dowman/1917626"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1999-02-02T00:00:00.000Z",
      "height": 181,
      "id": 966837,
      "market_value": {
        "currency": "EUR",
        "value": 67000000
      },
      "name": "Martín Zubimendi",
      "position": "M",
      "preferred_foot": "Right",
      "shirt_number": 36,
      "slug": "martin-zubimendi",
      "url": "https://www.sofascore.com/football/player/martin-zubimendi/966837"
    },
    {
      "contract_until": "2029-06-30T00:00:00.000Z",
      "country": "Brazil",
      "date_of_birth": "1997-12-19T00:00:00.000Z",
      "height": 190,
      "id": 869792,
      "market_value": {
        "currency": "EUR",
        "value": 70000000
      },
      "name": "Gabriel Magalhães",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 6,
      "slug": "gabriel-magalhaes",
      "url": "https://www.sofascore.com/football/player/gabriel-magalhaes/869792"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "France",
      "date_of_birth": "2001-03-24T00:00:00.000Z",
      "height": 193,
      "id": 941168,
      "market_value": {
        "currency": "EUR",
        "value": 94000000
      },
      "name": "William Saliba",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 2,
      "slug": "william-saliba",
      "url": "https://www.sofascore.com/football/player/william-saliba/941168"
    },
    {
      "contract_until": "2031-06-30T00:00:00.000Z",
      "country": "Ecuador",
      "date_of_birth": "2002-01-09T00:00:00.000Z",
      "height": 184,
      "id": 1002837,
      "market_value": {
        "currency": "EUR",
        "value": 46000000
      },
      "name": "Piero Hincapié",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 5,
      "slug": "piero-hincapie",
      "url": "https://www.sofascore.com/football/player/piero-hincapie/1002837"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Netherlands",
      "date_of_birth": "2001-06-17T00:00:00.000Z",
      "height": 179,
      "id": 958959,
      "market_value": {
        "currency": "EUR",
        "value": 73000000
      },
      "name": "Jurriën Timber",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 12,
      "slug": "jurrien-timber",
      "url": "https://www.sofascore.com/football/player/jurrien-timber/958959"
    },
    {
      "contract_until": "2029-06-30T00:00:00.000Z",
      "country": "Italy",
      "date_of_birth": "2002-05-19T00:00:00.000Z",
      "height": 188,
      "id": 957602,
      "market_value": {
        "currency": "EUR",
        "value": 63000000
      },
      "name": "Riccardo Calafiori",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 33,
      "slug": "riccardo-calafiori",
      "url": "https://www.sofascore.com/football/player/riccardo-calafiori/957602"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "2006-09-26T00:00:00.000Z",
      "height": 178,
      "id": 1423711,
      "market_value": {
        "currency": "EUR",
        "value": 69000000
      },
      "name": "Myles Lewis-Skelly",
      "position": "D",
      "preferred_foot": "Left",
      "shirt_number": 49,
      "slug": "lewis-skelly-myles",
      "url": "https://www.sofascore.com/football/player/lewis-skelly-myles/1423711"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "2004-06-27T00:00:00.000Z",
      "height": 191,
      "id": 1144630,
      "market_value": {
        "currency": "EUR",
        "value": 38000000
      },
      "name": "Cristhian Mosquera",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 3,
      "slug": "cristhian-mosquera",
      "url": "https://www.sofascore.com/football/player/cristhian-mosquera/1144630"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "1997-10-08T00:00:00.000Z",
      "height": 186,
      "id": 846036,
      "market_value": {
        "currency": "EUR",
        "value": 32000000
      },
      "name": "Ben White",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 4,
      "slug": "ben-white",
      "url": "https://www.sofascore.com/football/player/ben-white/846036"
    },
    {
      "contract_until": "2030-06-30T00:00:00.000Z",
      "country": "England",
      "date_of_birth": "1997-10-23T00:00:00.000Z",
      "height": 183,
      "id": 827679,
      "market_value": {
        "currency": "EUR",
        "value": 53000000
      },
      "name": "Ezri Konsa",
      "position": "D",
      "preferred_foot": "Right",
      "shirt_number": 15,
      "slug": "ezri-konsa",
      "url": "https://www.sofascore.com/football/player/ezri-konsa/827679"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1995-09-15T00:00:00.000Z",
      "height": 186,
      "id": 581310,
      "market_value": {
        "currency": "EUR",
        "value": 33000000
      },
      "name": "David Raya",
      "position": "G",
      "preferred_foot": "Right",
      "shirt_number": 1,
      "slug": "david-raya",
      "url": "https://www.sofascore.com/football/player/david-raya/581310"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "Spain",
      "date_of_birth": "1994-10-03T00:00:00.000Z",
      "height": 188,
      "id": 232422,
      "market_value": {
        "currency": "EUR",
        "value": 5300000
      },
      "name": "Kepa Arrizabalaga",
      "position": "G",
      "preferred_foot": "Right",
      "shirt_number": 13,
      "slug": "kepa-arrizabalaga",
      "url": "https://www.sofascore.com/football/player/kepa-arrizabalaga/232422"
    },
    {
      "contract_until": "2028-06-30T00:00:00.000Z",
      "country": "France",
      "date_of_birth": "2000-03-02T00:00:00.000Z",
      "height": 196,
      "id": 906076,
      "market_value": {
        "currency": "EUR",
        "value": 5600000
      },
      "name": "Illan Meslier",
      "position": "G",
      "preferred_foot": "Left",
      "shirt_number": 30,
      "slug": "illan-meslier",
      "url": "https://www.sofascore.com/football/player/illan-meslier/906076"
    }
  ],
  "team_id": 42
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What is the difference between players[], foreign_players[] and national_players[]?
players[] contains the full squad roster, while foreign_players[] and national_players[] provide SofaScore's foreign and international-player subsets.

### Are contract expiration dates and market values included?
Yes. Each player entry includes contract_until and market_value (value and currency) when published.

### Can team_id be a SofaScore team link?
Yes. Pass either a numeric team ID such as 42 or a SofaScore team URL.

### Does this endpoint return a match-day starting eleven?
No. Use the SofaScore Event Line-ups API for match-specific starting elevens and formations.

### How do I refresh squad rosters after transfer deadline day?
Pass fresh=1 to skip the 24-hour cache and pull live squad data.

### Can I trim payload size or export CSV?
Output is JSON only. Pass raw=0 to omit raw blocks or specify fields.

## Available implementations
- apish: https://openany.si/sofascore/sofascore-team-squad-api/cfb4617d-e598-47a1-bb72-1be737b6cff8/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
