Ir al contenido
GET /v1/player

Player bio + season & career stats

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/nhl-api

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

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

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

{
    "data": {
        "player": {
            "id": 8478402,
            "name": "Connor McDavid",
            "team": {
                "abbr": "EDM",
                "name": "Edmonton Oilers"
            },
            "number": 97,
            "shoots": "L",
            "headshot": "https://assets.nhle.com/mugs/nhl/20252026/EDM/8478402.png",
            "position": "C",
            "height_in": 73,
            "is_active": true,
            "weight_lb": 194,
            "birth_city": "Richmond Hill",
            "birth_date": "1997-01-13",
            "career_stats": {
                "pim": 330,
                "goals": 409,
                "shots": 2713,
                "avgToi": "21:52",
                "points": 1220,
                "assists": 811,
                "otGoals": 17,
                "plusMinus": 186,
                "gamesPlayed": 794,
                "shootingPctg": 0.1507,
                "powerPlayGoals": 100,
                "powerPlayPoints": 418,
                "gameWinningGoals": 76,
                "shorthandedGoals": 9,
                "shorthandedPoints": 19,
                "faceoffWinningPctg": 0.4792
            },
            "season_stats": {
                "pim": 44,
                "goals": 48,
                "shots": 306,
                "points": 138,
                "assists": 90,
                "otGoals": 1,
                "plusMinus": 17,
                "gamesPlayed": 82,
                "shootingPctg": 0.156863,
                "powerPlayGoals": 13,
                "powerPlayPoints": 54,
                "gameWinningGoals": 4,
                "shorthandedGoals": 1,
                "shorthandedPoints": 2
            },
            "birth_country": "CAN"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:09.972Z",
        "request_id": "adcfb913-9ba5-46ca-b671-f5f0dae5837d"
    },
    "status": "ok",
    "message": "Player retrieved",
    "success": true
}