Docs
Search docs...⌘K

Build with
Ahrefs data

Access Ahrefs marketing and search data through our APIs and developer tools to build custom integrations and workflows.

Search documentation...⌘K
200 OK
Domain / DRRef. Domains
1wikipedia.org98
2github.com96
3medium.com94
4stackoverflow.com93
5producthunt.com91

REST API

Research keywords, analyze backlinks, track rankings, and monitor brand visibility across traditional search and AI platforms.

Introduction

Overview, authentication, and rate limits

Free test queries

Try API endpoints without an Enterprise plan

Explore endpoints

Browse all available API endpoints

API keys

Create and manage your API keys

Changelog

Latest API updates and changes

MCP

Connect your Ahrefs data to AI assistants and agents to enhance their answers with real marketing insights.

Introduction

What is MCP and how to get started

Claude Desktop / Web

Connect Ahrefs to Claude on desktop or web

ChatGPT setup

Use Ahrefs data in ChatGPT conversations

Claude Code

Integrate Ahrefs into your coding workflow

Looker Studio

Build custom dashboards with Ahrefs data in Google Looker Studio.

Introduction

Get started with Ahrefs connectors for Looker Studio

Site Explorer connector

Backlinks, organic traffic, and domain metrics

Rank Tracker connector

Track keyword rankings over time

Site Audit connector

Monitor site health and technical SEO issues

Ahrefs Connect

Bring Ahrefs data into third-party apps through our integration program. Built on API v3.

Introduction

Overview of the integration program

How it works

Architecture and data flow

OAuth guide

Implement OAuth 2.0 authorization

How to apply

Steps to join the program