Ahrefs logo
AI agent integrationAhrefs

Ahrefs integration for multiplayer collaboration with AI agents using Claude Code or Codex

One governed connection your whole team and its AI agents can share, with approved actions and human review, so working in Ahrefs never means pasting credentials into a prompt.

Use Ahrefs from Claude Code

Bring Ahrefs context into engineering work while Type keeps app access attached to the teammate and workspace.

Automate Ahrefs with Codex

Let coding agents ask for the right app action, preserve conversation context, and keep humans in the approval loop.

Connect open agent workflows

Use Type as the collaboration layer around OpenClaw and other LLM workflows that need app access.

Marketing & Social

What the Ahrefs integration exposes

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

One connection, many teammates

Connect Ahrefs once, then decide which teammates can use it for threads, automations, skills, and coding work.

Representative actions

  • Backlinks stats retrieval

    Retrieves comprehensive backlink statistics for a specified website or URL using Ahrefs' Site Explorer tool. This endpoint provides crucial data for SEO analysis, including the total number of backlinks, referring domains, and potentially the Domain Rating (DR). It's essential for understanding a site's link profile, assessing its SEO performance, and conducting competitive analysis. The tool is particularly useful when users need detailed insights into a website's backlink structure or when comparing the backlink profiles of multiple domains. Note that the data returned is based on Ahrefs' extensive web crawl and may not include very recent backlinks.

  • Batch Url Analysis

    Performs a batch analysis on multiple URLs or domains using Ahrefs' powerful SEO metrics. This endpoint allows users to retrieve key SEO data for up to 100 targets simultaneously, streamlining the process of analyzing multiple websites or pages. It's particularly useful for comparing competitors, analyzing site sections, or processing large sets of URLs efficiently. The endpoint offers customization options for selecting specific metrics, filtering by country, and choosing the calculation mode for volume-based metrics. While it provides comprehensive data, users should be aware of the 100-target limit per request and ensure they have sufficient API quota for large-scale analyses.

  • Domain rating for site explorer

    Retrieves the Domain Rating (DR) for a specified domain. Domain Rating is an Ahrefs metric that measures the strength and authority of a website's backlink profile on a logarithmic scale from 0 to 100. This endpoint should be used when you need to quickly assess the overall SEO strength of a domain based on its backlink profile. It's particularly useful for competitive analysis, link building research, and evaluating potential partnership opportunities. The tool provides a single, easy-to-understand metric but does not offer detailed information about the backlinks themselves or other SEO factors. For more comprehensive backlink analysis, consider using other Ahrefs endpoints that provide more detailed backlink data.

  • Domain rating history

    Retrieves the historical Domain Rating (DR) data for a specified domain over time. This endpoint is part of Ahrefs' Site Explorer tool and provides insights into how a domain's authority has changed. It's useful for tracking the impact of SEO efforts, analyzing competitors, or understanding long-term trends in domain strength. The tool returns a time series of Domain Rating values, allowing users to visualize changes in a domain's perceived authority according to Ahrefs' metrics. It should be used when analyzing the historical performance of a domain in terms of its overall SEO strength and backlink profile quality. Note that this endpoint focuses solely on Domain Rating and does not provide other metrics like backlink counts or organic traffic data.

  • Explore keywords overview

    Retrieves a comprehensive overview of keyword data from Ahrefs' Keywords Explorer tool. This endpoint provides essential insights for SEO professionals and content strategists, offering a summary of key metrics such as search volume, keyword difficulty, and potential traffic. It's ideal for users looking to get a quick snapshot of keyword performance and opportunities without diving into specific keyword details. The overview likely includes aggregate data and trends, helping users to make informed decisions about their keyword strategy. While it offers a broad perspective, it may not provide in-depth analysis of individual keywords. Use this endpoint when you need a high-level view of your keyword landscape or to identify general trends in your niche.

Connection

API and auth details

Ahrefs API v3 lets developers use Ahrefs workspace data for custom integrations and automations. Official docs cover Site Explorer, Keywords Explorer, SERP Overview, Rank Tracker, Site Audit, Brand Radar, batch analysis, management endpoints, OAuth/connect flows, API units, rate limits, and free test queries.

FAQ

Questions people ask before connecting Ahrefs

Can Claude Code use Ahrefs?

Yes. Type lets an AI teammate use connected Ahrefs actions from a governed workspace context, so Claude Code work can reference the app without copying credentials into a local prompt.

Can Codex work with Ahrefs through Type?

Yes. Codex can collaborate through Type with app context, skills, and approved actions. The Ahrefs catalog entry includes public integration details and example capabilities where available.

Is this the same as a Ahrefs MCP server?

Type exposes connected app capabilities to AI teammates and coding agents through Type's integration layer. Teams use it when they want shared app access, human review, and teammate-level permissions around agent work.

More marketing & social apps for AI teammates