Head to head · Keyword data · October 2026 research run

Ahrefs vs Google Search Console API

Google Search Console API scores 62.2 (B) on agent readiness against Ahrefs's 51.2 (D), and leads in 5 of 7 scored categories. Ahrefs leads on schema & documentation and transparency & trust. 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 75
  • Transparency & trust, 67 against 59

Watch for

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

Google Search Console API B

Best for An agent reporting on or monitoring search performance and index status for sites its user owns, with first-party click and impression counts.

Ahead on

  • Reliability, 40 against 35
  • Agent ergonomics, 82 against 63
  • Security & auth, 56 against 45
  • Payments & pricing, 60 against 35
  • Maintenance & community, 71 against 58

Also in its favour

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

Watch for

Data covers only properties the signed-in user has owner, full or read access to. It cannot be asked about any other domain

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.

Payments & pricing Google Search Console API +25

Ahrefs 35

All findings per the 8 October check, not re-read on 4 November (terms pause). No x402, MPP or L402 (0). Plan prices, monthly unit allowances and the unit formula are public. A price of $50 per 1,000,000 extra units appears in the pricing page's embedded data but not in its visible copy, so we scored between plan-only and per-unit (15). No trial. A free Ahrefs account can create a key for the free Domain Rating and top-domains endpoints, and two crawler IP endpoints need no key, which is a small part of the API (8). A person signs up in a browser, and API keys are created in account settings (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 23 is 35.

Google Search Console API 60

No x402, MPP or L402 (0). The pricing page, re-read on 4 November, says all use of the API is free of charge, subject to usage limits (20). No card is needed (20). A person creates a Cloud project and OAuth client, verifies a property in Search Console and grants consent in a browser (0). 0 + 20 + 20 + 0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Agent ergonomics Google Search Console API +19

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).

Google Search Console API 82

rowLimit from 1 to 25,000 with a default of 1,000, the fields parameter for partial responses and gzip (22 of 25). Offset paging with startRow, dimension filter groups with contains and regular expression operators, capped at 50,000 rows a day per search type (18 of 20). Errors are standard Google bodies with a domain, reason, message, location and HTTP code, and the standard error page, re-read on 4 November, lists the reason codes for each status, among them authError, expired, quotaExceeded and rateLimitExceeded. The limits page says every quota event returns the same quota exceeded error (13 of 20). Seven of eleven methods read, and the writes are PUT and DELETE on a named property or sitemap, so a retry repeats safely. There is no MCP server and so no tool annotations (15 of 20). A query needs only the property and two dates, and Google lists client libraries for Go, Java, Node.js, Objective-C, PHP and Python (14 of 15). 22 + 18 + 13 + 15 + 14 = 82.

Maintenance & community Google Search Console API +13

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.

Google Search Console API 71

There are no API release notes, so recency is read from the clients and the docs, with every dated source counted. @googleapis/searchconsole 11.0.1 on 23 September 2026 ('update the API') is the newest dated change, 42 days before this check (20, was 30, cause time). The Node repository's 30 September generator run was reverted on 1 October and not released. Google's own discovery copy last changed on 20 August 2026 (description text only, revision 20260805), and google-api-python-client releases since then, to v2.201.0 tagged on 1 October, don't change this API, so they can't set recency. The query reference was last updated on 11 August 2026. In the 90 days from 6 August, eight @googleapis/searchconsole releases (7.1.0 on 14 August to 11.0.1 on 23 September), the 20 August discovery change and the 11 August reference update, three or more dated entries even with the Node 22 minimum releases counted half (20, was 10). A help community and a Search Central blog, with no changelog for the API and no reply sampling by us (8 of 15). Current official client libraries (15). Clients regenerate from discovery, the Node package went through majors 8.0.0 to 11.0.0 in September 2026 for a Node 22 minimum (a runtime-floor raise, no breaking-change term), and we did not check CI (8 of 10). 20 + 20 + 8 + 15 + 8 = 71.

Security & auth Google Search Console API +11

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).

Google Search Console API 56

OAuth 2.0 with two scopes and short-lived access tokens (30), less 10 because Google's discovery document lists access_token, oauth_token and key as query parameters and the query reference's own example puts key in the URL, both re-read on 4 November (20). webmasters.readonly is a separate scope and Search Console has owner, full and read permission per property, but a token covers every property the user can reach and nothing confirms sites.delete or sitemaps.delete (14 of 20). Responses carry search query strings and page URLs written by third parties, and no guidance on treating them as untrusted was found (3 of 15). The Cloud console quota tab shows project usage. No log of API calls per user or property was found (4 of 15). security.txt at www.google.com, re-read on 4 November, is valid to 1 April 2030 and names the vulnerability reward programme. Google's SOC 2 page did not name Search Console when read on 8 October (15 of 20). 20 + 14 + 3 + 4 + 15 = 56.

