freeapis

Watson Natural Language Understanding

Natural language processing for advanced text analysis

Authentication
OAuth
HTTPS
Yes
CORS
Unknown
Data source
public-apis + marcelscruz

Overview

IBM Watson Natural Language Understanding analyzes text — sentiment, entities, keywords, categories, and emotions. Auth is an IBM Cloud API key (an unauthenticated request returns 401, verified).

Quick Start

Get an IBM Cloud API key, then (replace YOUR_KEY):

curl -X POST "https://api.us-south.natural-language-understanding.watson.cloud.ibm.com/v1/analyze?version=2022-04-07" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -d '{"text": "I love this product!", "features": {"sentiment": {}}}'
{ "usage": { "text_characters": 19, "features": 1 }, "sentiment": { "document": { "score": 0.9, "label": "positive" } } }

Authentication

  • Register at cloud.ibm.com → create a Natural Language Understanding instance → API key.
  • Get an IAM token: curl -X POST https://iam.cloud.ibm.com/identity/token -d "grant_type=urn:ibm:params:oauth:grant-type:apikey&apikey=YOUR_KEY" → access_token.
  • Send as Authorization: Bearer {token} (missing → 401, verified).

Rate Limits & Notes

  • Free tier: 30,000 NLU items/month (check the docs); paid plans scale.
  • Features: sentiment, entities, keywords, categories, concepts, emotion, relations.
  • The version=YYYY-MM-DD query param is required.

FAQ

Is Watson NLU free? Free tier: 30,000 items/month; more is paid.

How do I get a key? IBM Cloud → create an NLU instance → API key.

What’s the auth flow? Exchange the API key for an IAM bearer token first.

More in Text Analysis

APIAuthHTTPSCORS
AI Text Moderation, Toxicity & Sentiment Analyzer

Detect sentiment, toxicity, and emotional aspects in text with AI moderation

API KeyYesUnknown↗
AI Translate text API

The Text Translation API translates text into any of the 80 supported languages, providing accurate and context-aware translations

API KeyYesUnknown↗
Analyse Keywords API

This API lets you extract high-frequency keywords, key phrases and latent semantic keywords from any URL

API KeyYesUnknown↗
apilayer languagelayer

Language Detection JSON API supporting 173 languages

OAuthYesUnknown↗
Audexum

Text-to-speech REST API with 43 voices and 33 languages

API KeyYesYes↗