Domain Authority API (single domain)



Price: 4 credits per request


Description: Collect the authority of an URL or Domain on a 0 – 100 scale. This metric is calculated based on the number, quality and relevancy of the backlinks pointing to a specific page or domain. The higher the Authority Score, the higher the chances to perform well in the organic search engine results.

Query string parameters

Name Parameter Description
URL &url=

The URL or domain you want to analyze

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

Metrics &metrics=

The metrics you want to collect with the API
da = Domain Authority score
pa = Page Authority score

example: pa|da

API key &key= Your private API key

Response elements

Name Description
URL Input URL or domain
Page Authority score Authority of a URL on a 0 – 100 scale
Domain Authority score Authority of the full domain on a 0 – 100 scale

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 URL
$inputUrl 'https://searchengineland.com/';

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

// specific API url 
$apiRequestUrl 'https://api.seoreviewtools.com/authority-score/?url='.$inputUrl.'&metrics=pa|da&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://searchengineland.com/'

# API URL
toolRequestUrl = 'https://api.seoreviewtools.com/authority-score/?url='+inputUrl+'&metrics=pa|da&key='+apiKey

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

JSON response example







Trusted by →

clients