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/profanity-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "auth": "none upstream; this gateway requires x-api-key",
        "name": "Profanity Filter API",
        "note": "Detect and censor profanity in 24 languages. /v1/check?text=... flags matches; /v1/clean?text=...&mask=* returns censored text; pass ?lang=en (or comma-separated, default: all languages). Word-boundary matching + leetspeak normalisation. Self-contained — no network calls, always available.",
        "source": "Bundled LDNOOBW word lists (24 languages) — fully local, no upstream",
        "endpoints": 4
    },
    "meta": {
        "timestamp": "2026-06-02T16:52:05.318Z",
        "request_id": "28185532-b634-45e7-a1eb-378aa7617eb7"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}