Sign Up

Log In

Text Classification

FREEMIUM
By twinword
Updated a month ago
Text Analysis
7.4/10
Popularity Score
748ms
Latency
98%
Success Rate

Text Classification API Documentation

Classify unstructured data such as articles or text into predefined categories.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
Text Classification
GETClassify (get)
POSTClassify (post)
GETClassify (get)

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:

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDEnter some text to find related categories.
Optional Parameters
titleSTRING
OPTIONALEnter title of text (optional).
setSTRING
OPTIONALEnter custom taxonomy set ID (optional). Invalid ID will default to default taxonomy set. Contact us at [email protected] to set up custom taxonomy set.
Request Snippet
unirest.get("https://twinword-text-classification.p.rapidapi.com/classify/?title=undefined&set=undefined&text=<required>")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://twinword-text-classification.p.rapidapi.com/classify/?title=undefined&set=undefined&text=<required>")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard