Classification API call

API Endpoint package

Text Analysis

API endpoint

Supported Languages

English (native).

Russian, Arabic, Spanish, French, Chinese (with automated translation).


Given an article URL or raw text, the endpoint will return the content classification according to  IAB v2 and IPTC Newscodes content taxonomies.

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 '{"content": "EMPTY", "contentUri": "", "language": "eng"}' \

Sample JSON response

  "classify": {
    "classes": [
        "type": "Business",
        "score": 0.2821761667728424
  "content": [...]"

Try our REST API

Request API key