Text Statistics API - Word, Sentence & Syllable Counts avatar

Text Statistics API - Word, Sentence & Syllable Counts

Pricing

$10.00 / 1,000 text analyzeds

Go to Apify Store
Text Statistics API - Word, Sentence & Syllable Counts

Text Statistics API - Word, Sentence & Syllable Counts

Text statistics API. Input: text string(s). Output: JSON with character, word, sentence, paragraph, syllable, and unique-word counts, average word/sentence lengths, and longest words. Deterministic, no API key. Pay per result: $0.01 per text analyzed.

Pricing

$10.00 / 1,000 text analyzeds

Rating

0.0

(0)

Developer

Anthony Snider

Anthony Snider

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 hours ago

Last modified

Share

Text Statistics Calculator

Drop in any text and get a complete readability and composition breakdown in one call.

Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.

What you get

  • Characters — with and without spaces
  • Words & unique words — total volume and vocabulary size
  • Sentences & paragraphs — structure counts
  • Syllables — total syllable count (English heuristic)
  • Averages — word length, words per sentence, syllables per word
  • Longest words — the top 5 longest distinct words
  • Lexical diversity — unique words ÷ total words (vocabulary richness)
  • Bulk mode — analyze many texts in a single run

Input

Provide a single text, or a texts array for bulk analysis.

{
"text": "The quick brown fox jumps over the lazy dog. It was a bright cold day in April.",
"maxTexts": 50
}

Output

One record per input text:

{
"text": "The quick brown fox jumps over the lazy dog. It was a bright cold day in April.",
"characters": { "withSpaces": 79, "withoutSpaces": 63 },
"words": 16,
"uniqueWords": 15,
"sentences": 2,
"paragraphs": 1,
"syllables": 19,
"averages": {
"wordLength": 3.94,
"wordsPerSentence": 8,
"syllablesPerWord": 1.19
},
"longestWords": ["bright", "April", "brown", "jumps", "quick"],
"lexicalDiversity": 0.9375
}