API documentation
Two GET endpoints, plain JSON, no SDK required. Domain metrics from three sources in one call, and the raw backlink rows behind them.
Your first request.
Get a key from your account page, put it in the request below, and you have a working integration. There is nothing else to configure.
Checking your balance costs nothing, so it is a safe way to confirm a key works before spending a credit on it.
# Free: does this key work, and what is left on it? curl -G https://domdetailer.com/api2/checkBalance.php \ --data-urlencode "apikey=$KEY" \ --data-urlencode "app=YourApp" # -> ["UnitsLeft", 92921] # 1 credit: Moz + Majestic + Pretty for one domain curl -G https://domdetailer.com/api2/checkDomain.php \ --data-urlencode "apikey=$KEY" \ --data-urlencode "app=YourApp" \ --data-urlencode "domain=example.com"
Pick an endpoint.
Domain metrics API
CurrentMoz DA and PA, Majestic Trust Flow and Citation Flow, and our own Pretty counts for a single domain. One credit returns the lot.
mozDA
majesticTF
prettyLinksIn
+25 more
Backlinks API
CurrentUp to 5,000 individual backlinks with anchor text, source and target URLs and follow status, plus a profile summary.
anchor
source
nf
ref_domains
OpenAPI specification
ToolingThe whole surface as an OpenAPI 3.0 document. Import it into Postman or Insomnia, or generate a typed client from it.
openapi.yaml
Legacy API v1
DeprecatedThe original endpoint, kept working for integrations that already use it. Returns fewer fields for the same credit, so there is no reason to choose it for new work.
mozDA
majesticTF
Every endpoint, and what it costs.
| Endpoint | Returns | Credits | Reference |
|---|---|---|---|
GET /api2/checkDomain.php |
Moz, Majestic and Pretty metrics for one domain in a single call. | 1 | Docs |
GET /api2/getBacklinks.php |
Up to 5,000 backlink rows for a domain, plus a link profile summary. | 1 | Docs |
GET /api2/checkBalance.php |
How many credits remain on the account. Never charged. | Free | Docs |
What the numbers mean
Every field defined, with what a good value looks like and which combinations catch a manipulated profile.
Open →Where the data comes from
How the Pretty index is crawled, parsed and served, and how our definitions differ from other providers.
Open →Is it up?
Live availability and response times for every endpoint, with recent incident history.
Open →Start at 25,000 lookups for $34.
One balance covers the browser tools, the desktop app and the API. Nothing renews, nothing expires, and you can stop using it for six months without losing anything.