Extract article text from any URL, tag named entities, score sentiment, and answer questions — four NLP capabilities behind one clean, language-agnostic API.
Metered billing through our storefront at developers.textapi.com — pay per request, no plans, cancel anytime.
AppleORG is thrilled to be buying a promising U.K.GPE startup for $1 billionMONEY
Saved responses from GET /ner and GET /sentiment.
Get a free key to run your own text.
Point it at a URL and get back the clean, readable article body — no boilerplate, no ads, no markup.
Try it in the docs →Submit plain text and get named entities back with their labels and exact character positions.
Try it in the docs →Instant insight into how the authors of reviews, tickets, and comments actually feel.
Try it in the docs →Supply context — or just a URL — plus a question, and get an extractive answer with its confidence score.
Try it in the docs →Render highlighted entity tags as SVG or HTML — bring your own spans or let the API find them.
Try it in the docs →Ship your product on TextAPI from any language, then move to spaCy — the library underneath — when you outgrow it.
Browse all endpoints →If it can make an HTTP request, it can use TextAPI.
curl "https://api.textapi.com/ner?text=Apple+is+buying+a+U.K.+startup" \
-H "X-API-Key: $TEXTAPI_API_KEY"
{"spans": [{"text": "Apple", "start": 0, "end": 5, "label": "ORG"},
{"text": "U.K.", "start": 19, "end": 23, "label": "GPE"}]}
import os
import requests
r = requests.get("https://api.textapi.com/ner",
params={"text": "Apple is buying a U.K. startup"},
headers={"X-API-Key": os.environ["TEXTAPI_API_KEY"]})
print(r.json()["spans"])
const res = await fetch("https://api.textapi.com/ner?text=" +
encodeURIComponent("Apple is buying a U.K. startup"),
{ headers: { "X-API-Key": process.env.TEXTAPI_API_KEY } });
const { spans } = await res.json();
Every call goes to api.textapi.com with your key in the
X-API-Key header — get one, plus code samples for every endpoint, on the
storefront.
Short, specific walkthroughs built around code you can paste into a project today.
Score reviews in one call, read the four numbers correctly, and recognise the sentences this approach scores as neutral when a human wouldn't.
Read the guide → Aug 29, 2026Point the QA endpoint at a URL and a question, get an extracted answer with a confidence score — plus the two mistakes that make extractive QA go wrong.
Read the guide → Aug 29, 2026Pull people, companies, money, and dates out of raw text with one HTTP call — including the character offsets you need to highlight them.
Read the guide →Keys are issued instantly through our storefront at developers.textapi.com. You pay per request with monthly metered billing — no tiers to pick, no minimum commitment, cancel any month.
See pricing & get a key →Prefer one key across many APIs? TextAPI also sells through the APIDirectory registry gateway.
Through our storefront at developers.textapi.com, backed by Stripe. Billing is metered: every request counts, you get one invoice a month for exactly what you used, and you can cancel any month. No tiers, no seats, no minimums.
Instantly — subscribe on the storefront and your key is issued and emailed the moment checkout completes.
Yes. The storefront issues a free key (1,000 requests a month), and every endpoint can be exercised from the interactive docs.
Each API call made with your key counts as one metered request, whichever endpoint it hits.