Text Classification API

Text Classification API

Text Classification API is a tool for organizing unstructured text data into predefined categories. It uses machine learning algorithms to analyze and categorize text data, making it easier to organize and understand.

API description

About the API:

The Text Classification API is a powerful tool for organizing unstructured text data into predefined categories. The API uses advanced machine learning algorithms to analyze and categorize text data, making it easier to understand and manage. This is particularly useful for applications that deal with large amounts of unstructured text data, such as news websites, content management systems, and customer service platforms.

One of the key benefits of the Text Classification API is its ability to automatically categorize text data into predefined categories. This helps to structure and organize text data, making it easier to search, filter, and analyze. The API can be used to categorize text data into a wide range of categories, from simple topics such as "sports" or "politics" to more complex categories such as "finance" or "technology".

Another advantage of the Text Classification API is its ability to handle large amounts of text data in real-time. The API can process multiple pieces of text data at once, making it possible to categorize and manage large volumes of text data quickly and efficiently. This can be particularly useful for applications that require fast processing of large amounts of text data, such as news websites or customer service platforms.

In conclusion, the Text Classification API is a valuable tool for organizing and managing unstructured text data. With its ability to categorize text data into predefined categories, handle large amounts of text data in real-time, and use advanced machine learning algorithms, it is an ideal solution for a wide range of applications.


What this API receives and what your API provides (input/output)?

Pass the text that you want to categorize. 


What are the most common uses cases of this API?

  1. Sentiment Analysis - Determine the emotional tone of a text message, tweet, or product review.

  2. Spam Detection - Classify incoming email messages as spam or not spam.

  3. News Categorization - Organize news articles into categories such as sports, politics, or entertainment.

  4. Topic Classification - Classify documents, blog posts, or news articles into specific topics or subjects.

  5. Language Detection - Automatically detect the language of a given text.

  6. Intent Classification - Determine the user's intent in a customer service chatbot or virtual assistant conversation.


Are there any limitations to your plans?

Besides API call limitations per month, there is no other limitation. 

API Documentation


Classify text into product categories or contact us to customize and use your own category sets. Enter some text to find its related product categories:

POST https://zylalabs.com/api/1215/text+classification+api/1055/categorize

Categorize - Endpoint Features
Object Description
text [Required] Enter some text to find related categories.
Test Endpoint


                                                                                                                                                                                                                            {"keywords":["chair","comfort","protect","feature","hot","level","cool","flow","air","hour"],"categories":["Office Chairs","Chairs","Arm Chairs","Dental Chairs","Examination Chairs","Massage Chairs","Optometry Chairs","Sleeper Chairs","Kneeling Chairs","Rocking Chairs"],"keywords_scored":{"chair":2,"comfort":2,"protect":1,"feature":1,"hot":1,"level":1,"cool":1,"flow":1,"air":1,"hour":1},"categories_scored":{"Office Chairs":0.12218738666666668,"Chairs":0.09718418666666667,"Arm Chairs":0.07978628666666666,"Dental Chairs":0.07978628666666666,"Examination Chairs":0.07978628666666666,"Massage Chairs":0.07978628666666666,"Optometry Chairs":0.07978628666666666,"Sleeper Chairs":0.07978628666666666,"Kneeling Chairs":0.07978628666666666,"Rocking Chairs":0.07978628666666666},"taxonomy_set":"product_categories","version":"7.5.1","author":"twinword inc.","email":"[email protected]","result_code":"200","result_msg":"Success"}

Categorize - CODE SNIPPETS

curl --location --request POST 'https://zylalabs.com/api/1215/text+classification+api/1055/categorize?text=Protect your back with these ergonomic office chairs. These adjustable chairs are cushioned and molded to ensure comfort over long hours. Some options feature breathable backs that let air flow through to keep you cool and add to your comfort level on hot days.' --header 'Authorization: Bearer YOUR_API_KEY' 


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Text Classification API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
 Response Time

Useful links:




Related APIs