Vai al contenuto
GET /v1/rankings

AP & Coaches rankings

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "count": 2,
        "polls": [
            {
                "poll": "AP Top 25",
                "type": "ap",
                "ranks": [
                    {
                        "id": "130",
                        "rank": 1,
                        "team": "Michigan",
                        "trend": "+2",
                        "points": 1425,
                        "record": "37-3",
                        "previous": 3,
                        "first_place_votes": 57
                    },
                    {
                        "id": "41",
                        "rank": 2,
                        "team": "UConn",
                        "trend": "+5",
                        "points": 1352,
                        "record": "34-6",
                        "previous": 7,
                        "first_place_votes": 0
                    },
                    {
                        "id": "12",
                        "rank": 3,
                        "team": "Arizona",
                        "trend": "-1",
                        "points": 1311,
                        "record": "36-3",
                        "previous": 2,
                        "first_place_votes": 0
                    },
                    {
                        "id": "150",
                        "rank": 4,
                        "team": "Duke",
                        "trend": "-3",
                        "points": 1237,
                        "record": "35-3",
                        "previous": 1,
                        "first_place_votes": 0
                    },
                    {
                        "id": "356",
                        "rank": 5,
                        "team": "Illinois",
                        "trend": "+8",
                        "points": 1228,
                        "record": "28-9",
                        "previous": 13,
                        "first_place_votes": 0
                    },
                    {
                        "id": "2509",
                        "rank": 6,
                        "team": "Purdue",
                        "trend": "+2",
                        "points": 1113,
                        "record": "30-9",
                        "previous": 8,
                        "first_place_votes": 0
                    },
                    {
                        "id": "248",
                        "rank": 7,
                        "team": "Houston",
                        "trend": "-2",
                        "points": 1021,
                        "record": "30-7",
                        "previous": 5,
                        "first_place_votes": 0
                    },
                    {
                        "id": "66",
                        "rank": 8,
                        "team": "Iowa State",
                        "trend": "-2",
                        "points": 924,
                        "record": "29-8",
            
…