ahrefs
БесплатноБез исполняемых скриптовНе проверенComplete Ahrefs API integration for SEO analysis. Covers Site Explorer (domains, backlinks, rankings), Keywords Explorer (search volume, difficulty, SERP…
от modbender★ 21 звезда на GitHubОб этом скилле
Ahrefs SEO Analysis
Query and analyze SEO data using the Ahrefs API for backlinks, keywords, rankings, and competitive intelligence.
Prerequisites
API Access
You need an Ahrefs subscription with API access:
- Lite: Basic metrics, limited filtering
- Standard: More endpoints, some filtering
- Advanced: Advanced filtering, more data
- Enterprise: Full API access, advanced filtering, high rate limits
Setup
Get your API token from Ahrefs Account Settings
Configure in OpenClaw: Add to
~/.openclaw/workspace/.env:AHREFS_API_TOKEN=your_api_token_here AHREFS_API_PLAN=enterprise # Options: lite, standard, advanced, enterpriseVerify setup:
grep AHREFS ~/.openclaw/workspace/.env
Plan-Specific Features
All Plans
- Domain Rating & Ahrefs Rank
- Basic backlinks stats (total counts)
- Organic keywords count
- Organic traffic estimates
- Top pages by traffic
Standard & Above
- Organic keywords with positions (all positions)
- Keywords in positions 1-3 (via
org_keywords_1_3metric) - Referring domains list (basic)
Advanced & Enterprise
- Advanced filtering: Filter keywords by position (1-10 for first page)
- Geographic filtering: Filter backlinks by country/TLD (e.g.,
.audomains) - Detailed keyword data: Access to
best_position,sum_traffic,volume - Detailed backlink data: Full backlinks list with filtering
- Higher rate limits: Fetch larger datasets (5000+ records)
Core Capabilities
Site Explorer (Domain Analysis)
Get comprehensive SEO metrics for any domain:
- Domain Rating (DR) & URL Rating (UR)
- Organic traffic estimates
- Referring domains & backlinks
- Organic keywords & rankings
- Top pages by traffic
- Historical data & trends
- [Advanced/Enterprise] Filter by country/TLD
- [Advanced/Enterprise] Position-based filtering (first page only)
Keywords Explorer (Keyword Research)
Discover and analyze keywords:
- Search volume (global & country-specific)
- Keyword difficulty (KD) score
- Cost per click (CPC) estimates
- SERP analysis & features
- Related keywords & questions
- Keyword ideas & suggestions
- Parent topic analysis
- Traffic potential estimates
Rank Tracker (Position Monitoring)
Track keyword rankings over time:
- Position tracking & visibility
- Competitor rankings comparison
- SERP feature tracking
- Historical position data
- Share of voice metrics
- Note: Requires pre-configured projects in Ahrefs
Site Audit (Technical SEO)
Identify technical SEO issues:
- Crawl data & site health scores
- On-page issues by severity
- Internal link analysis
- Page performance metrics
- Mobile usability issues
- Note: Requires pre-configured projects in Ahrefs
SERP Overview (Search Results)
Analyze search engine results:
- Top 100 organic results for any keyword
- SERP features present
- Domain metrics for ranking pages
- Keyword difficulty breakdown
- Click-through rate estimates
Batch Analysis (Bulk Processing)
Process multiple targets efficiently:
- Analyze up to 100 domains/URLs per request
- Bulk keyword metrics
- Batch backlink data
- Cost-effective for large datasets
Brand Radar (Brand Monitoring)
Track brand performance:
- Brand mention metrics
- Share of voice
- Competitor brand comparison
- Sentiment analysis preparation
Competitor Analysis
Compare domains and identify opportunities:
- Side-by-side domain comparison
- Content gap analysis
- Keyword overlaps & differences
- Backlink gap analysis
- Traffic comparison
- [Advanced/Enterprise] Filtered comparisons (first page keywords, local backlinks)
API Structure
Ahrefs API base URL: https://api.ahrefs.com/v3/site-explorer/
Authentication
All requests require the API token in the header:
Authorization: Bearer {AHREFS_API_TOKEN}
Important: Use AHREFS_API_TOKEN, NOT AHREFS_MCP_TOKEN.
Required Parameters
All API calls require:
date: Current date in formatYYYY-MM-DDtarget: Domain (e.g.,example.com)
Common Endpoints
For detailed endpoint documentation and parameters, see references/api-endpoints.md.
API Unit Management
Understanding API Units
- Each API request consumes units from your monthly allowance
- Cost depends on rows returned (minimum 50 units per request)
- Enterprise plans include units; additional units can be purchased
- Track usage at: https://app.ahrefs.com/account/limits-and-usage/web
Cost Optimization Tips
- Limit rows returned: Use
limitparameter to reduce cost - Select specific columns: Use
selectparameter for only needed fields - Batch requests: Process multiple targets in one call (up to 100)
- Cache results: Store frequently a
Установить ahrefs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ahrefs?
Complete Ahrefs API integration for SEO analysis. Covers Site Explorer (domains, backlinks, rankings), Keywords Explorer (search volume, difficulty, SERP analysis), Rank Tracker (position monitoring), Site Audit (technical SEO), SERP Overview, Batch Analysis, and Brand Radar. Use for any SEO-related queries including keyword research, backlink analysis, competitor intelligence, technical audits, and rank tracking.
Как установить скилл ahrefs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ahrefs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic