Ahrefs
SEO and AI-search platform built on large web, keyword, and backlink datasets
You can build a keyword tracker or site audit script, but Ahrefs' value is its proprietary web crawl, backlink index, keyword data, SERP data, and historical datasets.
Build verification: not recorded. How we judge buildability
What you give up
- backlink index
- keyword/SERP databases
- historical data
- scale
- data freshness
- competitive research
- AI-search data
Why people still pay
They pay for the dataset, not the dashboard.
Your build guide
The stack, security requirements, and agent rules for a focused replacement.
Before you start
- crawler
- search/SEO APIs
- storage
- rank tracking jobs
- dashboard
- substantial data budget
Use these project rules and optional skill references alongside the prompt. Review each skill before adding it to your agent; the AGENTS.md export includes the same guidance.
Project rule, data: Store keyword, position, ranking URL, and date in SQLite; run daily from cron.
Project rule, behavior: A localhost dashboard (Flask + Chart.js): a sparkline per keyword and a biggest-movers-this-week list.
Project rule, recovery: When a crawl or search API call fails, retain the last dated snapshot, show its age, and retry within the provider limit.
Implementation plan
Phase 1, architecture and data
Python + httpx. Keywords live in keywords.txt, up to 50 terms; fetch positions from a SERP API (Serper.dev or SerpAPI, key in .env, free tiers cover a small list). Do not scrape Google directly, that just gets blocked. Store keyword, position, ranking URL, and date in SQLite; run daily from cron.
Phase 2, implement
A localhost dashboard (Flask + Chart.js): a sparkline per keyword and a biggest-movers-this-week list.
Phase 3, implement
A technical audit crawler for my domain: follow internal links, flag broken links, missing or duplicate titles and descriptions, redirect chains, and pages under 200 words; write findings to audit.md.
Phase 4, review and output
For one site, crawl pages, check technical SEO, track a small keyword list, and call search APIs where available. A technical audit crawler for my domain: follow internal links, flag broken links, missing or duplicate titles and descriptions, redirect chains, and pages under 200 words; write findings to audit.md.
Phase 5, recovery and acceptance
When a crawl or search API call fails, retain the last dated snapshot, show its age, and retry within the provider limit. Verify this invariant with a saved fixture: A failed crawl retains its last dated snapshot; a report must not imply backlink or keyword coverage the input lacks. State the practical limit: backlink index.
Build me a daily rank tracker and site auditor for my own domain, the one slice of Ahrefs worth building solo. Requirements: - Python + httpx. Keywords live in keywords.txt, up to 50 terms; fetch positions from a SERP API (Serper.dev or SerpAPI, key in .env, free tiers cover a small list). Do not scrape Google directly, that just gets blocked. - Store keyword, position, ranking URL, and date in SQLite; run daily from cron. - A localhost dashboard (Flask + Chart.js): a sparkline per keyword and a biggest-movers-this-week list. - A technical audit crawler for my domain: follow internal links, flag broken links, missing or duplicate titles and descriptions, redirect chains, and pages under 200 words; write findings to audit.md. - Pull clicks and impressions per query from the Google Search Console API and show them beside the rank data. Warn me in the README: budget an hour for the Google Cloud console OAuth setup, it is the painful step. - Local only, no accounts, no telemetry. - Out of scope: backlink data, keyword volume and difficulty, and competitor research. Do not try to fake these by scraping; that dataset is the subscription. - README: API key setup, the Search Console connection steps, and a plain statement that Ahrefs is a proprietary web index and this replaces the dashboard, not the data.
$ open in your agent (prompt prefilled, you press enter), copy the prompt or copy AGENTS.md · generated from this app's build plan
prompt copied. want to know what dies next week?
new verdicts + top votes, weekly. free. one-click out.
Ahrefs pricing
| plan | monthly | annual (per mo) | what you get |
|---|---|---|---|
| ahrefs free | $0/workspace | $0/workspace | Unlimited verified owned projects; limited Site Explorer and Site Audit access; numeric report/credit caps are not published on the pricing card. |
| starter | $29/user | — | Limited Site Explorer, Site Audit and Keywords Explorer access; numeric caps are not published on the main pricing card.Annual price was not exposed. |
| lite | $129/user | — | 5 unverified projects; 750 tracked keywords; 5 tracked AI prompts; 100,000 crawl credits/month; 1,000 credits/user/month; 1 user.Annual billing saves up to 17%, but the exact annual rate was not exposed. |
| standard | $249/user | — | 20 unverified projects; 2,000 tracked keywords; 10 AI prompts; 500,000 crawl credits/month; 1 user.Annual billing saves up to 17%, but the exact annual rate was not exposed. |
| advanced | $449/user | — | 50 unverified projects; 5,000 tracked keywords; 20 AI prompts; 1,500,000 crawl credits/month; 1 user.Annual billing saves up to 17%, but the exact annual rate was not exposed. |
| enterprise | — | $1499/user | From 3 users; 100 unverified projects; from 10,000 tracked keywords; from 5M crawl credits/month.Starts at $1,499/month with an annual commitment. |
| brand radar ai | $199/workspace | — | Standalone access starts at $199/month; searches a database of 271M+ organic prompts.Exact included custom-prompt allowance depends on configuration. |
free tierfree for verified owned sites; unlimited verified projects, but numeric report and credit caps are not published on the main pricing card
billingmonthly for self-service plans; annual billing available with savings up to 17%; Enterprise requires an annual commitment
hidden costsextra users cost $40/$60/$80 per month on Lite/Standard/Advanced; Enterprise extra users are $100/month; custom-prompt packages cost $50/$100/$250 monthly with $0.020/$0.015/$0.010 per-check overages; PAYG data expires after 3 billing months; add-ons include Content Kit from $99/month, Report Builder $99/month, and Project Boost at $20 or $200 per project/month
pricing sources checked 2026-08-13 · pricing source ↗
Questions about Ahrefs
Can you build your own Ahrefs with AI?
A full replacement is not the recommended project. You can build a keyword tracker or site audit script, but Ahrefs' value is its proprietary web crawl, backlink index, keyword data, SERP data, and historical datasets.
What does the Ahrefs build prompt cover?
The prompt starts with this scope: For one site, crawl pages, check technical SEO, track a small keyword list, and call search APIs where available. Full-product capabilities excluded from the comparison include: backlink index; keyword/SERP databases; historical data. Follow the implementation plan and its prerequisites before expanding the build.
How do I use the prompt, AGENTS.md and agent skills?
Start with the Ahrefs prerequisites and stack, then copy the prompt into your coding agent. Save the project rules as AGENTS.md in the project root. Linked skills are optional packages or source instructions for specific tasks; review their current contents and install only those matching the chosen stack. A skill does not supply API credentials or verify the finished app.
How long will this Ahrefs project take?
The catalogue estimate is not realistically solo for the limited scope. Setup, integration approvals, debugging, deployment and ongoing maintenance can add time. This is an estimate, not a delivery guarantee.
What would I give up by replacing Ahrefs?
backlink index; keyword/SERP databases; historical data; scale; data freshness; competitive research; AI-search data. They pay for the dataset, not the dashboard.
What price is this guide comparing against?
The recorded Starter plan is $29/mo (monthly), checked 2026-07-30. Check the linked pricing source before buying. Building your own also has hosting, API and maintenance costs; the recorded amount is not a guaranteed saving.
What can I use instead of building Ahrefs?
The prior-art section lists Screaming Frog alternatives: SEO Macroscope as starting points. Review their current scope, license and maintenance before adopting one.