Endpoint Playground
Returns a team's players for a season: the `squad` (appearances, minutes, goals), `arrivals` or `departures` with the columns the site publishes for each. Player names come in the site's `Surname, Forename` order.
curl 'https://api.crawlora.net/api/v1/fussballde/team-squad?team_id=011MI8V6UC000000VTVG0001VTR8C1K7&kind=squad' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| team_id | string | Yes | 011MI8V6UC000000VTVG0001VTR8C1K7 | Team id, see fussballde-team |
| season | string | No | Four-digit season code, default current season | |
| kind | string | No | squad | Player list kind, default squad |
{
"code": 200,
"msg": "OK",
"data": {
"columns": [
"Spieler",
"Einsätze"
],
"count": 5,
"kind": "squad",
"players": [
{
"appearances": 6,
"cells": [
"6",
"540"
],
"goals": 0,
"minutes": 540,
"name": "Anton, Waldemar",
"player_id": "02205300QG000000VS541L4IVV1IV37M"
},
{
"appearances": 6,
"cells": [
"6",
"540"
],
"goals": 0,
"minutes": 540,
"name": "Kobel, Gregor",
"player_id": "022052VS0K000000VS541L4IVV1IV37M"
}
],
"season": "2627",
"team_id": "011MI8V6UC000000VTVG0001VTR8C1K7"
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.