Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Marketing / Ahrefs API
Ahrefs API logo

Ahrefs API

66
AI ReadinessAI-Aware (B)66/100
See full scorecard
Agent-ready OpenAPI document · curated by JenticMarketingSeo Sembearer31 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Pull SEO research data from Ahrefs - backlinks, referring domains, organic and paid keywords, keyword volume, SERP overview, and subscription usage - through 31 GET endpoints.

Use for: Get the domain rating for example.com, Pull the top 100 backlinks for a competitor domain, List organic keywords ranking for my domain in the last month, Find keyword ideas around 'electric bikes' with monthly volume

Not supported: Does not handle site crawling, rank tracking projects, or content publishing - use for read-only SEO data lookups across Site Explorer, Keywords Explorer, and SERP Overview only.

Jentic publishes the only available OpenAPI specification for Ahrefs API v3, keeping it validated and agent-ready. Ahrefs is an SEO data platform; the v3 API exposes 31 read endpoints across Site Explorer (backlinks, referring domains, organic traffic), Keywords Explorer (keyword overview, ideas, volume history), SERP Overview, Subscription metadata, and Batch Analysis. Authentication uses a bearer token, and every endpoint is a GET designed for read-heavy SEO research workflows.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Ahrefs API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Ahrefs API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fahrefs.com%2Fahrefs" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fahrefs.com%2Fahrefs" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Ahrefs API.

Retrieve domain rating, backlink stats, and outlink stats for any domain

Pull historic time series for domain rating, URL rating, refdomains, and metrics

List backlinks, referring domains, anchors, and broken backlinks for a target

Inspect organic and paid keywords, top pages, and organic competitors

Run keyword overview, keyword ideas, and volume-by-country lookups

Check subscription quota and remaining row credits before heavy queries

Use Cases

Patterns agents use Ahrefs API for, with concrete tasks.

★ Backlink Profile Analysis

SEO teams pull backlinks, referring domains, and anchor distribution for a target via Site Explorer endpoints. /v3/site-explorer/backlinks returns the link list with attributes like rating and anchor text, while /v3/site-explorer/refdomains aggregates by domain. Combined with the historic endpoints, an integration can chart link growth or detect drops over time.

GET /v3/site-explorer/backlinks?target=example.com&limit=100 and tabulate by ahrefs_rank

Keyword Research Automation

Content and growth teams run keyword overview and ideas calls to size opportunity at scale. /v3/keywords-explorer/keyword-overview returns volume, difficulty, and CPC for one or many seeds, while /v3/keywords-explorer/keyword-ideas expands a seed into a full idea list. The volume-by-country endpoint helps with international planning without per-region clicking.

GET /v3/keywords-explorer/keyword-overview?keywords=electric%20bikes&country=us

Organic Performance Tracking

Marketing teams sync Ahrefs organic data into their own dashboards. /v3/site-explorer/all-organic-keywords lists ranking keywords for a domain, /v3/site-explorer/top-pages returns the highest-traffic pages, and /v3/site-explorer/organic-competitors surfaces overlapping rivals. With history endpoints, the same agent can report trend lines without re-querying the slow paths.

GET /v3/site-explorer/top-pages?target=example.com&country=us&limit=50

Quota-Aware Batch Research

Ahrefs charges row credits, so sustained automation needs to budget queries. The Subscription endpoints expose remaining row credits, letting an agent check capacity before kicking off a wide research run. Batch Analysis offers higher throughput for repeated lookups against the same metric across many targets.

GET the subscription info endpoint to read remaining_rows before running a batch analysis

AI Agent SEO Research via Jentic

An agent built on Jentic can answer natural language SEO questions - 'compare backlinks growth between us and competitor X this quarter' - by chaining Site Explorer history calls. Jentic stores the bearer token in its vault and applies it on each call, so the agent never sees the raw API key while still benefiting from the read-heavy GET-based design.

Use Jentic to search 'get a domain rating from Ahrefs', execute the call, then chain into backlinks-stats

Key Endpoints

31 endpoints — jentic publishes the only available openapi specification for ahrefs api v3, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

GET

/v3/site-explorer/domain-rating

Get domain rating

GET

/v3/site-explorer/backlinks

List backlinks for a target

GET

/v3/site-explorer/refdomains

List referring domains

GET

/v3/site-explorer/all-organic-keywords

List organic keywords for a target

GET

/v3/site-explorer/top-pages

List top pages by traffic

GET

/v3/keywords-explorer/keyword-overview

Get keyword overview metrics

GET

/v3/keywords-explorer/keyword-ideas

