RapidAPI logo

Sign Up

Log In

Readability Metrics

FREEMIUM
By ipeirotis
Updated 3 months ago
Other
8.7/10
Popularity Score
395ms
Latency
96%
Success Rate

Readability Metrics API Documentation

This API can be used to compute a set of readability metrics for a given text. We currently support the following metrics: Automated Readability Index, Coleman-Liau Index, Flesch–Kincaid Grade Level, Flesch Reading Ease, Gunning-Fog Index, SMOG score, and SMOG Index.

The service is deployed at Google App Engine and available at https://ipeirotis-hrd.appspot.com/

The code and documentation are available on Github at https://github.com/ipeirotis/ReadabilityMetrics

View API Details
Readability
POSTGet readability metrics
POSTGet readability metrics
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIRED
Request Snippet
unirest.post("https://ipeirotis-readability-metrics.p.rapidapi.com/getReadabilityMetrics?text=The+word+logorrhoea+is+often+used+pejoratively++to+describe+prose+that+is+highly+abstract+and++contains+little+concrete+language.+Since+abstract++writing+is+hard+to+visualize%2C+it+often+seems+as+though++it+makes+no+sense+and+all+the+words+are+excessive.++Writers+in+academic+fields+that+concern+themselves+mostly++with+the+abstract%2C+such+as+philosophy+and+especially++postmodernism%2C+often+fail+to+include+extensive+concrete++examples+of+their+ideas%2C+and+so+a+superficial+examination++of+their+work+might+lead+one+to+believe+that+it+is+all+nonsense.")
.header("X-RapidAPI-Host", "ipeirotis-readability-metrics.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.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://ipeirotis-readability-metrics.p.rapidapi.com/getReadabilityMetrics?text=The+word+logorrhoea+is+often+used+pejoratively++to+describe+prose+that+is+highly+abstract+and++contains+little+concrete+language.+Since+abstract++writing+is+hard+to+visualize%2C+it+often+seems+as+though++it+makes+no+sense+and+all+the+words+are+excessive.++Writers+in+academic+fields+that+concern+themselves+mostly++with+the+abstract%2C+such+as+philosophy+and+especially++postmodernism%2C+often+fail+to+include+extensive+concrete++examples+of+their+ideas%2C+and+so+a+superficial+examination++of+their+work+might+lead+one+to+believe+that+it+is+all+nonsense.")
.header("X-RapidAPI-Host", "ipeirotis-readability-metrics.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication