API
Domain Authority API
See a website's Moz Domain Authority, Page Authority and spam score. Returns clean JSON from one GET request.
Request
One GET request to /moz-metrics/check?domains={domain}
curl "https://scrapingrabbit.com/moz-metrics/check?domains=example.com"Example response
A real answer, shortened: long lists show three items and links have their tracking parameters removed.
{
"success": true,
"data": [
{
"input_url": "https://example.com",
"domain_name": "example.com",
"metrics": {
"page_rank": 9.09,
"moz_domain_authority": 93,
"moz_page_authority": 86,
"moz_spam_score": 47,
"moz_link_propensity": 0,
"moz_pages_to_subdomain": 111920777,
"moz_nofollow_pages_to_subdomain": 6628656,
"moz_redirect_pages_to_subdomain": 8616626,
"moz_external_pages_to_subdomain": 111920777,
"moz_external_nofollow_pages_to_subdomain": 6628656,
"moz_external_redirect_pages_to_subdomain": 8616626,
"moz_deleted_pages_to_subdomain": 47488011,
"moz_root_domains_to_subdomain": 575382,
"moz_deleted_root_domains_to_subdomain": 139955,
"moz_nofollow_root_domains_to_subdomain": 64620,
"moz_da_history_values": "92|92|92|93|93|93|93|92|92|92|93|92|92|92|93|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92|92..."
}
}
]
}What developers build with it
Judge link opportunities
Compare a site's authority before you ask for a link or buy a guest post.
Benchmark competitors
See how your site's authority stacks up in your market.
Spot risky sites
A high spam score is a reason to look closer before you link or partner.
Limits to plan for
- Domain Authority is a Moz score. It is a rough guide to link strength, not a Google ranking factor.
- Scores move as Moz updates its index, so compare sites on the same day.
- A new site with few links usually scores low even if its content is good.
- Public requests are limited to 100 per 15 minutes per IP address. Some routes have a lower limit.
Frequently asked questions
What is Domain Authority?
A score from 1 to 100 made by Moz that predicts how well a domain may rank, based mostly on its links. Higher is stronger.
What is a good Domain Authority?
It is relative. Compare against sites in your own niche. A score that is high for a local business may be low for a national publisher.
What does the spam score mean?
It estimates how many sites with similar features were penalized by Google. A higher number is a warning sign, not proof of a penalty.
Does Google use Domain Authority?
No. Google does not use Moz's score. It is a useful outside estimate of link strength.
Can I get this data as JSON?
Yes. The ScrapingRabbit API returns the same Moz metrics as JSON. See the endpoint shown on this page.
Guides
- How to Check Domain Age With an API (and When It Fails)
Look up when a domain was first registered and how old it is, as JSON. See where the date comes from, what a failure looks like, and how to handle both in code.
- Find Keyword Ideas With Google Autocomplete (and Code)
Pull the phrases Google suggests as people type, filter out the non-keywords, and expand one seed into dozens of ideas with a short script. Tested code included.
- What Moz Domain Authority Means and How to Check It
Domain Authority, Page Authority and spam score explained in plain words, with a real example, the API fields behind each number, and what the score cannot tell you.
Ready to build?
See how access works, or read the shared response format and error codes.