An Ahrefs API alternative for keyword volume and CPC
By Collin Brittain, software engineer · Updated
Short answer: If you only need keyword search volume, CPC and competition through an API, you don't need an Ahrefs plan. The Keyword Search Volume API and Bulk Keyword Planner on Apify return Google Keyword Planner data per lookup, with no subscription. If you need backlinks, Domain Rating or rank tracking, use Ahrefs: our tools don't do those.
Ahrefs' pricing page lists API and MCP access on its plans, starting with Lite at $129 a month (with 1,000 credits per user on Lite), then Standard at $249, Advanced at $449 and Enterprise at $1,499 a month with an annual commitment[1]. Ahrefs also offers free test queries for trying its API endpoints[2]. US Google searches for "ahrefs api" roughly doubled over the past year, from about 420 to 900 over three months.
Comparison
| Ahrefs API | Magenta Waterwheel on Apify | |
|---|---|---|
| Pricing | Monthly plan, from $129/mo[1] | Pay per lookup from your Apify balance; Apify's free plan gives $5 of credit monthly[3] |
| Keyword data | Ahrefs' own volume estimates, keyword difficulty, SERP data | Google Keyword Planner volume, CPC, top-of-page bids, competition, 12-month history |
| Backlinks, DR, rank tracking, site audit | Yes | No |
| Integration | REST API, MCP | Apify API, schedules, webhooks, n8n/Make/Zapier and Apify's MCP server |
Our prices
Keyword Planner API
| Event | Price (USD) |
|---|---|
| Actor Start | $0.00005 ($0.05 per 1,000) |
| Keyword with data | $0.0006 ($0.60 per 1,000) |
| Lookup | $0.03 |
Scheduled change from 2026-11-27: Lookup $0.15.
Live pay-per-event prices from the Apify API. Platform usage is included. Check the Store page for the current price.
Bulk Keyword Planner
| Event | Price (USD) |
|---|---|
| Actor Start | $0.00005 ($0.05 per 1,000) |
| Batch of up to 1,000 keywords | $0.19 |
Live pay-per-event prices from the Apify API. Platform usage is included. Check the Store page for the current price.
What it costs
With the Keyword Search Volume API, 100 keywords cost about $0.09 and 1,000 keywords about $0.63 ($0.0006 per keyword plus $0.03 per 1,000-keyword batch). For lists of 300 keywords or more, the Bulk Keyword Planner is cheaper: a flat $0.19 per batch of up to 1,000 keywords per location, so 10,000 keywords cost about $1.90.
When Ahrefs is the better choice
Pick Ahrefs if you need backlink data, Domain Rating, competitor organic traffic, rank tracking or site audits through an API. Those are Ahrefs' core strengths and our tools don't cover them.
When pay-per-lookup is the better choice
Pick pay-per-lookup if you only need keyword volume and CPC inside your own scripts, spreadsheets or AI agent, check keywords now and then, or run big lists a few times a year.
FAQ
Does Ahrefs have an API?
Yes. Ahrefs' pricing page lists API and MCP access on its plans, starting with Lite at $129 a month, and its developer page offers free test queries.
Is there a cheaper Ahrefs API for keyword volume?
For search volume and CPC only, yes. Google Keyword Planner data on Apify costs about $0.63 per 1,000 keywords with the Keyword Search Volume API, or $0.19 per 1,000 with the Bulk Keyword Planner, with no subscription.
Do these tools return backlinks or Domain Rating?
No. They return keyword volume, CPC, bids, competition and 12-month history only.
Is the volume data the same as Ahrefs?
No. Ahrefs uses its own estimates; these tools return Google Keyword Planner data. Neither is exact click data.
Sources
- Ahrefs, Plans & pricing, checked 2026-11-04
- Ahrefs for Developers (API, free test queries), checked 2026-11-04
- Apify pricing (free plan), checked 2026-11-04