Zum Inhalt springen
GET /v1/inflect

Count-aware inflection

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "word": "item",
        "count": 3,
        "result": "3 items",
        "inflected": "items",
        "is_plural": true
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:23.710Z",
        "request_id": "cce4a605-422d-4c60-ae13-71bb9496261e"
    },
    "status": "ok",
    "message": "Inflected",
    "success": true
}