GuideUpdated: 2026-10-23

Connect Ahrefs: API v3 key, data types and unit cap

Connect your own Ahrefs API v3 key as a data source; learn which data types it serves, how many API units each action uses and how to set a monthly unit cap.

Open this screen in the panel

If you have an Ahrefs subscription, SEOAsist can use its data as a data source. SEOAsist tracks rankings, finds the content gap, applies fixes and reports the results with that data. The connection is optional and runs on your own API v3 key: every call uses API units from your Ahrefs account.

note

Connecting alone changes nothing. In the Data sources table on the Data tab of Integrations you choose which data types Ahrefs answers. A paid source is never used unless you pick it.

Which data types does it serve?

Data typeAhrefs API v3 endpointQuality
Rank trackingSite Explorer → organic-keywords (best position and URL)Approximate: positions from the Ahrefs database, not a live SERP check
Volume / CPC / KDKeywords Explorer → overviewFull
Keyword ideasKeywords Explorer → related-terms, matching-terms for long-tailFull
Competitors and content gapSite Explorer → organic-competitors, the organic-keywords list of both domainsFull
BacklinksSite Explorer → backlinks-stats, domain-rating, all-backlinks (one link per domain, including links lost in the last 90 days), refdomainsFull (Ahrefs' spam flag is shown as toxic)

The local map grid does not work with Ahrefs; it needs DataForSEO. Domain Rating (0–100) appears in the rank column of the backlink views.

Prerequisites

  • An Ahrefs account with API v3 access (Enterprise plan or the API add-on).
  • The admin role in SEOAsist.

Getting the API key

  1. Sign in to app.ahrefs.com.
  2. Open Account settings → API keys (only workspace owners and admins can create keys).
  3. Create a key and copy it.

Connecting it to SEOAsist

  1. Open the Ahrefs card on the Data tab of Integrations.
  2. Paste the key and press Connect.
  3. Before saving, SEOAsist calls Ahrefs' free limits-and-usage endpoint. On success you see “Ahrefs connected. Units left: …”.
  4. In the Data sources table on the same tab, pick Ahrefs (your account) for the data types you want.

The key is stored encrypted and is never sent to the browser in clear text. Test connection shows the remaining units and uses none.

How many units does each action use?

Ahrefs charges at least 50 units per paid request; the cost per row is the sum of the selected fields (most fields 1 unit, volume / KD / intent / traffic 10 units). The values below are upper-bound estimates.

ActionEndpointAt most
Keyword research (Ideas / Long-tail)related-terms / matching-terms, 32 per row100 rows → 3,200
Fill volume / CPC / KDoverview, 32 per keyword300 keywords → 9,600
Rank checkorganic-keywords, 3 per row1 pull per day, 1,000 rows → 3,000
Find competitorsorganic-competitors, 13 per row15 rows → 195
Competitor syncorganic-keywords, 27 per row500 per competitor + 1,000 of your own
Backlink syncbacklinks-stats 50 + domain-rating 50 + all-backlinks 10 per row500 links → 5,100
Backlink opportunitiesrefdomains, 5 per row300 rows per competitor, up to 5 competitors
tip

Competitor sync is the most expensive action with Ahrefs. Try it with one competitor first and set a monthly cap.

Monthly unit cap

Type a number in Monthly unit cap on the Ahrefs card and press Save. Before every call, SEOAsist adds this month's estimated usage and the call's estimated cost; if the cap would be exceeded, the call is not sent and you get a notification. Leave the field empty for no cap. The exact usage is on app.ahrefs.com → API keys.

Errors

MessageMeaningWhat to do
API key was rejectedHTTP 401: wrong, expired or deleted keyCreate a new key and reconnect
API units ran outThe unit limit was reachedAdd units in Ahrefs or wait for the reset date
No API accessHTTP 403: the plan does not cover this endpointCheck your Ahrefs plan
Rate limit exceededHTTP 429 (60 requests per minute by default)SEOAsist waits and retries
Monthly unit cap reachedThe cap you setRaise the cap or wait for the new month

On a key, unit or access error the related pages show an “Ahrefs is not working” banner and the owner is notified once a day. A chosen source that fails is never silently replaced by a free one.

FAQ

Why are rankings “Approximate”?

Positions come from the Ahrefs database; Ahrefs refreshes them on its own schedule and only for keywords it knows. For a daily live SERP check, choose DataForSEO for rankings.

How do I remove the connection?

Open the card, press Remove and confirm. Data types set to Ahrefs go back to the default source; the Ahrefs series is kept but not continued.

Does SEOAsist charge for Ahrefs?

No. Units are taken directly from your Ahrefs account. See Costs.

Was this article helpful?
Didn't find what you need?
Describe the problem and our team will reply by email.
Contact us