Ir al contenido
GET /v1/squad

Players in a team

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/sportsdb-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/sportsdb-api/v1/squad" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sportsdb-api/v1/squad", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sportsdb-api/v1/squad");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/sportsdb-api/v1/squad",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "count": 10,
        "players": [
            {
                "id": "34433685",
                "born": "1970-08-05",
                "name": "Albert Stuivenberg",
                "team": "Arsenal",
                "sport": "Soccer",
                "thumb": "https://r2.thesportsdb.com/images/media/player/thumb/ifh45x1767708245.jpg",
                "cutout": "https://r2.thesportsdb.com/images/media/player/cutout/1aq3m51767708263.png",
                "height": "1.72 m (5 ft 8 in)",
                "weight": null,
                "position": "Assistant Coach",
                "description": "Albert Stuivenberg (Dutch pronunciation: ; born 5 August 1970) is a Dutch professional football coach and former player who is currently the assistant manager of Premier League club Arsenal. Stuivenberg played professionally for Telstar and HFC Haarlem, before suffering a serious injury and moving into coaching with Feyenoord and RWD Molenbeek. He then coached the youth team at Al Jazira and the Netherlands under-17 and under-21 national teams. He was appointed as assistant coach to Louis van Gaal at Manchester United in 2014, before making his managerial debut with Genk in 2017. Stuivenberg became assistant manager to Ryan Giggs for the Wales national team in 2018, before joining Arsenal in December 2019.",
                "nationality": "The Netherlands",
                "birth_location": "Rotterdam, Netherlands"
            },
            {
                "id": "34163698",
                "born": "1997-11-08",
                "name": "Ben White",
                "team": "Arsenal",
                "sport": "Soccer",
                "thumb": "https://r2.thesportsdb.com/images/media/player/thumb/5mnqcl1628887228.jpg",
                "cutout": "https://r2.thesportsdb.com/images/media/player/cutout/78nyo71769331924.png",
                "height": "6 ft 1 in (1.85 m)",
                "weight": "78 kg",
                "position": "Right-Back",
                "description": "Benjamin William White (born 8 October 1997) is an English professional footballer who plays as a centre-back for Premier League club Arsenal and the England national team. Whilst with Brighton & Hove Albion, White had spells on loan at Newport County of League Two, Peterborough United of League One and Leeds United. At Leeds he played in every game, helping them win the 2019–20 Championship and gain promotion to the Premier League. White has played in all top four English leagues, making his way up from League Two to the Premier League in the space of four seasons. In the summer of 2020, speculation regarding his football future was rife, with Leeds public on their eagerness to sign White on a permanent deal and other clubs registering their interest. Ultimately, he stayed on the south coast, signing a long term contract at Brighton. He made 36 Premier League appearances in the 2020–21 season, winning Brighton's 2020–21 player of the season award. White was name
…