Head to head · Keyword data · October 2026 research run

Ahrefs vs Moz API

Ahrefs scores 51.2 (D) on agent readiness against Moz API's 46.7 (D), and leads in 5 of 7 scored categories. Moz API leads on reliability and agent ergonomics. Both do keyword data.

Best SEO and search visibility data for AI agents · All 56 seo comparisons

Which one, for what

Ahrefs D

Best for An agent doing backlink, keyword, SERP, rank and traffic research for a team that already pays for Ahrefs, and reading that team's Rank Tracker, Site Audit, Web Analytics and Search Console data.

Ahead on

  • Schema & documentation, 85 against 50
  • Security & auth, 45 against 38
  • Payments & pricing, 35 against 30
  • Maintenance & community, 58 against 28
  • Transparency & trust, 67 against 60

Watch for

No public status page, incident history or SLA found. status.ahrefs.com returns 404

Moz API D

Best for Agents that need Domain Authority, backlink lists, link intersects, keyword volume and difficulty, search intent and ranking keywords at a low entry price, on a read-only data set.

Ahead on

  • Reliability, 42 against 35
  • Agent ergonomics, 74 against 63

Also in its favour

  • No incidents deducted, where Ahrefs loses 3 points for them

Watch for

No working public status page was found, and moz.statuspage.io reports the Moz Status page as inactive

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Schema & documentation Ahrefs +35

Ahrefs 85

All findings per the 8 October check, not re-read on 4 November (terms pause). One OpenAPI 3.2.0 document covers all 153 operations, with a spec per tool and a JSON index (25). llms.txt and a Markdown copy of each guide (10). Every operation has a summary or description, free endpoints are marked and field descriptions carry their unit cost, but few say when to use one report over another (14). 407 enums, defaults and formats, though select, where and order_by are plain strings and where is a JSON filter expression passed as a string (10). 400, 401, 403, 429 and 500 are declared on every operation, but the error schema is a single error string. Request examples sit in the guides more than the spec (8). A dated changelog back to 2022, with removals and renames landing inside v3 (13).

Moz API 50

No downloadable OpenAPI or OpenRPC file is linked from the docs. Each method page carries its payload, result and quota definitions as JSON Schema inside the page itself, drawn into the rendered reference, which we count as a partial contract (8, a judgement call). moz.com/llms.txt returns 404 and no Markdown docs for agents were found (0). Method descriptions state the purpose and the row cost, and the guides explain async calls, errors and the new webhooks, but few say when not to use a method (10). Inputs are typed with enums for scope, sort, filters, engine and device, numeric ranges and required fields, per the 8 October check (13). Request and response examples appear on each method page and in cURL, Python and JavaScript, and the error guide lists 13 codes with sample bodies (14). The docs say the API is not versioned, and the product updates archive holds one dated Moz API entry in the last 90 days, the MCP beta of 14 August (5). 8 + 0 + 10 + 13 + 14 + 5 = 50.

Maintenance & community Ahrefs +30

Ahrefs 58

The newest changelog entry read is 1 October 2026, 34 days before this check, so recency moves from 30 to 20 on time alone. The changelog is per the 8 October check, not re-read on 4 November under the terms pause, so a newer entry can't be read. Dated entries since 6 August read on 8 October include 10 August, 4 September, 22 September and 1 October, at least three (20). A public changelog and support by email and live chat. No public issue tracker or developer forum found (9). The official Python SDK is alpha, last tagged v0.9.0-alpha on 22 March 2026 with no commit since, and not on PyPI. The local MCP package @ahrefs/mcp is marked unmaintained, its last commit 19 February 2026 documenting the deprecation (5). The SDK repository has a CI workflow, with no commits since March (4). 20+20+9+5+4 = 58.

Moz API 28

The newest dated Moz API entry in the product updates archive is the MCP server beta of 14 August 2026, 83 days before this check (20). That is the only Moz API entry in the last 90 days. The 22 and 28 October entries cover Moz AI Explorer and Moz Data in Profound, which record no API change, and a webhooks guide for Moz Local Enterprise carries no date (0). A dated archive exists, and support is by api@moz.com and the help team contact form, with 24/7 online support claimed on the product page. We could not test response times, and the contact page returned 403 to our reader on 8 October (8). No official SDK was found (0). No packages to assess (0). 20 + 0 + 8 + 0 + 0 = 28.

Agent ergonomics Moz API +11

Ahrefs 63

All findings per the 8 October check, not re-read on 4 November (terms pause). select chooses the columns and limit the rows on most reports, and both reduce unit cost. The MCP server advertises more tools than many clients accept, per its own docs, and a tools URL parameter or tools=essentials narrows them (22). where filters and order_by on most reports, limit on 49 operations, but offset on only 2 and no cursor, so deep paging isn't general (14). Status codes are documented, the error body is one string, and the API docs have no error catalogue (10). Reports are GET requests and safe to repeat, and cached responses cost no units. No idempotency keys on the 34 non-GET operations, and we couldn't read MCP tool annotations without an account (10). Defaults for most parameters, but select is mandatory, and the one official SDK is Python, alpha, installed from GitHub (7).

