TextCraft
Blazing-fast text analysis API — readability scores, keyword extraction, sentiment analysis, summarization, language detection & content statistics. Built in Rust for sub-millisecond responses.
TextCraft endpoints
| Method | Endpoint | Description |
|---|---|---|
| ai-detect | ||
| POST |
aiDetect /ai-detect |
Detect AI-generated text using 7 statistical signals: burstiness, vocabulary richness, sentence opener diversity, punctuation naturalness, word length variance, hapax legomena… |
| moderate | ||
| POST |
moderate /moderate |
Fast content moderation for real-time applications. Detects toxicity, profanity, hate speech, threats, and spam signals. Returns per-category scores and a boolean flagged field.… |
| fingerprint | ||
| POST |
fingerprint /fingerprint |
Generate a SimHash fingerprint for a document. Use fingerprints to detect near-duplicate content across large document sets. Same document always produces the same fingerprint… |
| compare | ||
| POST |
compare /compare |
Compare two texts for similarity using SimHash + cosine similarity. Returns a combined similarity score (0-1), individual cosine similarity, both fingerprints, and a verdict:… |
| batch | ||
| POST |
batch /batch |
Process up to 100 texts in a single request. Choose which analyses to run via the analyses array. Available analyses: statistics, readability, keywords, sentiment, ai_detection,… |
| analyze | ||
| POST |
analyze /analyze |
Run all text analysis modules in a single request. Toggle individual features via the options object. |
| statistics | ||
| POST |
statistics /statistics |
Get word count, sentence count, paragraph count, character count, average words per sentence, and estimated reading time. |
| readability | ||
| POST |
readability /readability |
Calculate Flesch Reading Ease, Flesch-Kincaid Grade Level, Gunning Fog Index, Coleman-Liau Index, and Automated Readability Index. |
| keywords | ||
| POST |
keywords /keywords |
Extract the top keywords from text using term frequency analysis, with stop word filtering. |
| sentiment | ||
| POST |
sentiment /sentiment |
Analyze text sentiment using a lexicon-based approach. Returns a score from -1 (negative) to +1 (positive), a label, and confidence. |
| summarize | ||
| POST |
summarize /summarize |
Extract the most important sentences from text using TextRank graph-based ranking. Specify the number of sentences via options.summary_sentences (default: 3). |
| language | ||
| POST |
language /language |
Detect the language of the input text. Returns the language name, ISO code, and confidence score. Supports 80+ languages. |
| Other endpoints | ||
| POST |
batch /batch |
Process up to 100 texts in a single request. Choose which analyses to run: ai_detection, moderation, fingerprint. Defaults to all three if not specified. |
| POST |
aiDetect /ai-detect |
Detect AI-generated text using 7 statistical signals: burstiness, vocabulary richness, sentence opener diversity, punctuation naturalness, word length variance, hapax legomena… |
| POST |
compare /compare |
Compare two texts for similarity using SimHash + cosine similarity. Returns a combined similarity score (0-1), both fingerprints, and a verdict: different, somewhat_similar,… |
| POST |
fingerprint /fingerprint |
Generate a SimHash fingerprint for a document. Use fingerprints to detect near-duplicate content across large document sets. Same document always produces the same fingerprint… |
| POST |
moderate /moderate |
Fast content moderation for real-time applications. Detects toxicity, profanity, hate speech, threats, and spam signals. Returns per-category scores and a boolean flagged field.… |
TextCraft pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $4.99 / month | — |
|
| ULTRA | $14.99 / month | — |
|
| MEGA | $24.99 / month | — |
|