Text Analysis
Language detection, sentiment, readability scores, keyword extraction and slugs. Rule-based, no AI model.
base https://text-analysis28.p.rapidapi.com/text/v1- endpoints
- 7
- free plan, paid from
- $4.50/mo
- data
- Self-contained
Analyse text without sending it to an AI model: detect the language, score sentiment, measure readability, extract keywords and build URL slugs. One combined endpoint and single-purpose ones.
// Is this review positive, and is it easy to read?
curl -X POST "https://text-analysis28.p.rapidapi.com/text/v1/analyze" \
-H "X-RapidAPI-Key: $RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: text-analysis28.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"text":"The new release is fast and the setup took five minutes. Support answered quickly, although the documentation could explain the batch limits more clearly."}'{
"language": {
"language": "en",
"name": "English",
"confidence": 1,
"alternatives": []
},
"statistics": {
"characters": 154,
"characters_no_spaces": 131,
"words": 24,
"unique_words": 21,
"sentences": 2,
"paragraphs": 1,
"average_word_length": 5.33,
"average_sentence_length": 12,
"reading_time_seconds": 6,
"speaking_time_seconds": 10
},
"sentiment": {
"label": "positive",
"score": 0.6901,
"positive": 0.206,
"neutral": 0.794,
"negative": 0
},
"readability": {
"flesch_reading_ease": 60.7,
"flesch_kincaid_grade": 7.8,
"gunning_fog": 6.5,
"smog_index": 7.2,
"automated_readability_index": 9.7,
"level": "plain"
},
"keywords": [
{
"keyword": "although",
"count": 1
},
{
"keyword": "answered",
"count": 1
},
{
"keyword": "batch",
"count": 1
}
],
"note": null
}Endpoints
Full analysis of one text
Language, sentiment, readability scores, counts, reading time and top keywords in one call.
body JSON. The OpenAPI spec has the full schema.
keyword_limitquery
Detect the language of a text
Recognises 55 languages. Short texts (under about 20 characters) are unreliable.
body JSON. The OpenAPI spec has the full schema.
Sentiment of one text (English)
Rule-based scoring tuned for short, informal English such as reviews and social posts. Score runs from -1 (most negative) to 1.
body JSON. The OpenAPI spec has the full schema.
Sentiment of up to 100 texts (English)
body JSON. The OpenAPI spec has the full schema.
Readability scores (English)
body JSON. The OpenAPI spec has the full schema.
Extract keywords
Most frequent meaningful words and two-word phrases. Common-word filtering is English only.
body JSON. The OpenAPI spec has the full schema.
limitquery
Turn a title into a URL slug
textqueryrequiredseparatorquerymax_lengthquery
Data and limits
source
Open-source libraries (langdetect, VADER) and standard formulas, computed locally.
Answers from bundled data or local computation. No upstream call.
limits
- Sentiment, readability and keyword filtering are English only.
- Sentiment is rule-based, not a trained model, and misses sarcasm.
- Language detection needs about 20 characters.
Plans
Monthly, in US dollars. Each plan stops at its quota, with no overage charges. Subscribe and pay on RapidAPI.
| plan | price | calls / month | per 1k calls | |
|---|---|---|---|---|
| Basic | Free | 100 | — | start free on RapidAPI ↗ |
| Pro | $4.50 | 10,000 | $0.45 | subscribe on RapidAPI ↗ |
| Ultra | $13 | 100,000 | $0.13 | subscribe on RapidAPI ↗ |
| Mega | $36 | 500,000 | $0.072 | subscribe on RapidAPI ↗ |