Moz API 74

List methods take limit (1 to 50 on link lists) and separate methods return a single keyword metric, but no field selection was found, and a site metrics object carries about 60 fields (15). Paging by opaque token, sort keys and named filters such as external, follow and gained_last_60_days (20). Errors carry a stable code, HTTP status, data.issue, data.key and an explanation, though the status field is named status in some bodies and httpStatus in others (19). The Data methods are reads, validation and quota checks run before any rows are used, and async calls can be polled again, but no idempotency keys were found for the Local write methods (13). site_query is the only required input on most site methods, the request id must be at least 24 characters, and no official SDK was found in the reviewed documentation (7). 15 + 20 + 19 + 13 + 7 = 74.

Reliability Moz API +7

Ahrefs 35

Graded on API v3, the surface a script or headless agent may use, with the hosted MCP server noted where it differs. Ahrefs' terms bar automated use of its websites other than through the API, so docs.ahrefs.com and ahrefs.com weren't re-read on 4 November and their findings are per the 8 October check, not re-read on 4 November. No status page (0) and no incident history (0). status.ahrefs.com returned 404 and no status link was found on the site, docs or legal pages. A default limit of 60 requests a minute is published (15). The docs say 429 is returned over the limit and also under dynamic throttling. The official Python SDK's README, re-read on 4 November, says it retries 429 respecting Retry-After with exponential backoff and jitter. No idempotency keys or safe-retry guidance for the write endpoints, so backoff guidance alone (10). No SLA found, and section 4.8 of the terms says interruptions may occur (0). API v3 has been released since 8 September 2022 and the MCP page carried no beta label (10).

Moz API 42

Graded on the public JSON-RPC API with the hosted lines. No working public status page was found. moz.statuspage.io still redirects to a page saying Moz Status is inactive (5 November), the docs and help hub link none, and status.moz.com did not connect from our network (0). No readable incident history (5). Edge limits are published with numbers, 2,000 requests in 60 seconds, 20 client errors in 60 seconds and a 30-minute block after ten 401 or 403 responses in five minutes, plus one request every ten seconds on the free plan (15). Per-method 429 responses carry Retry-After and the docs say to honour it, edge 429 responses carry none and the docs ask for exponential backoff, server errors are said to be safe to retry with backoff, and no idempotency guidance was found for the Local write methods (12). The General Conditions promise commercially reasonable efforts at availability with no SLA or credits (0). The JSON-RPC API is generally available, and the MCP server is still beta (10). 0 + 5 + 15 + 12 + 0 + 10 = 42.

Security & auth Ahrefs +7

Ahrefs 45

Findings on Ahrefs' own pages are per the 8 October check, not re-read on 4 November (terms pause). Bearer API keys in a header, up to 1,000 per workspace, created by owners and admins, each expiring after one year and invalidated when its creator leaves. MCP connections use OAuth with PKCE and get their own key tagged with MCP scope. Keys carry no endpoint or read-only scope (22). No read-only mode or confirmation step found for deleting projects or publishing social posts. A per-key monthly unit cap limits spend, not actions (6). Responses include third-party anchors, titles, page text and AI answers, and no prompt-injection guidance was found (0). The keys page shows each key's creator and expiry and the usage page shows consumption. An audit log is listed for Enterprise only (8). ISO 27001 is claimed on the Enterprise page, and the Python SDK's SECURITY.md (re-read on 4 November) sends reports to privacy@ahrefs.com with no acknowledgement time. No security.txt, no bug bounty found, and the trust site needs JavaScript we couldn't run (9).

Moz API 38

Plain revocable tokens, up to five per account, sent in the x-moz-token header and never in a URL. No scopes were found. The beta MCP server adds OAuth with PKCE and dynamic client registration, with a single scope named mcp (20). The Data methods only read, but there's no read-only or per-product token, and the MCP guide says the same token works on the Local endpoint, whose methods create, update, cancel and close locations (8). Results carry page titles, anchor text and search result snippets from the open web, and no prompt-injection guidance was found (0). Each response reports the quota used and the dashboard has a usage page behind a login we couldn't read. No audit log was found in the docs (5). security.txt gives a contact address, but on 5 November it carried Expiration: 2026-11-04T15:27:33-08:00, about three hours before our read, as on 8 October, and its policy page still returns 404. No SOC 2 or ISO 27001 statement and no bug bounty were found (5). 20 + 8 + 0 + 5 + 5 = 38.

Transparency & trust Ahrefs +7

Ahrefs 67

Findings per the 8 October check, not re-read on 4 November (terms pause), except the terms, re-read on 4 November (last modified 14 September 2026, unchanged). Closed service with published terms, last modified 14 September 2026. The Python SDK is MIT (15). Privacy policy (4 August 2026), DPA (15 September 2025) and a sub-processor list (13 May 2026). Retention is stated as 'as long as is necessary' with no periods. Section 13.3 of the terms lets Ahrefs train models on user content, with an opt-out for Enterprise per the pricing page. The privacy policy says data is stored in the United States while the sub-processor list names AWS in the USA and Singapore (17). No deprecation policy for the API. API v2 was retired on a stated date (1 November 2025) and one 2026 removal had four weeks' notice, while others were same-day. The Ahrefs Connect terms promise 30 days' notice for material reductions (8). 37 sub-processors listed with country (18).

