Website Traffic Analytics API
            	 API endpoint →  https://api.seoreviewtools.com/website-traffic/            
            
               
              
         	Price: 4 credits per request
Description: Collect website traffic statistics for any website. (This data is not limited by country settings and will therefore return the global traffic estimate).
Query string parameters
| Name | Parameter | Description | 
|---|---|---|
| URL | &url= | 
 The domain you want to analyse (add the domain name without parameters, schema, path and www) example: domain.com  | 
| API key | &key= | Your private API key | 
Response elements
| Name | Description | 
|---|---|
| organic traffic | Monthly organic traffic estimate | 
| paid traffic | Monthly paid traffic estimate | 
| paid traffic cost | Monthly paid traffic cost estimate (in USD) | 
More information: discover more about this API
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 Domain
$inputDomain= 'nike.com';
// API key 
$apiKey = 'YOUR-API-KEY';
// specific API url 
$apiRequestUrl = 'https://api.seoreviewtools.com/website-traffic/?url='.$inputDomain.'&key='.$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 Domain
inputDomain= 'https://nike.com'
# API URL
toolRequestUrl = 'https://api.seoreviewtools.com/website-traffic/?url='+inputDomain+'&key='+apiKey
r = requests.request("GET", toolRequestUrl,)
print(r.text)                
                
                   
  			JSON response example
            	Ready to start testing the Website Traffic Analytics API endpoint? Get your API Key →  
            
  
			
        
            Trusted by →
 
            
        
			