Sentiment API call

API Endpoint package

Text Analysis

API endpoint

Supported Languages



Given an article URL or raw text, the endpoint will return the sentiment (negative, neutral, positive).

Sample cURL call

curl -X POST \
    -H "X-TRUS-API-Key: your_api_key" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Cache-Control: no-cache" \
    -d '{"contentUri": "" }' \

Sample JSON response


Try our API for free!

Includes 1,000 API requests for all available endpoints.

Request API key