DEV Community

Daniel Igel
Daniel Igel

Posted on

Drop-in sentiment, summary & NER without managing an LLM key

Adding "summarize this" or "is this review positive?" to an app shouldn't mean signing up for an LLM provider, managing a key, handling rate limits, and writing prompt+parsing glue. Sometimes you just want a JSON endpoint.

Five NLP tasks, same shape, no LLM key on your side:

curl --request POST \
  --url 'https://ai-text-analysis-api.p.rapidapi.com/api/v1/sentiment' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
  --header 'x-rapidapi-host: ai-text-analysis-api.p.rapidapi.com' \
  --header 'content-type: application/json' \
  --data '{"text":"The delivery was late but support fixed it instantly."}'
Enter fullscreen mode Exit fullscreen mode

Endpoints: /sentiment, /summarize, /entities (NER), /classify (zero-shot into your own categories), /keywords. Each returns clean JSON — drop it straight into your UI.

Free tier on RapidAPI: https://rapidapi.com/danieligel/api/ai-text-analysis-api

Built this to stop re-writing the same LLM plumbing in every project. What NLP task would you want as a one-liner?

Top comments (0)