Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/mma-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "service": "mma-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/news": "UFC news.",
            "GET /v1/event": "A single event's full fight card by id.",
            "GET /v1/events": "UFC events & fight cards (dates=YYYYMMDD-YYYYMMDD).",
            "GET /v1/search": "Search fighters by name.",
            "GET /v1/fighter": "Fighter profile by id.",
            "GET /v1/rankings": "Fighter rankings by division (champions + contenders)."
        },
        "description": "MMA / UFC data: event fight cards and results, fighter rankings by division, fighter profiles, fighter search and UFC news. Real live data, no key."
    },
    "meta": {
        "timestamp": "2026-06-07T16:46:40.059Z",
        "request_id": "6aecae90-9d17-489a-b96f-89d40e11c6a8"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}