NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Text Readability Score API

POST

Know the reading grade level and target audience of any text.

Text Readability Score calculates the readability score and grade level of any text across standard formulas. It returns Flesch Reading Ease, Gunning Fog, Coleman-Liau, syllable and word counts, an average grade level, and a target audience label.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/readabilityscore
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "textCounts": {
      "syllableCount": 82,
      "lexiconCount": 49,
      "sentenceCount": 1
    },
    "readability": {
      "fleschReadingEase": 15.52,
      "fleschKincaidGrade": 23.3,
      "gunningFog": 26.95,
      "colemanLiauIndex": 13.19,
      "smogIndex": 22.08,
      "automatedReadabilityIndex": 27.8,
      "daleChallReadabilityScore": 17
    },
    "readabilityText": {
      "fleschReadingEase": "very confusing",
      "daleChallReadabilityScore": "average 13th to 15th-grade (college) student"
    },
    "averageGradeLevel": 22.7,
    "targetAudience": "post-graduate"
  }
}

About the Text Readability Score API

A readability score API that grades how hard a piece of text is to read. Readability Score works by analyzing the text provided and calculating the readability score with seven established readability formulas, including the Flesch Reading Ease score, Flesch Kincaid grade level, Gunning Fog index and Dale Chall readability, in a single call.

Alongside the raw scores you get plain-language labels such as "fairly difficult", an averaged reading grade level and a suggested target audience from elementary to post-graduate, plus the syllable, word and sentence counts behind the numbers. Content teams use it to check articles against a house reading level, publishers and educators use it to match texts to readers, and product and legal teams use it to keep help pages, notices and consent text readable.

Every field is returned on every plan, including the Free plan, so you can build a full readability report or a simple pass and fail check from the same response.

How it works

Readability Score first converts HTML to its visible text when text contains markup (script, style and noscript are dropped and each paragraph, heading, list item, table cell and line break becomes its own line), then treats every line as a sentence: leading bullet markers (-, *, 1.) are removed, a period is added to any line that does not already end in . ! ? : or ;, and the lines are joined with single spaces; empty text returns a 400 error. The formulas are for English: text with no words (only punctuation, digits or symbols) and text where most letters are outside the Latin script (Chinese, Japanese, Cyrillic and so on) also return a 400 rather than meaningless grades. Headings and bullets are therefore scored as short sentences rather than running into the next one, so a CMS post body or a bulleted list scores like the equivalent punctuated prose. Lines of one or two words are not counted as sentences by the library, though their words still count.

textCounts.syllableCount, lexiconCount (words) and sentenceCount come from the text-readability library, as do Gunning Fog, Coleman-Liau, the Automated Readability Index and the New Dale-Chall score. smogIndex is taken from the readability-scores library instead. Flesch Reading Ease (two decimals) and Flesch-Kincaid Grade (one decimal) are computed from those three counts using exact words-per-sentence and syllables-per-word ratios; textstat and text-readability round both ratios to one decimal first, so their figures can differ from ours by a few points. These are standard formulas over syllables per word, words per sentence, characters per word, polysyllabic word counts and, for Dale-Chall, the share of words outside a list of familiar words.

All grade-style metrics and the Dale-Chall score are floored at 1. fleschReadingEase is not floored: it runs roughly 0 to 100 with higher meaning easier, and very dense text can go below 0. Its label in readabilityText uses lower bounds of 90 very easy, 80 easy, 70 fairly easy, 60 standard, 50 fairly difficult, 30 difficult, and very confusing below that. The Dale-Chall label maps whole-number bands from "average 4th-grade student or lower" up to "13th to 15th-grade (college) student" for 9 and above.

averageGradeLevel is the mean of Flesch-Kincaid, Gunning Fog, Coleman-Liau, SMOG and ARI, rounded to one decimal. targetAudience reads from it: 16 and above post-graduate, 13 college, 9 high school, 6 middle school, otherwise elementary. Short samples of a sentence or two produce unstable scores. Results are identical on every plan.

What people use it for

