Zum Inhalt springen
GET /v1/meta

Spec

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "auth": "none upstream (public invite + widget endpoints); this gateway requires x-api-key",
        "name": "Discord API",
        "note": "Resolve any invite (discord.gg/<code>) for guild, channel, inviter, clan profile and live member/online counts; read the server widget (online members, voice channels, instant invite) for widget-enabled servers; build CDN asset URLs. Live, no cache. Widget endpoints 403 when a server has the widget disabled.",
        "source": "Discord public REST (api/v10 invites + guild widget) — no bot token",
        "endpoints": 10
    },
    "meta": {
        "timestamp": "2026-06-02T16:53:15.904Z",
        "request_id": "a9b92f7d-48f3-40c0-9560-322ff2dc7e96"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}