Website Traffic by Country API

Price: 4 credits per request

Description: Get website Traffic statistics by country for any domain.

Query string parameters

Name Parameter Description
URL &url=

The domain you want to analyse (add the domain name without parameters, schema, path and www)


Language &hl=

(optional) The language → full list

example: English

Location &location=

(optional) The geographical location → full list

example: United States

API key &key= Your private API key

Response elements

Name Description
target The domain
se_type Search engine type (Google)
location_code Code of the location
language_code Code of the corresponding language
organic Monthly organic traffic estimate
paid Monthly paid traffic estimate
costs Estimate of the paid traffic costs

More information: discover more about this API

PHP code example


    API documentation for SEO Review Tools.
    API info:
    API documentation:

// input Domain

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

// specific API url 
$apiRequestUrl ''.$inputDomain.'&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


Python code example

# API documentation for SEO Review Tools.
# API info:
# API documentation:
# LinkedIn:

import requests

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

# input Domain
inputDomain= ''

toolRequestUrl = ''+inputDomain+'&key='+apiKey

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

JSON response example

Trusted by →