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.
Pass the text that you want to categorize.
Sentiment Analysis - Determine the emotional tone of a text message, tweet, or product review.
Spam Detection - Classify incoming email messages as spam or not spam.
News Categorization - Organize news articles into categories such as sports, politics, or entertainment.
Topic Classification - Classify documents, blog posts, or news articles into specific topics or subjects.
Language Detection - Automatically detect the language of a given text.
Intent Classification - Determine the user's intent in a customer service chatbot or virtual assistant conversation.
Besides API call limitations per month, there is no other limitation.
Categorize - Endpoint Features
| Object | Description |
|---|---|
text |
[Required] Enter some text to find related categories. |
{"keywords":["hello","world"],"categories":["World Globes"],"keywords_scored":{"hello":1,"world":1},"categories_scored":{"World Globes":0.05883232666666667},"taxonomy_set":"product_categories","version":"7.5.7","author":"Zylalabs","email":"[email protected]","result_code":"200","result_msg":"Success"}
curl --location --request POST 'https://zylalabs.com/api/1215/text+classification+api/1055/categorize?text=hello world' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Categorize endpoint returns structured data that includes identified keywords, categorized results, and their respective scores. The response provides insights into how well the text fits into predefined categories.
Key fields in the response include "keywords" (identified terms), "categories" (predicted classifications), "keywords_scored" (score for each keyword), and "categories_scored" (confidence scores for each category).
The response data is organized in JSON format, containing arrays for keywords and categories, along with objects for scored keywords and categories, allowing for easy parsing and analysis.
The primary parameter for the Categorize endpoint is the text input that needs categorization. Users can customize their requests by providing different text samples to analyze.
Users can leverage the returned keywords and categories to enhance search functionality, improve content organization, and tailor user experiences based on categorized insights from the text.
Typical use cases include organizing news articles, classifying customer inquiries in support systems, and enhancing content discovery on platforms by categorizing blog posts or product descriptions.
Data accuracy is maintained through continuous training of the underlying machine learning models, which are updated with diverse datasets to improve classification performance and relevance.
Quality checks include validation of model outputs against known datasets, regular performance evaluations, and user feedback mechanisms to refine categorization accuracy over time.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
308ms
Service Level:
100%
Response Time:
235ms
Service Level:
100%
Response Time:
728ms
Service Level:
100%
Response Time:
283ms
Service Level:
100%
Response Time:
1,035ms
Service Level:
100%
Response Time:
594ms
Service Level:
100%
Response Time:
1,321ms
Service Level:
100%
Response Time:
1,062ms
Service Level:
100%
Response Time:
2,006ms
Service Level:
100%
Response Time:
379ms
Service Level:
100%
Response Time:
1,184ms
Service Level:
100%
Response Time:
3,107ms
Service Level:
100%
Response Time:
4,048ms
Service Level:
100%
Response Time:
1,945ms
Service Level:
100%
Response Time:
1,134ms
Service Level:
100%
Response Time:
1,408ms
Service Level:
100%
Response Time:
758ms
Service Level:
100%
Response Time:
1,812ms
Service Level:
100%
Response Time:
3,497ms
Service Level:
75%
Response Time:
1,498ms