TextMetrics API
Analyze any text and get back clean, structured data. Your text stays on our infrastructure, no third-party AI services. Every endpoint returns predictable JSON. What can you do with our API? Readability - Get six industry-standard scores: Flesch Reading Ease, Flesch-Kincaid Grade, Gunning Fog, SMOG, Coleman-Liau, ARI. - Get a consensus grade level averaged across all formulas. - Get actionable…
TextMetrics API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Analysis | ||
| POST |
Full Analysis /v1/analyze |
Perform a complete analysis of the provided text in a single request. Returns statistics, readability scores (with improvement hints), sentiment, language detection, and… |
| POST |
Readability Scores /v1/readability |
Calculate six industry-standard readability scores and return actionable improvement hints. Best results with 3+ sentences. Scores returned: Flesch Reading Ease, Flesch-Kincaid… |
| POST |
Sentiment Analysis /v1/sentiment |
Analyze text sentiment using the VADER lexicon (7,500+ words). Returns a compound score from -1 (very negative) to +1 (very positive), proportional pos/neg/neutral breakdowns,… |
| POST |
Keyword Extraction /v1/keywords |
Extract the most significant keywords and keyphrases using TF-IDF scoring. Supports unigrams, bigrams, and trigrams. Common stop words and noise phrases are automatically filtered. |
| POST |
Language Detection /v1/language |
Detect the primary language of the text. Supports 12 languages: English, Spanish, French, German, Portuguese, Italian, Dutch, Russian, Chinese, Japanese, Arabic, and Korean.… |
| POST |
Text Statistics /v1/stats |
Compute word count, sentence count, paragraph count, character counts, average word/sentence length, vocabulary richness, and reading/speaking time. |
| POST |
Batch Analysis /v1/batch |
Analyze up to 20 texts in a single API call instead of making 20 separate requests. Each text in the batch counts as one request against your rate limit. Texts that fail to… |
| POST |
Compare Texts /v1/compare |
Compute the similarity between two texts using cosine similarity on word frequencies. Returns a score from 0 (completely different) to 1 (identical vocabulary), a human-readable… |
| System | ||
| GET |
Health Check /health |
Returns API health status and configuration. No authentication required. |
TextMetrics API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $9 / month | — |
|
| ULTRA Recommended | $29 / month | — |
|
| MEGA | $79 / month | — |
|