Batch of texts classification

Classify batch of texts

Batch classification allows to classify a group of texts (up to 10) in one request. This API retrieves batch classification result for IAB-2, Documents, Sentiment, or Sentiment3 taxonomies. It returns an object that contains information about the best classes for all the texts in the request and their probabilities.

See classify/batch request parameters for request’s details.


Only the first 10 texts will be processed.


This resource represents a controller for single call batch of texts classification.

Classify up to 10 texts with one request. Set taxonomy parameter to “default” for IAB-2, set to “documents” for Documents taxonomy, or set to “sentiment” or “sentiment3” for Sentiments taxonomies.

cURL REST Example for Sentiment3 taxonomy


curl -v ""
-H "content-type: application/json"
-X POST -d '{ "batch": ["Text1", "Text2"] }'


{ results:
      "bestClassName": "Neutral",
      "bestClassProbability": 90.02,
      "bestResults": [{"className":"Neutral","classProbability":90.02}],
      "code": 200,
      "status": "OK"
      "bestClassName": "Neutral",
      "bestClassProbability": 90.02,
      "bestResults": [{"className":"Neutral","classProbability":90.02}],
      "code": 200,
      "status": "OK"


The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here

Classify Batch of Texts