What you pay Ahrefs for is the index: hundreds of billions of crawled pages, trillions of historical link records and billions of keywords, refreshed every few minutes by one of the busiest crawlers on the web. No agent session can recreate that data. You can build the slice that only touches your own sites (rank tracking, audits, Search Console reports), but competitor backlink and keyword research needs either Ahrefs or a paid data API.
Before you buildTry Ahrefs Free first: if you only care about your own verified sites, it already covers audits and a capped backlink list at no cost.
Build me an SEO tracker for my own sites, covering the slice of Ahrefs that I can collect myself. Requirements: - Node.js 22 + TypeScript CLI run nightly by cron; history in better-sqlite3 at ./data/seo.db and a static report at ./report/index.html after each run. - Rank tracking: read keywords and target domains from ./keywords.csv, query Serper.dev (SERPER_API_KEY in .env) once a day, store the position of my URL per keyword per day and draw a 90-day sparkline for each. - Pull clicks, impressions, CTR and average position per page and query from the Google Search Console API with a service account (JSON path in .env). - Crawl each of my sites with crawlee, max 2,000 pages: list 4xx/5xx links, redirect chains over 2 hops, missing or duplicate titles and descriptions. - Report flags: any keyword that moved more than 3 places, any new broken URL. - No accounts, no telemetry, local-first; one SQLite file holds all history. - Out of scope: competitor backlinks, keyword volumes and traffic estimates for sites I don't own. Do not scrape Google directly. - README: cron line, Serper pricing for 50 keywords a day, the Search Console service-account steps (budget 30 minutes for the Google Cloud console), and a note that link data for other sites needs a paid API.
Opens your agent with the prompt filled in, you press enter. Or copy it and paste it into an empty folder.
The first prompt builds the core. Run these one at a time in the same folder to grow it into your own Ahrefs.
Add a backlinks page to the SEO tracker in this folder. Requirements: - Once a week, pull the Links report (top linking sites and linked pages) for each of my properties from the Google Search Console API, using the service account already in .env. - Store each snapshot in the existing SQLite database with its date. - In the report, list linking sites that appeared or disappeared since the last snapshot. - Out of scope: link data for sites I don't own. - Update the README with what this report can and cannot see.
Add an email digest to the SEO tracker in this folder. Requirements: - After the nightly run, send an email through Resend (RESEND_API_KEY and the address in .env) only if a keyword moved more than 3 places or a new broken URL appeared. - The email lists the changes as a plain table and links to the HTML report. - A --dry-run flag prints the email instead of sending it. - Update the README with the Resend setup.
Extend the rank tracker in this folder. Requirements: - From each stored Serper response, also save the top 10 domains per keyword. - In the report, add a table per keyword: which domains hold positions 1-10 today and how that changed over 30 days. - No extra API calls: reuse the responses the nightly run already fetches. - Update the README.
Agencies and in-house SEO teams treat its link data as the freshest and most complete on the market, and client reports are built around it. For anyone whose job is competitive research, the subscription is cheaper than any way of collecting the data themselves.
Estimate · Search Console and the crawler cost nothing. Daily checks for a few dozen keywords on a SERP API run a few dollars a month. Competitor link data through DataForSEO is billed per request on top.
| Plan | Monthly | Annual, per month | What you get |
|---|---|---|---|
| Ahrefs Free | $0 | $0 | Verified sites only; 5k Site Audit crawl credits per project a month; 1k backlinks or keywords visible at once. |
| Starter | $29 | — | 1 user, 200 credits a month, no add-ons. |
| Lite | $129 | $107.50 | 1 user (up to 2 more at $40/mo each), 1,000 credits per user a month, 750 tracked keywords, 6 months of history, 500k export rows a month. |
| Standard | $249 | $207.50 | 1 user (up to 5 more at $60/mo each), unlimited credits, 2,000 tracked keywords, 2 years of history. |
| Advanced | $449 | $374.17 | 1 user (up to 10 more at $80/mo each), 5,000 tracked keywords, 5 years of history. |
| Enterprise | — | $1,499 | From 3 users, extra users $100/mo, unlimited history. |
Ahrefs Free gives site audits, analytics and a capped backlink view, but only for sites you prove you own.
Not really. Agencies and in-house SEO teams treat its link data as the freshest and most complete on the market, and client reports are built around it. For anyone whose job is competitive research, the subscription is cheaper than any way of collecting the data themselves. The prompt on this page builds the closest honest substitute.
About $29 a month on the Starter plan, $348 a year (checked 2026-10-13).
Backlink profiles of any site, including competitors; Keyword volumes and difficulty scores across 200+ locations; Years of link and ranking history; Traffic estimates for sites you don't own; The newer AI-search visibility tracking. If any of those matter to you, keep paying.
Yes: OpenSEO (open source), SerpBear (open source), SEOnaut (open source).