@this-npm-test-org/connection-ahrefs
v0.1.3
Published
SEO intelligence: backlinks, organic keywords, content explorer, site audit, rank tracking.
Downloads
535
Readme
Ahrefs Connection
Connects your agent to Ahrefs for SEO intelligence. Pull backlink data, organic keyword rankings, site audit results, and content performance. Read-only access via Ahrefs API v3.
Authentication
API token.
api_token— Ahrefs API token from your Ahrefs account dashboard
API access requires Ahrefs Standard plan or higher.
Endpoints
Backlinks
GET /v3/site-explorer/all-backlinks— Get backlinks with referring domain, anchor text, DRGET /v3/site-explorer/new-backlinks— Get recently acquired backlinksGET /v3/site-explorer/lost-backlinks— Get recently lost backlinksGET /v3/site-explorer/referring-domains— Get referring domains with DR distribution
Organic Keywords
GET /v3/site-explorer/organic-keywords— Get ranking keywords with position and volumeGET /v3/site-explorer/top-pages— Get top pages by organic traffic
Site Audit
GET /v3/site-audit/issues— Get site audit issues by severityGET /v3/site-audit/overview— Get audit health score and trend
Content
GET /v3/content-explorer/search— Search content by topic with traffic and backlink data
Rules
- Rate limit: varies by plan (500 rows/query for Standard)
- The agent prioritizes high-DR backlinks and high-volume keywords in summaries
- Site audit data refreshes based on your Ahrefs crawl schedule
- Competitive analysis compares your domain against specified competitors
