Readability score API



Price: 1 credits per request


Description: Quickly calculate the Flesch-Kincaid readability score for any URL

Query string parameters

Name Parameter Description
URL &url=

The public URL you want to analyse

example: https://example.com/url/

API key &key= Your private API key

Response elements

Name Description
Flesch Kincaid Reading Ease > Score The readability score calculated with the Flesch Kincaid Reading Ease formula
Flesch Kincaid Reading Ease > grade level The corresponding grade level
Flesch Kincaid Reading Ease > label True or False (string)
Flesch Kincaid Reading Ease > class This class can be used to quickly style the output
Paragraphs The total number of extracted paragraphs
Sentences The total number of extracted sentences
Words The total number of extracted words
Characters The total number of extracted characters
Reading time The estimated reading time 
Speaking time The estimated speaking time
avg. word length Calculated in characters
avg. sentence length Calculated in words
avg. paragraph length Calculated in sentences

PHP code example

<?php

/*
    API documentation for SEO Review Tools.
    API info: https://www.seoreviewtools.com/seo-api/
    API documentation: https://api.seoreviewtools.com/documentation/
    LinkedIn: https://www.linkedin.com/company/seo-review-tools
*/

// input URL
$inputUrl 'https://www.seoreviewtools.com/valuable-backlinks-checker/';

// API key 
$apiKey 'YOUR-API-KEY';


// specific API url 
$apiRequestUrl 'https://api.seoreviewtools.com/readability-score/?url='.$inputUrl.'&key='.$apiKey;

// get data from API
$jsonReposnse file_get_contents($apiRequestUrl);

// convert JSON to PHP array
$dataArray json_decode($jsonReposnsetrue);

// check if API call is success or failed
// (just some basic validation)

// API call fail
if ($dataArray['status'] !== 'ok'){

    
// return error message
    
echo 'Error message: '.$dataArray['error message'];

// API call success    
} else {

    
// print data
    
print_r($dataArray); 
}

?>

Python code example

# API documentation for SEO Review Tools.
# API info: https://www.seoreviewtools.com/seo-api/
# API documentation: https://api.seoreviewtools.com/documentation/
# LinkedIn: https://www.linkedin.com/company/seo-review-tools

import requests

# API key
apiKey = 'YOUR-API-KEY'


# input URL
inputUrl = 'https://www.seoreviewtools.com/valuable-backlinks-checker/'

# API URL
toolRequestUrl = 'https://api.seoreviewtools.com/readability-score/?url='+inputUrl+'&key='+apiKey

r = requests.request("GET", toolRequestUrl,)
print(r.text)

JSON response example







Trusted by →

clients