Text Analyzer
## Overview The Text Analyzer API provides 18 endpoints for readability scoring, sentiment analysis, keyword extraction, and text statistics. No ML models — pure algorithmic analysis with instant responses. ## Key Features - **Readability Scores**: Flesch-Kincaid, Gunning Fog, Coleman-Liau, SMOG, ARI — all in one call - **Sentiment Analysis**: Positive/negative/neutral scoring with confidence…
Text Analyzer endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
Full readability analysis (all 6 metrics) /readability/analyze |
Compute all six readability scores plus grade level and audience summary. Returns Flesch Reading Ease, Flesch-Kincaid, Gunning Fog, Coleman-Liau, ARI, SMOG, and Dale-Chall scores… |
| GET |
Single readability metric /readability/score |
Compute a single named readability metric for the supplied text. Allowed metrics: flesch_ease, flesch_kincaid, gunning_fog, coleman_liau, ari, smog, dale_chall. |
| POST |
Comprehensive text statistics /statistics/analyze |
Return a full statistical breakdown of the supplied text: character counts, word counts, sentences, paragraphs, reading/speaking time, lexical diversity, and top content words. |
| POST |
Convert text to URL slug /transform/slugify |
Convert text to a URL-safe slug. Normalizes unicode-ish characters, removes non-word characters, replaces spaces with the separator, and optionally lowercases. |
| GET |
Character or word frequency analysis /statistics/frequency |
Return frequency counts for characters or words. - unit=char: counts each non-space character - unit=word: counts lowercased words (optionally excluding stop words) |
| GET |
N-gram analysis (bigrams, trigrams, etc.) /statistics/ngrams |
Extract the top-K most frequent n-grams from the text. n=1 → unigrams, n=2 → bigrams, n=3 → trigrams, n=4 → quadgrams, n=5 → pentagrams. Stop words are excluded from n-gram… |
| POST |
Sentiment analysis for a single text /sentiment/analyze |
Analyze the sentiment of a text using keyword-based scoring with negation detection and intensifier weighting. Returns a label (positive / negative / neutral), a normalized score… |
| POST |
Batch sentiment analysis for multiple texts /sentiment/batch |
Analyze sentiment for up to 50 texts in a single request. Returns per-text results plus an aggregate summary (label counts, average score). |
| POST |
TF-based keyword extraction /extract/keywords |
Extract the most significant keywords from text using Term Frequency (TF) scoring, adjusted by word length to surface substantive terms. Stop words are excluded by default. |
| POST |
Extract emails, URLs, phones, hashtags, dates /extract/entities |
Extract structured entities from text using regex patterns: emails, URLs, phone numbers (US and international), hashtags (#tag), @mentions, date strings, and IPv4 addresses. |
| POST |
Extract keywords + all entity types in one call /extract/all |
Run keyword extraction and all entity extractions in a single request. Equivalent to calling /extract/keywords and /extract/entities together. |
| POST |
Extractive text summarization /transform/summarize |
Extractive summarization — selects the top N most important sentences using TF scoring (default) or positional heuristics. Returns sentences in their original document order. |
| POST |
Strip HTML, Markdown, normalize whitespace /transform/sanitize |
Clean text by stripping HTML tags, Markdown syntax, normalizing whitespace, and optionally removing URLs, emails, and special characters. |
| POST |
Smart word-boundary-aware truncation /transform/truncate |
Truncate text to a maximum character length. With word_boundary=True (default) the cut happens at the last word boundary before max_length, so no partial words appear in the… |
| POST |
Multi-metric text similarity analysis /compare/similarity |
Compute multiple similarity metrics between two texts: - Jaccard similarity (word sets) - Cosine similarity (TF vectors) - Overlap coefficient - Levenshtein edit distance… |
| POST |
Word-level diff between two texts /compare/diff |
Compute a word-level diff between two texts showing equal, inserted, and deleted word chunks. Similar to `diff` tool output at word granularity. |
| GET |
API root — overview and links / |
Returns a JSON overview of the API with links to documentation and all available endpoint groups. |
| GET |
Health check /health |
Returns API health status, version, and current UTC timestamp. Suitable for uptime monitoring and load balancer health probes. |
Text Analyzer pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| Pro | $9.99 / month | 20 / minute |
|
| Ultra | $29.99 / month | 100 / minute |
|