Zum Inhalt springen
GET /v1/player

Player profile

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cbb-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "player": {
            "id": "5041935",
            "name": "Cameron Boozer",
            "team": "Duke Blue Devils",
            "active": true,
            "height": "6' 9\"",
            "jersey": "12",
            "status": "active",
            "weight": "250 lbs",
            "headshot": "https://a.espncdn.com/i/headshots/mens-college-basketball/players/full/5041935.png",
            "position": "F",
            "last_name": "Boozer",
            "first_name": "Cameron",
            "position_name": "Forward"
        }
    },
    "meta": {
        "timestamp": "2026-06-07T16:46:09.413Z",
        "request_id": "3331e419-ad2f-4859-85a0-c90558f8c787"
    },
    "status": "ok",
    "message": "Player retrieved successfully",
    "success": true
}