RapidAPI logo

Sign Up

Log In

Turbo NLP

FREEMIUM
By sharpcode
Updated 3 months ago
Text Analysis
6.8/10
Popularity Score
730ms
Latency
100%
Success Rate

Turbo NLP API Documentation

Your Swiss army knife for NLP! Text summarization, sentiment check, text readability analysis, named entity extraction, segmentation, tokenization, SEO slug creation and much more.

View API Details
POSTCheck Sentiment
POSTNER
POSTTokenize
POSTSegment
POSTCreate Slug
POSTTest Readability
POSTSummarize Text
POSTTest Readability

This endpoints take a text and returns readbility scores.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Method payloadJSON_STRING
REQUIREDText whose readbility must be tested
Request Snippet
unirest.post("https://turbo-nlp.p.rapidapi.com/TestReadability")
.header("X-RapidAPI-Host", "turbo-nlp.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"text":"Tetris is a video game developed in the Soviet Union in 1984. The goal is to drop blocks, called tetrominoes, down into a playing field to make lines. Tetrominoes are made of four connected squares each, and there are seven different shapes of tetrominoes.[1] A player uses the tetrominoes to make unbroken lines of squares across the bin from left to right by stacking them in the playing field. When a player makes a line, it clears. After a clear, squares over that line fall. As play goes on, the tetrominoes fall faster."})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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.post("https://turbo-nlp.p.rapidapi.com/TestReadability")
.header("X-RapidAPI-Host", "turbo-nlp.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"text":"Tetris is a video game developed in the Soviet Union in 1984. The goal is to drop blocks, called tetrominoes, down into a playing field to make lines. Tetrominoes are made of four connected squares each, and there are seven different shapes of tetrominoes.[1] A player uses the tetrominoes to make unbroken lines of squares across the bin from left to right by stacking them in the playing field. When a player makes a line, it clears. After a clear, squares over that line fall. As play goes on, the tetrominoes fall faster."})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication