Okapi Okapi

Ahrefs API v2 version retirement

Stopped workingSubscribe to AhrefsShare

Calls to API v2 on Ahrefs stopped working on November 1, 2025.


What to use instead of these calls

Move to API v3, or use Ahrefs Connect for integrations.

In Ahrefs's words

Reminder: API v2 and all legacy integrations stop working on November 1, 2025.

Ahrefs, Announcement

Facts

API
Ahrefs apiv2.ahrefs.com
Kind
Version retirement
Takes effect
November 1, 2025
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Ahrefs's own pages

Questions

When does this change take effect?

Calls to API v2 on Ahrefs stopped working on November 1, 2025.

What happens to calls after November 1, 2025?

They have failed since November 1, 2025.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Ahrefs

Hear about each breaking change Ahrefs announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Ahrefs

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.