Ahrefs Domain Rating report
Check the broad backlink-profile estimate Ahrefs returns for one domain or URL. Use it as supporting context, then inspect current results and URL-level evidence before judging a keyword or page.
Install and run the report
Install the CLI once, then run seo start to connect your site and Google data. After setup you can run this report yourself or ask your agent to run it.
Install the SEO CLI globally.
npm i -g seoRun setup after installation.
seo startRun ahrefs domain rating through the report catalog.
seo reports run domain-rating --params '{"target":"example.com","targetMode":"domain","provider":"ahrefs"}' --jsonWhat you get from this report
Retrieve one attributed Ahrefs Domain Rating observation for a domain or URL, with its target mode, license, cache state, coverage and limits kept visible.
- Best for
- You need one provider's own backlink-profile metric as supporting evidence.
- Needs
- Domain or absolute URL
- You get
- Retrieve one attributed Ahrefs Domain Rating observation for a domain or URL, with its target mode, license, cache state, coverage and limits kept visible.
- Use next
- Review referring link evidence
Every report follows the same rules for missing data and outside estimates.See how report data works.
What you need before you run it
The report uses the information below. Optional sources are only used when you ask for them.
Domain or absolute URL
Defines the single target sent to the free Ahrefs Domain Rating endpoint.
Connected Ahrefs API v3 key
Authenticates the request without placing the key in report input, output or cache data.
Use a different report for these jobs
These jobs need a different report or a manual review.
You need actual referring URLs, target pages or provider backlink totals.
Run link evidence with an Ahrefs target and a limited row limit. Keep provider summary counts separate from the returned representative links.
You want to judge whether a result may be competitive for one keyword.
Inspect the current result page, page relevance and URL-level evidence. Domain Rating alone cannot establish ranking feasibility.
Use the report with an agent or in code
The command above is enough for most work. These options let an agent, script or application run the same report with explicit input and structured output.
CLI
Use the report catalog when an agent, script or CI job needs predictable JSON instead of the normal terminal output. Check the current input first, then run the report with the validated parameters.
Check the current input before the agent or script runs the report.
seo reports describe domain-rating --jsonOnce the input is valid, run the report through the report catalog.
seo reports run domain-rating --params '{"target":"example.com","targetMode":"domain","provider":"ahrefs"}' --jsonMCP
An MCP agent follows the same two-step flow. It inspects the current schema, fills the required fields and only then runs the report.
Ask the MCP server for the current report input.
{
"id": "domain-rating"
}Run the report after the agent has checked and filled the input.
{
"id": "domain-rating",
"params": {
"target": "example.com",
"targetMode": "domain",
"provider": "ahrefs"
}
}TypeScript
Install the package in a Node 22 project when your application needs to run the report directly. The result includes the same evidence, warnings and limits returned through the CLI and MCP server.
Add the SEO package to your project.
npm install seoRun the report from your TypeScript application.
import { executeReport } from 'seo/mcp'
const result = await executeReport(
'domain-rating',
{
"target": "example.com",
"targetMode": "domain",
"provider": "ahrefs"
},
)
console.log(result)What to do next
Use the observation to decide whether URL-level backlink evidence deserves a closer look. Compare current results, page relevance and Search Console performance before making any claim about ranking difficulty.
- 01Run link evidence for limited referring-link rows and provider summary counts.
- 02Run SERP results for a decision-critical keyword.
- 03Run domain overview when the question concerns estimated search footprint rather than backlink strength.
Related reports
Review limited referring URLs, target pages and anchor text from Ahrefs, DataForSEO, Bing Webmaster or a local export, with source limits kept visible.
Inspect exact organic ranks, domains, URLs, titles, snippets and result features for one keyword, location, language and device-specific search snapshot.
Review estimated organic traffic, ranked keywords and ranking distribution for a domain, with optional matching Search Console evidence kept separate.
Sources used by this report
These primary sources define the provider data or search controls used by the result.