RapidAPI logo

Sign Up

Log In

Language Scoring

FREEMIUM
By twinword
Updated 3 months ago
Text Analysis
8.7/10
Popularity Score
159ms
Latency
100%
Success Rate

Language Scoring API Documentation

What's the difficulty level of this article? Evaluate the difficulty level of a word, sentence, or paragraph and compare it with another.

View API Details
Language Scoring
GETText (get)
GETWord (get)
POSTText (post)
POSTWord (post)
GETText (get)

Evaluate the difficulty level of a word, sentence, or paragraph.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDInput a some text to evaluate its difficulty level (maximum 200 words or 3,000 characters)
Request Snippet
unirest.get("https://twinword-language-scoring.p.rapidapi.com/text/?text=The+hippocampus+is+a+major+component+of+the+brains+of+humans+and+other+vertebrates.+It+belongs+to+the+limbic+system+and+plays+important+roles+in+the+consolidation+of+information+from+short-term+memory+to+long-term+memory+and+spatial+navigation.+Humans+and+other+mammals+have+two+hippocampi%2C+one+in+each+side+of+the+brain.+The+hippocampus+is+a+part+of+the+cerebral+cortex%3B+and+in+primates+it+is+located+in+the+medial+temporal+lobe%2C+underneath+the+cortical+surface.+It+contains+two+main+interlocking+parts%3A+Ammon's+horn+and+the+dentate+gyrus.")
.header("X-RapidAPI-Host", "twinword-language-scoring.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.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.get("https://twinword-language-scoring.p.rapidapi.com/text/?text=The+hippocampus+is+a+major+component+of+the+brains+of+humans+and+other+vertebrates.+It+belongs+to+the+limbic+system+and+plays+important+roles+in+the+consolidation+of+information+from+short-term+memory+to+long-term+memory+and+spatial+navigation.+Humans+and+other+mammals+have+two+hippocampi%2C+one+in+each+side+of+the+brain.+The+hippocampus+is+a+part+of+the+cerebral+cortex%3B+and+in+primates+it+is+located+in+the+medial+temporal+lobe%2C+underneath+the+cortical+surface.+It+contains+two+main+interlocking+parts%3A+Ammon's+horn+and+the+dentate+gyrus.")
.header("X-RapidAPI-Host", "twinword-language-scoring.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication