Text & Document Classification with cURL

Classify raw text and documents as per IAB-2 & Document Taxonomy into predefined classes.

Start Free Trial
GroupDocs.Classification Cloud for cURL

GroupDocs.Classification Cloud for cURL


GroupDocs.Classification Cloud for cURL provides you an automated way to classify your raw text into ‎predefined categories based on IAB-2 taxonomy. You can also use GroupDocs.Classification Cloud for ‎cURL to classify documents of supported file formats into predefined categories as per Documents ‎taxonomy.‎

Previous Next

Advanced Document Classification REST API Features



Classify raw text based on IAB-2 taxonomy‎


Perform classification of the documents as per Document Taxonomy


View classification information regarding classes and their respective probabilities


Speed up the development process


‎100% tested and out of the box running


Convenient to use API


Easy integration with REST API


APIs are secured and require authentication


API explorer based on swagger collection

Supported Types of Taxonomy

GroupDocs.Classification Cloud for cURL performs classification based on two types of Taxonomies. ‎The raw text classification is done as per IAB-2 taxonomy, while to classify documents, the Document ‎taxonomy is used. Following example shows how to classify raw text based on IAB-2 taxonomy using ‎cURL:‎

Raw Text Classification as per IAB-2 Taxonomy - cURL - Request

curl -X POST "https://api.groupdocs.cloud/v1.0/classification/classify?BestClassesCount=3" \
-H "accept: application/json" \
-H "authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d "{ \"description\": \"Medicine is an important part of our life\"}"

Raw Text Classification as per IAB-2 Taxonomy - cURL - Response

    "bestClassName": "Healthy_Living",
    "bestClassProbability": 53.77,
    "bestResults": [
            "className": "Healthy_Living",
            "classProbability": 53.77
            "className": "Medical_Health",
            "classProbability": 38.27
            "className": "Pets",
            "classProbability": 1.98
    "code": 200,
    "status": "OK"

Support and Learning Resources


GroupDocs.Classification Cloud also offers individual document rendering SDKs for other popular languages as listed below: