Word count API
            	 API endpoint →  https://api.seoreviewtools.com/word-count/            
            
               
              
         	
            	Example API call →  https://api.seoreviewtools.com/word-count/?url=https://www.searchenginejournal.com&key=YOUR-PRIVATE-API-KEY  
            
          
        
        
           
         	Price: 1 credits per request
Description: uncover the number of words on a webpage (including: Word count total, Corrected word count, Anchor text words, Anchor Percentage)
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.searchenginejournal.com';
// API key 
$apiKey = 'YOUR-API-KEY';
// specific API url 
$apiRequestUrl = 'https://api.seoreviewtools.com/word-count/?url=' . urlencode($inputUrl) . '&key=' . urlencode($apiKey);
// get data from API
$jsonReposnse = file_get_contents($apiRequestUrl);
// convert JSON to PHP array
$dataArray = json_decode($jsonReposnse, true);
// 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.searchenginejournal.com'
# API URL
toolRequestUrl = 'https://api.seoreviewtools.com/word-count/?url='+inputUrl+'&key='+apiKey
r = requests.request("GET", toolRequestUrl,)
print(r.text)                
                
                   
  			JSON response example
            	Ready to start testing the Word count API endpoint? Get your API Key →  
            
  
			
        
            Trusted by →
 
            
        
			