Generate keyword ideas

GET

/v3/site-explorer/broken-backlinks

List broken backlinks

GET

/v3/site-explorer/domain-rating

Get domain rating

GET

/v3/site-explorer/backlinks

List backlinks for a target

GET

/v3/site-explorer/refdomains

List referring domains

GET

/v3/site-explorer/all-organic-keywords

List organic keywords for a target

GET

/v3/site-explorer/top-pages

List top pages by traffic

GET

/v3/keywords-explorer/keyword-overview

Get keyword overview metrics

GET

/v3/keywords-explorer/keyword-ideas

Generate keyword ideas

GET

/v3/site-explorer/broken-backlinks

List broken backlinks

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

A

Ahrefs API

- AI-Aware (B)
66/100
74
Foundational Compliance
62
Developer Experience & Jentic Compatibility
49
AI-Readiness & Agent Experience
94
Agent Usability
60
Security
100
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
74

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A-Signals: 4
97%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

100%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

0%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

62

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: B-Signals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

49%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

49

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: D+Signals: 4
47%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

100%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

50%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

60

Security

Trust, risk posture, and security compliance.

Grade: B-Signals: 1
60%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

100

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: A+Signals: 1
100%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the Ahrefs API by hand means managing its bearer token and coding read calls across Site Explorer, Keywords Explorer, and SERP Overview. Through Jentic you install once, import the Ahrefs API from the API Directory, store the token once, and your agent calls it.

Permission scoping

Ahrefs takes its target, country, and mode as query parameters and every operation is a read, so limit the agent to the operations it needs, such as reading domain rating or backlinks. You choose which read operations are in the allowed set, so anything you leave out is not reachable.

Credential isolation

Your Ahrefs bearer token is stored once, encrypted, by your own Jentic One instance and attached at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'get backlinks for a domain', and Jentic returns the matching Ahrefs operation with its query parameters, including target, country, mode, and limit, so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Semrush

→

SEO and competitive research API with broad keyword, traffic, and advertising datasets

Choose Semrush when paid search visibility and broader competitive intelligence beyond backlinks matter.

Alternative

Moz

→

SEO data API with Domain Authority and link metrics

Choose Moz when Domain Authority is the metric stakeholders already report against.

Complementary

SEO GPT

→

AI-powered SEO content generation API for titles, meta, and page copy

Pair Ahrefs research output with SEO GPT to draft the corresponding on-page content.

Complementary

Agility Writer

→

Long-form AI article generator that takes a target keyword as input

Use Ahrefs to find keyword opportunities, then commission Agility Writer to draft the article.

FAQs

Specific to using Ahrefs API through Jentic.

Why is there no official OpenAPI spec for Ahrefs API?

Ahrefs publishes API documentation but not an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call the Ahrefs API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the Ahrefs API use?

The API uses a bearer token in the Authorization header. Tokens are issued from your Ahrefs API plan. Through Jentic, the token is held in the credential vault and injected at execution time, so the secret never appears in agent context.

How do I get backlinks for a domain through the Ahrefs API?

Call GET /v3/site-explorer/backlinks with target set to the domain and optional filters such as mode, history, and limit. The endpoint returns paginated backlink rows including referring page, anchor, and link strength metrics.

How are Ahrefs API row credits consumed?

Each row in a response counts against your plan's monthly row credits. Use GET subscription info to read remaining_rows before batch jobs and prefer aggregated endpoints (refdomains, anchors) over raw backlink listings when you only need totals.

How do I run keyword research through Jentic?

Search Jentic for 'run an Ahrefs keyword overview'. Load the GET /v3/keywords-explorer/keyword-overview schema, supply seed keywords and a country, and execute. Jentic adds the bearer token, returns the volume, difficulty, and CPC fields.

Can I get historic data for a domain rating?

Yes. GET /v3/site-explorer/domain-rating-history returns a time series of domain rating values for a target, useful for trend analysis without storing historical snapshots yourself.

Can I limit what my agent is allowed to do with the Ahrefs API?

Yes. Every Ahrefs operation is a read, so with your self-hosted Jentic One instance you decide which of those reads your agent may call, and your own rules define the allowed set. You can, for example, let it fetch domain rating and backlinks while leaving keyword overview, keyword ideas, or the subscription endpoints out, and anything you exclude stays unreachable. Because Ahrefs takes target, country, mode, and limit as query parameters on GET calls, the agent can only run the read operations you permit.

GET STARTED

Start building with Ahrefs API

Explore with Jentic One
View OpenAPI Document