Μετάβαση στο περιεχόμενο
GET /v1/player

Player profile

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/cbb-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}