Vai al contenuto
GET /v1/player

Player profile

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/nfl-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/nfl-api/v1/player" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nfl-api/v1/player", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nfl-api/v1/player");
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/nfl-api/v1/player",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "player": {
            "id": "3139477",
            "age": 30,
            "name": "Patrick Mahomes",
            "team": "Kansas City Chiefs",
            "active": true,
            "height": "6' 2\"",
            "jersey": "15",
            "status": "active",
            "weight": "225 lbs",
            "college": "Texas Tech",
            "headshot": "https://a.espncdn.com/i/headshots/nfl/players/full/3139477.png",
            "position": "QB",
            "last_name": "Mahomes",
            "experience": "10th Season",
            "first_name": "Patrick",
            "date_of_birth": "17/9/1995",
            "position_name": "Quarterback"
        }
    },
    "meta": {
        "timestamp": "2026-06-07T16:46:37.843Z",
        "request_id": "4309803c-a901-4b21-bf03-73963c2d0744"
    },
    "status": "ok",
    "message": "Player retrieved successfully",
    "success": true
}