Connect Ahrefs to Your AI Agent

Specify a domain, reporting date, or keyword set and ask AI for a comparison focused on your research question.

4 tools API key

Try a Ahrefs Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Ahrefs

Summarize a Site’s Search Metrics

Combine site metrics with country-level data for a focused report.

/oo Ahrefs: Read Ahrefs metrics for [domain] on [date], including the country breakdown. Summarize the metrics and explain the main country differences without inferring causes.

Compare Keyword Candidates

Organize keyword overview fields into a research table.

/oo Ahrefs: Compare these Ahrefs keywords [keywords] in [country]. Retrieve [overview fields] and make a table, marking missing data and separating measured values from recommendations.

Start Working with Ahrefs

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Ahrefs

    Connect an Ahrefs API key.

    Connect Ahrefs →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • An Ahrefs API subscription with access to the requested reports.
  • Specify a reporting date for site metrics and a country for keyword research. Available fields depend on the report.

Ahrefs Tools

This connection reads Site Explorer metrics, country-level metrics, and Keywords Explorer overviews. It does not expose the full Ahrefs reporting suite.

Site Explorer Metrics

Read website metrics and country breakdowns for a specified date and target scope.

Keyword Overviews

Retrieve selected overview fields for keywords, a target, or a keyword list.

4 tools

Get Limits And Usage

Retrieve Ahrefs API subscription limits and current usage.

ahrefs.get_limits_and_usage

Get Site Explorer Metrics

Retrieve Site Explorer metrics for a domain or URL.

ahrefs.get_site_explorer_metrics

Get Site Explorer Metrics By Country

Retrieve Site Explorer metrics grouped by country for a domain or URL.

ahrefs.get_site_explorer_metrics_by_country

Get Keywords Overview

Retrieve Keywords Explorer overview rows for keywords, a target, or a keyword list.

ahrefs.get_keywords_overview

Frequently Asked Questions

What should I specify for a site comparison?

Use the same reporting date and target scope for each site. Provide domains or URLs and the metrics you want compared.

Can AI shortlist keywords from overview data?

Yes. Provide keywords, country, desired metrics, and your criteria. Ask the assistant to retain the data behind each choice and flag missing fields.

Can it retrieve every Ahrefs report?

The current actions cover site metrics, country metrics, keyword overviews, and API usage information. Other Ahrefs reports are not included.

Connect Ahrefs

About Ahrefs ↗