Ahrefs integration
Ahrefs SEO API v3 - programmatic access to Site Explorer (domain rating, URL rating, backlinks, referring domains, anchors, organic and paid keywords, organic competitors, top pages, broken backlinks, historical metrics), Keywords Explorer (keyword overview, search volume history, matching terms, related terms, search suggestions), Rank Tracker (project overview, SERP overview, competitors overview/pages/stats), and Subscription Information (limits and usage). Default rate limit 60 req/min; minimum 50 API units per request (Rank Tracker and management endpoints are free).
Say what should happen.
The workflow builds itself.
Common Ahrefs use cases
- link audit
- content audit
- FAQ generation
- position tracking
- link audit overview
- SEO trend reporting
- broken link building
- client SEO reporting
- competitive analysis
- topic prioritization
What you can do with Ahrefs
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Anchor, 1 operation
site_explorer_anchorsSite explorer anchorsGETAgents: ask firstLists anchor text distribution for inbound links.
Backlink, 1 operation
site_explorer_all_backlinksSite explorer all backlinksGETAgents: ask firstLists all backlinks pointing to a target with anchor, source and link attributes.
Backlinks stats, 1 operation
site_explorer_backlinks_statsSite explorer backlinks statsGETAgents: ask firstReturns aggregated backlink statistics for a domain or URL.
Broken backlink, 1 operation
site_explorer_broken_backlinksSite explorer broken backlinksGETAgents: ask firstLists backlinks pointing to broken pages on the target.
Domain rating, 1 operation
site_explorer_domain_ratingSite explorer domain ratingGETAgents: ask firstReturns the Ahrefs Domain Rating (DR) score for a target domain.
Keyword overview, 1 operation
keywords_explorer_overviewKeywords explorer overviewGETAgents: ask firstReturns SEO metrics (volume, difficulty, CPC) for one or more keywords.
Keyword volume history, 1 operation
keywords_explorer_volume_historyKeywords explorer volume historyGETAgents: ask firstReturns monthly search-volume history for given keywords.
Matching terms, 1 operation
keywords_explorer_matching_termsKeywords explorer matching termsGETAgents: ask firstLists keyword ideas matching seed keywords by term or phrase.
Metrics history, 1 operation
site_explorer_metrics_historySite explorer metrics historyGETAgents: ask firstReturns time-series of organic and paid metrics for a target.
Organic competitor, 1 operation
site_explorer_organic_competitorsSite explorer organic competitorsGETAgents: ask firstLists organic search competitors of the target ranked by overlap.
Organic keyword, 1 operation
site_explorer_organic_keywordsSite explorer organic keywordsGETAgents: ask firstLists organic keywords a target ranks for with positions and traffic.
Pages by traffic, 1 operation
site_explorer_pages_by_trafficSite explorer pages by trafficGETAgents: ask firstReturns the distribution of a target's pages across organic-traffic buckets.
Paid page, 1 operation
site_explorer_paid_pagesSite explorer paid pagesGETAgents: ask firstLists paid landing pages of a target with estimated PPC traffic and cost.
Rank tracker competitor pages, 1 operation
rank_tracker_competitors_pagesRank tracker competitors pagesGETAgents: ask firstLists competitor URLs ranking for tracked keywords in a project.
Rank tracker competitors, 1 operation
rank_tracker_competitors_overviewRank tracker competitors overviewGETAgents: ask firstLists competitor SoV and visibility for a Rank Tracker project.
Rank tracker overview, 1 operation
rank_tracker_overviewRank tracker overviewGETAgents: ask firstReturns aggregated rank tracker overview for a project (free, no API units).
Rank tracker serp, 1 operation
rank_tracker_serp_overviewRank tracker serp overviewGETAgents: ask firstLists SERP results per tracked keyword for a Rank Tracker project.
Refdomain, 1 operation
site_explorer_refdomainsSite explorer refdomainsGETAgents: ask firstLists referring domains linking to the target.
Refdomains history, 1 operation
site_explorer_refdomains_historySite explorer refdomains historyGETAgents: ask firstReturns historical referring-domain counts for a target.
Related terms, 1 operation
keywords_explorer_related_termsKeywords explorer related termsGETAgents: ask firstLists semantically related keywords for given seeds.
Search suggestions, 1 operation
keywords_explorer_search_suggestionsKeywords explorer search suggestionsGETAgents: ask firstLists auto-complete-style search suggestions for seed keywords.
Subscription limits, 1 operation
subscription_info_limits_and_usageSubscription info limits and usageGETAgents: ask firstReturns current Ahrefs subscription limits and usage counters.
Top page, 1 operation
site_explorer_top_pagesSite explorer top pagesGETAgents: ask firstLists pages on the target with the most organic search traffic.
Ahrefs API rate limits
- 60 requests per minute
Default 60 rpm (HTTP 429 on overflow). Each non-free request consumes >=50 API units; cost scales with rows and selected columns. Rank Tracker and management endpoints do not consume units.
These are the limits Ahrefs documents, not ones LiveContext measured. They can change and often depend on your plan, so check the Ahrefs documentation for current values.
Use Ahrefs from Claude Code, Cursor or Codex
Connect Ahrefs in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Ahrefs operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Ahrefs
- Create your workspace
Sign up free. Nothing to install.
- Connect Ahrefs once
Add your Ahrefs connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Ahrefs integration FAQ
What can you do with the Ahrefs integration?
LiveContext exposes 23 operations on Ahrefs, covering anchor, backlink, backlinks stats and broken backlink. Common uses include link audit, content audit and FAQ generation.
What are the Ahrefs API rate limits?
Ahrefs documents 60 requests per minute. Default 60 rpm (HTTP 429 on overflow). Each non-free request consumes >=50 API units; cost scales with rows and selected columns. Rank Tracker and management endpoints do not consume units. Limits are set by Ahrefs and can depend on your plan.
