Skip to content
Integration

Ahrefs integrations and automation

Say what should happen in Ahrefs, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.

Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.

No credit card needed.

Ahrefs on Whenever

About Ahrefs

Ahrefs is an SEO and marketing platform offering site audits, keyword research, content analysis, and competitive insights to improve search rankings and drive organic traffic

How Whenever connects

Through its API, with the provider’s credentials and permissions.

Through its MCP server, where its tools and permissions fit the job.

Build it from your AI client

Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Ahrefs workflow. It then runs on Whenever, with the chat closed.

Set up the Whenever MCP server

Plan your Ahrefs workflow

People automate Ahrefs to stop re-running the same reports by hand: a weekly look at new and lost backlinks, keyword positions for a client, or a check on whether a competitor's organic traffic estimate jumped. Ahrefs exposes the same datasets as its interface through API v3, grouped into Site Explorer, Keywords Explorer, Rank Tracker, Site Audit, SERP Overview, Batch Analysis and Brand Radar, and Whenever can also reach Ahrefs over MCP, which lets an AI step choose which of those datasets to query.

API v3 is available on eligible paid Ahrefs plans; other plans only get a limited set of free test queries. Only workspace owners and admins can create API keys. Most requests consume API units based on the rows returned and fields requested, with a minimum of 50 units per request, while Rank Tracker and management endpoints are free of units. That shapes how a workflow should be written: ask for the specific columns you need, filter on the server rather than downloading everything, and set a sensible limit. A weekly report over twenty domains that pulls every backlink can spend far more units than one that asks only for links first seen in the last seven days.

Most Site Explorer endpoints take a target and a mode, so be explicit about whether you mean an exact URL, a path prefix, a domain or the domain with subdomains; the same site gives different numbers under each. Metrics such as Domain Rating and organic traffic are Ahrefs estimates refreshed on its own crawl schedule, not your analytics, so trend them over time rather than treating one reading as precise.

Ahrefs does not push events to a workflow, so Ahrefs automations are scheduled reads. The API allows 60 requests per minute by default and may throttle under load with a 429 response, so a run over a long list of domains should pace itself. Pick a cadence that matches how often the data you rely on changes; a daily rank check only makes sense for a project Rank Tracker updates daily.

Ahrefs workflow examples

Starter briefs to set up with your accounts, not finished workflows.

New and lost referring domains each week

A unit-conscious backlink check that asks only for changes in the last seven days.

Build this workflow

Rank Tracker movers to Slack

Reads an existing Rank Tracker project and reports only significant moves.

Build this workflow

Monthly competitor organic snapshot

Trends Ahrefs estimates month to month instead of reading one number in isolation.

Build this workflow

Related apps for your workflows

All integrations

Ahrefs FAQs

Which Ahrefs plan includes API access?

Ahrefs says API v3 is available on eligible paid plans, which include a monthly API unit allowance; other plans get a limited set of free test queries. Check the pricing page and your Limits and usage settings.

Why does even a small Ahrefs API request cost 50 units?

Units are consumed per request based mainly on the number of rows and fields returned, with a minimum of 50 units per request. Units once consumed are not refunded. Selecting fewer columns and filtering results keeps scheduled reports cheaper.

What is the difference between the Ahrefs API and its MCP server?

The API is for fixed requests a workflow makes the same way every run. The MCP server lets an AI step choose which Ahrefs datasets to query, which suits exploratory questions but makes results less predictable and adds AI usage.

Why do my numbers differ from the Ahrefs dashboard?

Usually the target mode differs: exact URL, prefix, domain and subdomains each give different counts. Date and country parameters also change results, so match them to the view you compare against.

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.