Lumeo APIs
Text Analysis

Text Analysis Toolkit API

Word count & reading time, readability scores, keyword extraction, sentiment, summarization, language detection, entity extraction, slugs & more.

Get a free API key on RapidAPI Try it in the playground

Text Analysis Toolkit API

Everything you keep re-implementing for text — computed on the edge in milliseconds, with no AI token costs and no data retention.

📊 Measure

🧠 Understand

🧰 Extract & transform

Every endpoint accepts GET ?text= or POST {"text": …} up to 100,000 characters.

Use cases: CMS and blogging tools · SEO analyzers · review and feedback analysis · chat moderation pre-filters · data cleaning pipelines · no-code automations

Keywords: text analysis api, word counter api, readability score, flesch kincaid, keyword extraction api, sentiment analysis api, text summarization api, language detection api, slug generator, text similarity, extract emails

Endpoints (9)

EndpointWhat it returns
GET/statsText statistics
Characters, words, unique words, sentences, paragraphs, average lengths, longest word, reading time, speaking time and detected language.
GET/readabilityReadability scores
Flesch Reading Ease with a plain-language level, Flesch-Kincaid grade, Gunning Fog, SMOG, Coleman-Liau, ARI, the average grade level and the longest sentences.
GET/keywordsKeyword extraction
Key phrases ranked with the RAKE algorithm, and the most frequent single words with density — useful for SEO and tagging.
GET/sentimentSentiment analysis
Overall sentiment (positive, neutral, negative) with a score from -1 to 1, the words that drove it, and a per-sentence breakdown.
POST/summarizeSummarize text
Extractive summary: returns the N most important sentences in their original order, with the compression ratio. Also available as GET ?text=&sentences=.
GET/languageDetect language
Detect the language of a text among 18 languages, with confidence and alternative candidates.
GET/compareCompare two texts
Similarity between two texts: cosine and Jaccard similarity, percentage of shared 3-word phrases, Levenshtein distance (texts up to 2,000 characters) and the words unique to each.
GET/extractExtract entities
Pull emails, URLs and their domains, phone numbers, hashtags, @mentions, IP addresses, dates and money amounts out of free text.
GET/transformSlug & case conversion
Convert a text to a URL slug, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, sentence case, ASCII transliteration, Base64 and URL-encoded forms.

Quick start

Subscribe on RapidAPI (free plan available), copy your key, and call GET /stats:

curl --request GET \
  --url 'https://text-analysis-toolkit-api1.p.rapidapi.com/stats?text=The+quick+brown+fox+jumps+over+the+lazy+dog.+It+was+a+bright+cold+day+in+April%2C+and+the+clocks+were+striking+thirteen.' \
  --header 'x-rapidapi-host: text-analysis-toolkit-api1.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'

Example response

{
  "characters": 118,
  "characters_no_spaces": 96,
  "letters": 93,
  "digits": 0,
  "words": 23,
  "unique_words": 21,
  "lexical_diversity": 0.913,
  "sentences": 2,
  "paragraphs": 1,
  "lines": 1,
  "average_word_length": 4.04,
  "average_sentence_length_words": 11.5,
  "longest_word": "striking",
  "reading_time_minutes": 0.1,
  "speaking_time_minutes": 0.15,
  "reading_time_text": "1 min read",
  "bytes_utf8": 118,
  "language": {
    "language": "en",
    "confidence": 0.59,
    "language_name": "English"
  }
}

Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.

Subscribe on RapidAPI