Schema & documentation Ahrefs +10

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).

Google Search Console API 75

Google publishes a discovery document, not OpenAPI. Google's own copy in its Python client (revision 20260805, last changed on 20 August 2026) lists 11 methods and 30 schemas (25). llms.txt returned 404 at developers.google.com and under /webmaster-tools on 4 November, while doc pages return Markdown when .md.txt is appended, per the 8 October check. No page we read links to those copies (5 of 10). The query reference explains each parameter, the data limits and when rows are dropped, and the data guide says how to query for accurate counts. Sites, sitemaps and URL inspection have one-line descriptions (15 of 20). Enums for dimensions, search types, aggregation, data state and six filter operators. Dates are plain strings, and the reference writes values in lower case where the discovery document lists upper case (13 of 15). Python samples and JSON examples, with errors documented only as Google's generic list of standard error codes (10 of 15). The version is in the path (webmasters/v3 and v1), but there are no release notes. Changes appear as notices on reference pages and posts on the Search Central blog (7 of 15). 25 + 5 + 15 + 13 + 10 + 7 = 75.

Transparency & trust Ahrefs +8

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).

Google Search Console API 59

Closed service under the Google APIs Terms of Service, last modified 9 November 2021, with Apache-2.0 client libraries (15 of 30). The Google privacy policy (effective 1 October 2026) and the API Services User Data Policy apply. No retention statement, data processing terms or data location statement specific to Search Console API data was found in the pages read (14 of 30). Dated notices exist, such as FAQ search appearance support ending in August 2026 and the practice problem type kept through January 2026, but no stated notice period, and the API terms let Google discontinue an API (12 of 20). No sub-processor list or data location for Search Console was found (0 of 20). Per the 8 October check, not re-read on 4 November. 15 + 14 + 12 + 0 = 41.

Score by category

CategoryWeightAhrefsGoogle Search Console APIEdge
Reliability16%3540Google Search Console API +5
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8575Ahrefs +10
Agent ergonomics13%6382Google Search Console API +19
Security & auth14%4556Google Search Console API +11
Payments & pricing10%3560Google Search Console API +25
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%5871Google Search Console API +13
Transparency & trust7%6759Ahrefs +8
Negative events≤15-30
TotalD 51.2/100B 62.2/100

Facts side by side

FactAhrefsGoogle Search Console API
KindHTTP APIHTTP API
VendorAhrefs Pte. Ltd.Google
Hosted endpointhttps://api.ahrefs.com/v3https://searchconsole.googleapis.com
TransportsHTTP, Streamable HTTPHTTP
AuthOAuth or keyOAuth
PricingPaidFree
x402nono
LicenceProprietary service under Ahrefs' terms of service. The Python SDK on GitHub is MITProprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0
Read-only variant documentednoyes
llms.txtyesno
Last release2026-10-012026-09-23
Terms last updated2026-09-142021-11-09
Privacy policy last updated2026-08-042026-10-01
Customer content may train modelsyesyes
Terms restrict automated accessyesyes
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularitynone12k stars, 70k npm/wk, 31.8M PyPI/wk

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.

Google Search Console API

The API is free, with published quotas of 1,200 Search Analytics queries a minute per site and typed filters that accept regular expressions. It covers only properties the signed-in user manages, returns at most 50,000 rows a day per search type, and has no status page, SLA or dedicated changelog. A person must complete OAuth consent first.

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

Google Search Console API

  1. URL-encode the property in the path. A URL-prefix property needs its trailing slash, and a Domain property is written sc-domain:example.com
  2. Query one day at a time and page with startRow in steps of 25,000 until a response has no rows
  3. Leave page and query out of dimensions when totals must be accurate. Grouping by either drops some data
  4. Ask for webmasters.readonly unless the task adds or deletes properties or sitemaps
  5. After a quota exceeded error wait 15 minutes. If it repeats, the daily load quota is spent, so shorten date ranges and drop page or query grouping

Questions

Which is better for AI agents, Ahrefs or Google Search Console API?

Google Search Console API scores 62.2 (B) on agent readiness against Ahrefs's 51.2 (D), and leads in 5 of 7 scored categories. Ahrefs leads on schema & documentation and transparency & trust.

Do Ahrefs and Google Search Console API need an API key?

Ahrefs takes an API key or an OAuth sign-in. Google Search Console API uses an OAuth sign-in.

Can an agent call Ahrefs and Google Search Console API without installing anything?

Yes. Ahrefs has a hosted endpoint at https://api.ahrefs.com/v3 and Google Search Console API at https://searchconsole.googleapis.com.

Other comparisons with Ahrefs or Google Search Console 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.