The complete Text Analysis API toolkit
Nine text-intelligence endpoints — readability scoring, PII masking, text similarity, profanity detection, word frequency, extractive summarisation, language detection, text diff, and transliteration — all in one simple REST API.
curl -X POST "https://textanalysis.toolkitapi.io/v1/text/readability" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "The quick brown fox jumps over the lazy dog. A simple sentence for testing."}'
import httpx
resp = httpx.post(
"https://textanalysis.toolkitapi.io/v1/text/readability",
headers={"X-API-Key": "YOUR_KEY"},
json={"text": "The quick brown fox jumps over the lazy dog."},
)
result = resp.json()
print(result["scores"]["flesch_reading_ease"], result["interpretation"]["level"])
const resp = await fetch(
"https://textanalysis.toolkitapi.io/v1/text/readability",
{
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "YOUR_KEY",
},
body: JSON.stringify({
text: "The quick brown fox jumps over the lazy dog.",
}),
}
);
const data = await resp.json();
console.log(data.scores.flesch_reading_ease, data.interpretation.level);
Browse by Category
Nine text-intelligence endpoints across four capability areas.
Readability & Statistics
2 toolsFlesch-Kincaid, Gunning Fog, Coleman-Liau, ARI, and word frequency analysis.
Similarity & Comparison
2 toolsLevenshtein, cosine, and Jaccard similarity; word-level and line-level text diff.
Filtering & Detection
2 toolsPII masking and profanity detection for content moderation pipelines.
NLP & Language
3 toolsLanguage detection, extractive summarisation, and transliteration.
Built for Developers
Designed to simplify your text-processing pipeline, not complicate it.
Readability Scoring
Five industry-standard readability indices — Flesch, Kincaid, Gunning Fog, Coleman-Liau, and ARI — in a single call.
PII & Data Masking
Detect and redact emails, phone numbers, SSNs, credit cards, and IPs before storing or forwarding user content.
Text Similarity
Compare two texts with Levenshtein, cosine, or Jaccard — get a normalised 0–1 score regardless of length.
Language Detection
Identify the language of any text with a confidence score across 50+ languages using n-gram frequency analysis.
Extractive Summarisation
Condense long documents to their key sentences using TF-IDF scoring — deterministic, fast, and hallucination-free.
Text Diff
Get a structured diff of two texts at word or line granularity — ready to render in any review UI.
Start analysing text in minutes
One API key. 9 endpoints. Readability, PII masking, similarity & language detection.
Get Free API Key →