/text namespace · APlicious

Text Analysis API — sentiment, readability, and 19 more NLP-adjacent endpoints

The /text namespace covers sentiment, readability, language detection, summarization, and content-safety checks — 19 endpoints, with an AFINN-style weighted lexicon for sentiment rather than a flat positive/negative word list.

19text endpoints
Get free API key View docs
GET /api/v1/text/readability
const res = await fetch(
  'https://aplicious.com/api/v1/text/readability?text=Hello+world',
  { headers: { 'X-API-Key': 'lapi_live_••••' } }
);
const { data } = await res.json();
// { flesch_reading_ease: 100, grade_level: "5th grade", word_count: 2 }

No credit card · Free tier forever · X-API-Key header auth

What's included in /text

Weighted sentiment scoring

AFINN-style lexicon with per-word scores from -5 to +5, not a flat positive/negative word list — "good" and "amazing" carry different weight.

Readability scoring

Standard readability metrics to gauge how easy a piece of text is to read.

Language detection

Identify the language of a text sample for routing or filtering.

Content safety checks

Profanity detection and grammar checking round out the content-moderation use case.

One key, every namespace

Pair text analysis with any other namespace under the same key and rate limit.

Start using the text analysis API today

Free tier — 500 calls/month, no credit card. Upgrade when you need more.

Get free API keyExplore /text docs

Frequently asked questions

How does sentiment scoring work?

An AFINN-style lexicon assigns each matched word a score from -5 to +5, then averages across the text — so 'amazing' contributes more than 'decent', unlike a flat positive/negative word-count approach.

Does it detect multiple languages?

Yes — /language-detect identifies the primary language of a text sample.

Is there a summarization endpoint?

Yes — /summarize condenses longer text into a shorter summary.

Related API guides

Color API — Hex/RGB Conversion, Palette Generation, Contrast Checking

Convert between hex, RGB, and HSL, generate color palettes, and check WCAG contr

Read guide

Image Metadata API — Dimensions, Color Analysis, EXIF

Analyze images for dimensions, format, color space, dominant color, and quality

Read guide

Best Free API for Developers — 34 Namespaces, One Key, 500 Free Calls

Looking for the best free API? APlicious gives you 34 live namespaces — finance,

Read guide

One key unlocks all 34 namespaces — weather, finance, fitness, astrology, and more.

View all plans and pricing →