Skip to content
SeoData

Ahrefs API pricing and Ahrefs API cost for agencies pulling client data

The Ahrefs API comes with every paid Ahrefs plan, from Lite at 129 USD a month to Enterprise at 1,499 USD a month on an annual contract. The plan price is only the entry ticket. What an agency actually pays depends on API units: each request costs at least 50 units, rows are priced by the fields you ask for, lower plans cap the rows per request, and extra units are billed pay-as-you-go at a rate Ahrefs does not publish on its pricing page.

A developer's desk by a window with a laptop showing a dark terminal and a monitor with a soft line chart, cables and a notebook

How much does the Ahrefs API cost?

The Ahrefs API costs as much as the plan you are on, starting at 129 USD a month on Lite, plus pay-as-you-go units once your usage passes the plan limits. Each billable request uses at least 50 units, and expensive fields such as traffic cost 10 units per row, so the monthly bill follows your request volume.

The figures below come from the Ahrefs pricing page and API documentation as checked in October 2026. Ahrefs changes plans often, so confirm them before you budget.

Ahrefs planMonthly priceMax rows per API requestCredits per userAhrefs Connect units per monthExtra user
Lite129 USD1001,000200,00040 USD, up to 2
Standard249 USD250Unlimited800,00060 USD, up to 5
Advanced449 USD500Unlimited2M80 USD, up to 10
Enterprise1,499 USD, annual commitmentUnlimitedUnlimited4M or custom100 USD

Enterprise is the only tier listed with uncapped API access and custom API endpoints. Ahrefs Connect is the program for third-party integrations, and its unit figures are the only unit numbers printed on the pricing page. For direct API use, the Subscription Information endpoint in the API returns your current limit and usage, so check it on your own account before you plan a workload. The old API v2 was switched off on November 1, 2025, so any budget built on v2 prices is out of date.

How Ahrefs API units are calculated per request

Ahrefs documents one formula. A request costs the larger of two numbers, the base cost or the per-row cost multiplied by the rows returned.

  • The base cost of every billable request is 50 units
  • Each unique field in select, where or order_by adds 1 unit per row by default
  • Some metrics cost 5 or 10 units per row, and each endpoint's field notes say which
  • A field used in several parameters is counted once
  • Requests served from cache cost nothing, and Rank Tracker, Management, Public and a few other endpoints are free

Two examples from the Ahrefs documentation show how far apart the costs can be.

RequestPer-row costRowsUnits used
Domain rating for one domain2 units (domain_rating, ahrefs_rank)150, the base cost applies
All backlinks with title, refdomains_source and traffic12 units (1 + 1 + 10)5006,000

The second line is the one that surprises people. Adding a single traffic column to a backlinks pull multiplied its cost six times over a version with two cheap fields. Every response carries headers such as x-api-units-cost-total and x-api-cache, and Ahrefs offers free test queries against fixed targets, so run your real queries there first and read the headers before you commit to a dashboard design.

What 20 client dashboards cost in Ahrefs API units

Here is a weekly pull an agency might run for each client dashboard. The volume field is treated as a 10 unit metric for this example, so confirm it in the keyword endpoint's field notes.

Weekly pull per clientCalculationUnits
Domain rating for the client and 4 competitors5 requests x 50 base cost250
200 newest backlinks with title, refdomains_source and traffic200 rows x 12 units2,400
100 organic keywords with keyword, position and volume100 rows x 12 units1,200
Total per client per week3,850

For 20 clients that is 77,000 units a week. Over an average month of 4.33 weeks it comes to about 333,400 units.

Plan limits change the shape of the requests too. On Lite the 100 row cap splits the 200 backlink pull into two requests. The unit total stays at 2,400 because both halves are above the base cost, but your code has to page through results, and each extra competitor or keyword set adds more calls. Caching helps when several dashboards request the same domain in the same period.

The part you cannot calculate from public pages is the dollar cost of usage above your plan. Ahrefs bills pay-as-you-go units automatically once you enable them and consumption passes the plan limits. Those units last three billing months, including the current one, and annual customers can prepay at a discount, but the price per unit is not printed on the pricing page. Ask Ahrefs for a written quote for your expected monthly units before you promise clients a fixed dashboard price.

Once the data is flowing, many agency teams also connect the API output to their CRM and BI tools so account managers see link and ranking changes next to deal and billing data. Budget that integration work alongside the units.

Is the Ahrefs API worth it for agencies

Yes, when your strategy depends on the Ahrefs link index and you already pay for Advanced or Enterprise for research. The data is strong, the documentation is clear, and the free test queries make it easy to price a request before you ship it.

It is a harder sell when the API is the main reason you subscribe. Field-based pricing means a small change in a dashboard, one extra column or one more competitor, changes the bill for every client at once. Agencies that resell dashboards at a fixed monthly fee carry that risk themselves. If you also weigh the full research subscription, our Ahrefs vs Semrush pricing comparison for small agencies adds up seats and projects for a 3 person team.

A flat row quota for agencies that need a forecastable API bill

SeoData counts API usage in rows. One backlink, one keyword or one domain overview is one row, no matter how many fields it has. The same workload from the example above looks like this.

Weekly pull per clientSeoData rows
Domain overview for the client and 4 competitors5
200 newest backlinks200
100 organic keywords100
Total per client per week305

For 20 clients that is 6,100 rows a week, or about 26,400 rows a month. SeoData Agency includes 100,000 API rows a month for 299 USD, or 149 USD per month billed yearly, together with 10 seats, 25 projects and white label reports. Enterprise raises the quota to 1,000,000 rows. Starter and Pro use the app only.

The meta block of every response shows the rows used and the rows left in the period, so the forecast is a multiplication, not a guess. Read the Ahrefs API alternative with row-based pricing for an endpoint by endpoint mapping, the backlink API with a flat row quota for link data specifically, and the SEO API reference for request and response formats.

Ahrefs API pricing questions

Is the Ahrefs API free?

No. Full API access comes with paid plans from Lite at 129 USD a month. Ahrefs offers free test queries against fixed targets for development, and some endpoints such as Rank Tracker, Management and Public are free, but billable requests on your own targets consume API units.

Does Ahrefs Lite include API access?

Yes. As listed in October 2026, Lite at 129 USD a month includes API and MCP access, with a cap of 100 rows per request and 1,000 credits per user. Standard raises the cap to 250 rows and Advanced to 500 rows. Only Enterprise lists uncapped API access.

How many API units does a request use?

An Ahrefs API request uses the larger of 50 units or the per-row cost times the rows returned. Each field costs 1 unit per row by default, and some metrics cost 5 or 10. A 500 row backlinks pull with title, refdomains_source and traffic uses 6,000 units.

Can I buy more Ahrefs API units?

Yes. Ahrefs bills pay-as-you-go API units once you enable them and your usage passes the plan limits. Purchased units last three billing months, including the current one, and annual customers can prepay at a discounted rate. The per-unit price is not listed on the pricing page.

What is a cheaper alternative to the Ahrefs API?

For agencies that want a forecastable bill, SeoData Agency includes 100,000 API rows a month for 299 USD, or 149 USD per month yearly, counted per record rather than per field. DataForSEO is often cheaper for very high volume if your developers build the interface and reports themselves.

Price your client dashboards in rows

Create your account on Agency, generate an API key and run your first pull with the quota shown in every response. See every plan on SeoData pricing.