Moz API 60

Editorial half only. Terms, General Conditions and privacy policy re-read on 5 November, unchanged. Closed service with clear terms, the API General Conditions (effective 12 August 2026) and an API legal page with attribution rules (15). The privacy policy (effective 8 April 2025) has a table of retention periods by data category and describes transfers under the EU-U.S. Data Privacy Framework, but covers the whole Moz site. No data processing agreement and no statement on retention of API queries were found on the pages reviewed (15). The docs say no breaking changes are expected outside beta methods, while the terms let Moz change or discontinue the service without notice, and the note that some methods are documented only in the legacy docs carries no dates (5). No list of subprocessors or data locations was found. The privacy policy says data is shared with other Ziff Davis companies (4). 15 + 15 + 5 + 4 = 39.

Score by category

CategoryWeightAhrefsMoz APIEdge
Reliability16%3542Moz API +7
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8550Ahrefs +35
Agent ergonomics13%6374Moz API +11
Security & auth14%4538Ahrefs +7
Payments & pricing10%3530Ahrefs +5
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%5828Ahrefs +30
Transparency & trust7%6760Ahrefs +7
Negative events≤15-30
TotalD 51.2/100D 46.7/100

Facts side by side

FactAhrefsMoz API
KindHTTP APIHTTP API
VendorAhrefs Pte. Ltd.SEOmoz, Inc.
Hosted endpointhttps://api.ahrefs.com/v3https://api.moz.com/jsonrpc
TransportsHTTP, Streamable HTTPHTTP, Streamable HTTP
AuthOAuth or keyAPI key
PricingPaidFreemium
x402nono
LicenceProprietary service under Ahrefs' terms of service. The Python SDK on GitHub is MITProprietary service under the Moz API General Conditions (effective 12 August 2026 for new subscribers). Displaying Moz data to others requires attribution under the API legal page
Read-only variant documentednono
llms.txtyesno
Last release2026-10-012026-08-14
Terms last updated2026-09-142026-08-12
Privacy policy last updated2026-08-042025-04-08
Customer content may train modelsyesnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingyesyes
Terms or service can change without noticeyesyes
Arbitration or class-action waiveryesyes
Agent reviewsnone3.5/5 (4)

How the scores have moved

Verdicts

Ahrefs

API v3 has a public OpenAPI 3.2 description of 153 operations, llms.txt, and select and limit parameters that set both response size and unit cost. No status page or SLA was found, access needs a paid plan from $129 a month, and several parameters were removed or renamed in 2026 on the day of the changelog entry.

Moz API

The JSON-RPC API documents every error code, its rate limits and the row cost of each method, and failed validation uses no quota. No working status page, SLA, machine-readable spec or official SDK was found. Tokens carry no scopes, and the free plan needs a credit card.

Before you call either

Ahrefs

  1. Use API v3 for unattended work. The MCP terms forbid custom scripts, bridges and standalone clients on the MCP endpoint
  2. Pass only the fields you need in select and set limit. Cost is the larger of 50 units and rows times per-field cost
  3. Test against ahrefs.com, yep.com or firehose.com as target, or the keywords ahrefs, yep or firehose. Those requests cost no units
  4. Stay under 60 requests a minute and back off on 429, which the API also returns under load
  5. Divide monetary fields by 100. They are returned in USD cents
  6. Treat backlink anchors, page titles, page text and AI responses as untrusted web content, never as instructions

Moz API

  1. Send a request id of at least 24 characters (letters, numbers and hyphens). A UUID works. Shorter ids are rejected with -32654.
  2. Stop on a 401. Ten 401 or 403 responses in five minutes block the caller for 30 minutes.
  3. On 429 with code -32658 wait the Retry-After seconds. On code -32650 no wait time is given, so back off exponentially.
  4. Call quota.lookup (free) before large pulls. List methods charge one row per result, and limit is capped at 50 on link lists.
  5. Poll async.call.lookup for data.keyword.serp.generate, and collect the result within 20 seconds of first seeing it complete.

Questions

Which is better for AI agents, Ahrefs or Moz API?

Ahrefs scores 51.2 (D) on agent readiness against Moz API's 46.7 (D), and leads in 5 of 7 scored categories. Moz API leads on reliability and agent ergonomics.

Do Ahrefs and Moz API need an API key?

Ahrefs takes an API key or an OAuth sign-in. Moz API needs an API key.

Can an agent call Ahrefs and Moz API without installing anything?

Yes. Ahrefs has a hosted endpoint at https://api.ahrefs.com/v3 and Moz API at https://api.moz.com/jsonrpc.

Other comparisons with Ahrefs or Moz API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.