PeumeAPI

Search & SEO

Extract entities and sentiment

Runs a pre-trained classifier, named-entity recognizer, sentence tokenizer and sentiment analyzer over submitted text or a URL

$1.8e-7 per 10,000 characters

Call it

curl https://api.peume.com/v1/call/extract-entities-and-sentiment \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "fields": "entities,sentiment"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: extract-entities-and-sentiment.

Parameters

fieldsstring

comma-delimited: entities, sentiment, facts, records, categories, sentences, language, summary

Example: entities,sentiment

contentstring

raw text to analyze; alternative to url

urlstring

source URL to fetch and analyze; alternative to content

langstring

language hint; sentiment covers 100+ languages, entities/salience cover ~13, facts are English-only

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.