Text Classification
This text classifier has a max token length of 4096 tokens. If you POST a string larger than 4096, the API will automatically truncate your string (so the frist 4096 tokens will be considered only). If you have larger pieces of text that need to be classified consider chunking your strings for the API or consider using a summarizer. Over 400 different categories in the text classifier.
Text Classification endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
Text Classification /text-classifier |
This endpoint POSTS text to the AI classifier. Your string must have the "text" key. It must be under 50MB and a minimum of 5 characters. Higher tier plans available for power… |
| GET |
List Categories /list-categories |
Returns a list of child categories with their parent categories in JSON. |
Text Classification pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $15 / month | 20 / second |
|
| ULTRA | $50 / month | 30 / second |
|
| MEGA Recommended | $150 / month | 30 / second |
|