Zum Inhalt springen
GET /v1/analyze

Readability scores for text

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "counts": {
            "words": 23,
            "letters": 93,
            "sentences": 2,
            "syllables": 28,
            "characters": 118,
            "complex_words": 0,
            "polysyllables": 0
        },
        "scores": {
            "smog_index": 3.13,
            "gunning_fog": 4.6,
            "coleman_liau_index": 5.4,
            "flesch_reading_ease": 92.17,
            "flesch_kincaid_grade": 3.26,
            "automated_readability_index": 3.36
        },
        "interpretation": "Very easy — 5th grade",
        "average_grade_level": 4,
        "reading_time_seconds": 7
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:49.601Z",
        "request_id": "55b5013d-f9a1-4513-9362-13487ea17806"
    },
    "status": "ok",
    "message": "Readability analyzed",
    "success": true
}