API Endpoint : https://api.backlinkseo.com/v1.2
API Keys : https://app.backlinkseo.com/user/apis/
Domains Data

HTTPS GET : /domains/
Headers : token - [YOUR API KEY]
GET Parameters :
query - [Serach string] - Optional
page - [Page number ] - Optional
limit - [Per page results] - Optional

PHP
Python

 

//initiliaze php curl 
$curl = curl_init();
curl_setopt_array($curl, array(
    CURLOPT_URL => "https://api.backlinkseo.com/v1.2/domains/",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => array(
        "content-type: application/x-www-form-urlencoded",
        "token: [YOUR API KEY]"
    )
));
$result = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);

$getResponse = json_decode($result);
print_r($getResponse);
### import requests
import requests
#### post using requests
REST_HEADERS = {'Accept': 'application/json','token':'[YOUR API TOKEN]'}
getRes = requests.get(
'https://api.backlinkseo.com/v1.2/domains/',
headers=REST_HEADERS
)
getResInJSON = getRes.json()
print(getResInJSON)



Tab Content #3
Backlinks Data

HTTPS GET : /backlinks/
Headers : token - [YOUR API KEY]
GET Parameters :
domainId - [Your domain identified] - Required
query - [Serach string] - Optional
page - [Page number ] - Optional
limit - [Per page results] - Optional
sortOrder - [Listing order] - Optional
sortBy - [Sort by] - Optional

PHP
Python

 

//initiliaze php curl 
$curl = curl_init();
curl_setopt_array($curl, array(
    CURLOPT_URL => "https://api.backlinkseo.com/v1.2/backlinks/?domainId=[DOMAIN ID]",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => array(
        "content-type: application/x-www-form-urlencoded",
        "token: [YOUR API KEY]"
    )
));
$result = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);

$getResponse = json_decode($result);
print_r($getResponse);

Notes :
sortOrder Options : accending/decending
sortBy Options : activelinks/inactivelinks/dofollow/nofollow/sponsored/mozDA/mozPA/mozRank/majesticCF/majesticTF
### import requests
import requests
#### post using requests
REST_HEADERS = {'Accept': 'application/json','token':'[YOUR API TOKEN]'}
getRes = requests.get(
'https://api.backlinkseo.com/v1.2/backlinks/?domainId=[DOMAIN ID]',
headers=REST_HEADERS
)
getResInJSON = getRes.json()
print(getResInJSON)



Notes :
sortOrder Options :  accending/decending
sortBy Options : activelinks/inactivelinks/dofollow/nofollow/sponsored/mozDA/mozPA/mozRank/majesticCF/majesticTF



With BacklinkSEO, you get results: get new backlinks, gain anchor insights, detect lost links, changes in link statuses, find easy to optimize pages, and increase conversions.
@ BacklinkSEO.com, All rights reserved.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram