GET /v1/readabilityFlesch-Kincaid readability analysis
Text Utils lf-text-utils
Scores how easy a piece of text is to read. Flesch-Kincaid readability analysis
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Text to analyze |
Response Schema
flesch_kincaid_grade (number): Grade level
flesch_reading_ease (number): Reading ease score
automated_readability_index (number): ARI score
average_syllables_per_word (number): Syllables per word
difficulty (string): Difficulty label
cURL Example
curl 'https://lf-text-utils.laminarforge.dev/v1/readability?text=<text>' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-text-utils.laminarforge.dev/v1/readability'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'text': '<text>'}
response = requests.get(url, headers=headers, params=params)
print(response.json())