/v1/inflect
Count-aware inflection
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}