/v1/players
Search players by name
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/sportsdb-api/v1/players" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sportsdb-api/v1/players", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sportsdb-api/v1/players");
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/players",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 1,
"query": "Lionel Messi",
"players": [
{
"id": "34146370",
"born": "1987-06-24",
"name": "Lionel Messi",
"team": "Inter Miami",
"sport": "Soccer",
"thumb": "https://r2.thesportsdb.com/images/media/player/thumb/kpfsvp1725295651.jpg",
"cutout": "https://r2.thesportsdb.com/images/media/player/cutout/e0i2051750317027.png",
"height": null,
"weight": null,
"position": "Right Winger",
"description": null,
"nationality": "Argentina",
"birth_location": null
}
]
},
"meta": {
"timestamp": "2026-06-01T16:23:45.295Z",
"request_id": "844623ba-0a8a-418f-bd0a-a5f4557f2f34"
},
"status": "ok",
"message": "Players retrieved",
"success": true
}