We've launched our developer-first Developer API & free Ahrefs Domain Rating checker!
CheckSEORank Premium API

Developer API Documentation

Integrate real-time SEO metrics directly into your applications, custom reports, and search workflows.

🔑

Need an API Key?

API access is available to users on the Pro (2,000 reqs/mo) and Agency (5,000 reqs/mo) plans.

1. Request Authentication

Authenticate your API calls by passing your API Key in either the X-API-Key request header, or as a key query string parameter.

// Header Method
X-API-Key: YOUR_API_KEY
// Query String Method
?key=YOUR_API_KEY

2. Endpoint: Get SEO Metrics

Retrieve real-time metrics including Domain Authority (DA), Page Authority (PA), Ahrefs Domain Rating (DR), Spam Score, and Backlink counts for any target website domain.

GET https://checkseorank.com/api/v1/metrics

Query Parameters

Parameter Type Required Description
domain string Yes The website domain to check (e.g. google.com)
key string No Your API key (optional if header is sent)

Limits & Rate Limits

  • Rate Limit: Maximum of 60 requests per minute per API key.
  • Monthly Quota: Dynamic based on plan tier (Pro: 2,000/mo, Agency: 5,000/mo).
  • Response Format: All data is returned in standard JSON.
  • Bypass: Admin accounts have completely unlimited API quotas and rate limits.

3. Code Templates

curl -X GET "https://checkseorank.com/api/v1/metrics?domain=example.com" \
  -H "X-API-Key: YOUR_API_KEY"
<?php
$apiKey = "YOUR_API_KEY";
$domain = "example.com";

$ch = curl_init("https://checkseorank.com/api/v1/metrics?domain=" . urlencode($domain));
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        "X-API-Key: $apiKey"
    ]
]);

$response = curl_exec($ch);
$data = json_decode($response, true);
print_r($data);
curl_close($ch);
?>
const apiKey = 'YOUR_API_KEY';
const domain = 'example.com';

fetch(`https://checkseorank.com/api/v1/metrics?domain=${encodeURIComponent(domain)}`, {
  headers: {
    'X-API-Key': apiKey
  }
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
import requests

apiKey = 'YOUR_API_KEY'
domain = 'example.com'

response = requests.get(
    "https://checkseorank.com/api/v1/metrics",
    headers={"X-API-Key": apiKey},
    params={"domain": domain}
)
data = response.json()
print(data)
📦

Official Developer SDKs Wrapper Package

Download pre-packaged, ready-to-run wrapper classes for PHP, Node.js, and Python.

Download SDKs (.zip)

4. Response JSON Schema

{
  "success": true,
  "data": {
    "domain": "example.com",
    "da": 93,
    "pa": 76,
    "dr": 88,
    "spam_score": 1,
    "backlinks": 2341098,
    "dofollow": 1989020,
    "nofollow": 352078,
    "kd": 86,
    "da_label": "Excellent",
    "da_color": "#10B981"
  }
}

We use cookies

We use cookies to enhance your experience and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. Privacy Policy