PeumeAPI

Companies

Classify Text

Classify text into categories. Optionally provide custom categories. Returns primary category, confidence scores, topic keywords, and summary.

$0.081 per call

Call it

curl https://api.peume.com/v1/call/classify-text \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "text": "your text"
  }
}'

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: classify-text.

Parameters

categoriesarray

Optional list of categories to classify into

textRequiredstring

Text to classify

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.