Editorial CMS Publishing
Before publishing articles, newsroom CMS editors check the Flesch-Kincaid grade level and word counts to match target reader expectations.
Patient Instructions Review
When clinicians draft care summaries, health portals flag passages scoring above an elementary target audience so staff can rephrase dense medical terms.
Curriculum Reading Assessment
To assign books to suitable grade bands, edtech apps evaluate uploaded chapters against Dale-Chall scores and the average grade level.
Consumer Contract Auditing
Flag convoluted policy clauses during drafting by checking consumer agreements against the Gunning Fog index and reading ease ratings.

Worked example: Check setup instructions read plainly

A docs team scores a getting-started paragraph before publishing it.

Request
curl -X POST https://api.apiverve.com/v1/readabilityscore \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "text": "Before you start, read the setup guide. It takes about ten minutes. You will need an API key, which you can create on the dashboard. Paste the key into your environment file and restart the server. If the request fails, check that the key has no spaces." }'
Response
{
  "status": "ok",
  "error": null,
  "data": {
    "textCounts": { "syllableCount": 62, "lexiconCount": 47, "sentenceCount": 5 },
    "readability": {
      "fleschReadingEase": 87.31,
      "fleschKincaidGrade": 3.4,
      "gunningFog": 4.61,
      "colemanLiauIndex": 5.48,
      "smogIndex": 5.68,
      "automatedReadabilityIndex": 4,
      "daleChallReadabilityScore": 6.79
    },
    "readabilityText": {
      "fleschReadingEase": "easy",
      "daleChallReadabilityScore": "average 7th or 8th-grade student"
    },
    "averageGradeLevel": 4.6,
    "targetAudience": "elementary"
  }
}

averageGradeLevel is the mean of the five grade-level formulas (3.4, 4.61, 5.48, 5.68 and 4), and targetAudience turns it into a label.

Five short sentences of plain instructions score as easy, which is what setup docs should aim for.

Edge cases and limits

Send a paragraph or more
The formulas count sentences and syllables, so one sentence swings the scores widely. Around 100 words gives a stable result.
Flesch runs the other way
A higher Flesch Reading Ease is easier (60 to 70 is plain English); for the grade-level formulas, higher is harder.
Lists and code
Bullet points without full stops read as one long sentence and push the grade up. Strip markup and code before scoring.
English text
The formulas were built for English, so scores for other languages aren't meaningful.

Compared with the alternatives

textstat in Python
The same family of formulas as a library, if all your text already passes through one Python service.
Writing tools
Hemingway or Grammarly are built for a person editing a draft. This API scores text automatically inside your app or CMS. To go with it, see the Reading Time API.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Text Readability Score

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Text Readability Score API.

Read the docs →
Which readability formulas are included in the analysis?
The API calculates scores across seven standard formulas: Flesch Reading Ease, Flesch-Kincaid Grade Level, Gunning Fog, Coleman-Liau Index, SMOG Index, Automated Readability Index, and the New Dale-Chall score. Each metric evaluates text difficulty using distinct structural or vocabulary rules.
Does it return plain-language ratings alongside the raw scores?
Yes. In addition to numeric values, you receive text interpretations such as difficulty labels derived from Flesch Reading Ease and Dale-Chall. It also assigns a target audience classification, such as elementary, high school, or post-graduate.
Does the response break down word and sentence counts?
Yes. Every response includes total syllable counts, word counts, and sentence counts detected in the analyzed text. These structural metrics show the exact quantities used by the readability formulas.
How is the overall grade level calculated?
The API computes an average grade level by averaging the grade-based metrics, including Flesch-Kincaid, Gunning Fog, Coleman-Liau, and SMOG. This gives you a single composite school-grade benchmark without requiring you to average the individual formulas manually.
Which plan fits analyzing 50,000 texts a month?
Starter easily covers that volume. Each analysis uses 2 credits, so 50,000 texts consume 100,000 credits, using half of Starter's 200,000 monthly credits. That volume works out to about $0.30 per 1,000 calls. The Free plan includes 100 calls per month.

Ready to build with Text Readability Score? Start with 200 free credits — one key unlocks all 420+ APIs.

Explore the catalog

420+ APIs on the same key and the same response shape.

Browse all APIs