Zum Inhalt springen
GET /v1/rankings

Fighter rankings by division

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 24,
        "divisions": [
            {
                "type": "pound-for-pound",
                "ranks": [
                    {
                        "id": "3088812",
                        "rank": 1,
                        "trend": "-",
                        "fighter": "Kamaru Usman"
                    },
                    {
                        "id": "4285679",
                        "rank": 3,
                        "trend": "-",
                        "fighter": "Israel Adesanya"
                    },
                    {
                        "id": "3933168",
                        "rank": 4,
                        "trend": "-",
                        "fighter": "Francis Ngannou"
                    },
                    {
                        "id": "3949584",
                        "rank": 5,
                        "trend": "-",
                        "fighter": "Alexander Volkanovski"
                    },
                    {
                        "id": "2506250",
                        "rank": 6,
                        "trend": "-",
                        "fighter": "Jan Blachowicz"
                    },
                    {
                        "id": "2506549",
                        "rank": 7,
                        "trend": "-",
                        "fighter": "Dustin Poirier"
                    },
                    {
                        "id": "4189320",
                        "rank": 8,
                        "trend": "+2",
                        "fighter": "Deiveson Figueiredo"
                    },
                    {
                        "id": "2504951",
                        "rank": 9,
                        "trend": "-",
                        "fighter": "Stipe Miocic"
                    },
                    {
                        "id": "2504169",
                        "rank": 10,
                        "trend": "-",
                        "fighter": "Charles Oliveira"
                    }
                ],
                "division": "Men's Pound for Pound Rankings"
            },
            {
                "type": "womens-pound-for-pound",
                "ranks": [
                    {
                        "id": "2516131",
                        "rank": 1,
                        "trend": "-",
                        "fighter": "Amanda Nunes"
                    },
                    {
                        "id": "2554705",
                        "rank": 2,
                        "trend": "-",
                        "fighter": "Valentina Shevchenko"
                    },
                    {
                        "id": "2354564",
                        "rank": 3,
                        "trend": "-",
                        "fighter": "Cris Cyborg"
                    },
                    {
                        "id": "3032973",
                        "rank": 4,
                        "t
…