Ahrefs

Dan Sharp

Posted 18 July, 2017 by in

Ahrefs

Configuration > API Access > Ahrefs

In order to use the Ahrefs integration, you will need a paid subscription. The SEO Spider uses version 3 of their API, which does not require an enterprise plan and API units specifically.

It’s integrated via Ahrefs Connect as a verified third party app, which utilises integration rows. Each subscription level has a row limit.

To use Ahrefs, you must create an API access token via the ‘Sign in with Ahrefs’ button in the app to connect via OAuth.

You cannot create an API key in Ahrefs, then just input it into the tool.

To set up, navigate to ‘Configuration > API Access > Ahrefs’ and click ‘Sign in with Ahrefs’.

Ahrefs API Integration

You will then be taken to Ahrefs, where you need to select your workspace.

Ahrefs select workspace

Then ‘allow’ access to the Screaming Frog SEO Spider.

Ahrefs allow access to Screaming Frog

You will then be given a unique access token from Ahrefs (hosted on the Screaming Frog domain).

ahrefs API token

Copy and paste this token into the API key box in the Ahrefs window, and click ‘OK’ –

Ahrefs API Token box

The account Information tab should now display that your account is authenticated, with the token expiry date (tokens last 1 year). Click ‘Connect’ in the bottom right.

Ahref OAuth Token Connected

You can then select the metrics you wish to pull at either URL, subdomain or domain level.

Ahrefs config metrics

Then simply click ‘start’ to perform your crawl, and the data will be automatically pulled via their API, and can be viewed under the ‘Link Metrics’ and ‘Internal’ tabs.

Ahrefs v3 API

Please see more detail on the metrics in the batch analysis endpoint.


Dan Sharp is founder & Director of Screaming Frog. He has developed search strategies for a variety of clients from international brands to small and medium-sized businesses and designed and managed the build of the innovative SEO Spider software.

Comments are closed.

Back to top