Advanced techniques

Google Search Console API: A Technical Reference

Gsc Api And Automation — Google Search Console

US Monthly Search Volume — Head Term

600

“google search console api” — Keyword Difficulty 36. Full API cluster (gsc api + google indexing api + search analytics api + url inspection api): ~1,110 US queries/month.

Source: Ahrefs, June 2026.

Four APIs, One Umbrella: What “the GSC API” Actually Refers To

When an SEO or developer says “the GSC API,” they mean the Search Analytics API — the interface that returns queries, clicks, impressions, CTR, and position data. Under the Google Search Console umbrella, however, there are four distinct programmatic interfaces, plus a fifth data-access path (BigQuery bulk export) that operates on a different model entirely. Each has its own endpoint, quota, authentication requirement, and appropriate use case. Treating them as interchangeable is the first mistake; assuming the Indexing API indexes general pages on demand is the second.

The four APIs are the Search Analytics API (performance data: queries, clicks, impressions, position), the URL Inspection API (index status for one URL per call), the Sitemaps API (programmatic sitemap registration and management), and the Indexing API (officially supported only for pages with JobPosting or BroadcastEvent structured data). The BigQuery bulk export, announced February 21, 2023, is not a call-based API — it is a scheduled daily export configured in the GSC UI that writes all performance data to three BigQuery tables with no per-pull row cap.

New to Search Console? Start with What is Google Search Console before diving into the API layer. For the broader SEO measurement stack, the GSC API fits alongside GA4 behavioral data and other instrumentation tools.

Search Analytics API: Getting Past the 1,000-Row Cap

The GSC Performance report caps at 1,000 rows in the UI. The Search Analytics API raises that ceiling to 25,000 rows per request, queryable by date, country, device, and search type. For most sites, a complete daily pull stays within the 25,000-row single-request ceiling. For larger sites, use the startRow parameter to paginate: set "rowLimit": 25000 and increment startRow by 25,000 per page. The total ceiling is 50,000 rows per search type per site per day. Source: Google Search Console API Usage Limits; Search Console API — Getting All Your Performance Data.

Two data constraints apply to the API exactly as they apply in the UI. The 16-month retention window: the API surfaces no data older than 16 months, and data beyond that point is permanently deleted — no request structure retrieves it. Anonymized queries: rare queries that Google withholds for privacy do not appear in API results. For sites with a high proportion of long-tail queries, the anonymized bucket represents a meaningful share of total query volume. BigQuery bulk export also excludes them, flagging affected rows with is_anonymized_query = true and a null query field.

The 50,000-row daily ceiling is per search type per site. On very large properties, retrieving a full picture across web, image, and video search types requires splitting pulls by search type — or by date range or country dimension — to stay within the per-type limit. Source: developers.google.com/webmaster-tools/limits.

MB Adv Agency runs weekly rolling API pulls for client sites rather than on-demand UI exports — the only way to build consistent historical datasets before data ages out of the 16-month window. Once data is dropped, no API call retrieves it.

Key Takeaways

  • There is no single “GSC API” — there are four: Search Analytics API (25,000 rows/request, 50,000/day), URL Inspection API (2,000 QPD per property), Sitemaps API (submit, list, get, delete), and Indexing API (JobPosting and BroadcastEvent only).
  • The Indexing API does not index general pages. Google’s official documentation limits it to JobPosting and BroadcastEvent pages. Using it on blog posts or product pages is not a supported use case and carries no documented guarantee.
  • The 16-month retention window applies to the Search Analytics API, not just the UI. Data older than 16 months is permanently deleted. BigQuery bulk export is the only mechanism for accumulating performance data beyond that window.
  • The URL Inspection API’s 2,000 QPD limit is intentional — it is designed for targeted URL inspection, not bulk crawling. At 2,000 QPD, a 200,000-URL site takes 100 days to inspect every URL once.

API Capability Reference: What Each API Returns and Its Hard Limits

Data output, key quota, and authentication requirement for each interface. All APIs are free to use. Sources: Google Search Console API Usage Limits; URL Inspection API launch, January 2022; Indexing API Quickstart, April 2026; BigQuery Bulk Export, February 2023; GSC API Pricing.

Table 1: GSC API Capability Reference (June 2026). Row limits sourced from developers.google.com/webmaster-tools/limits. Indexing API scope restriction (JobPosting + BroadcastEvent only) sourced from developers.google.com/search/apis/indexing-api/v3/quickstart, last updated April 2026. All APIs listed are free to use.
APIWhat it returns or doesKey quota or limitAuth required
Search Analytics APIPerformance data: queries, URLs, clicks, impressions, CTR, position — queryable by date, country, device, search type25,000 rows/request; 50,000 rows/day/site/search-type; 16-month retention windowOAuth 2.0 (user or service account)
URL Inspection APIIndex status, coverage state, last crawl date, mobile usability, AMP status, rich result eligibility — one URL per call2,000 queries/day/property; 600 queries/minute/propertyOAuth 2.0 (user or service account)
Sitemaps APISubmit, list, get details, or delete sitemaps registered to a GSC propertyNo per-call row limit; standard API quota appliesOAuth 2.0 (user or service account)
Indexing APINotify Google to crawl or deindex a URL. Officially supported only for pages with JobPosting or BroadcastEvent (livestream) structured data.200 publish requests/day by default; quota increase available for JobPosting/BroadcastEvent sitesService account only (not OAuth user flow) — must be delegated owner in GSC
BigQuery Bulk ExportFull daily snapshot of all performance data into three BigQuery tables (searchdata_site_impression, searchdata_url_impression, ExportLog). Excludes anonymized queries.Daily export (once/day, timing not guaranteed); first export within 48 hours of setup; no per-pull row capGoogle Cloud project + BigQuery dataset; configured in GSC UI

The URL Inspection API (launched January 2022) returns the same data as the GSC UI’s URL Inspection tool, one URL per call. For index coverage states, see Index Coverage & Indexing. For sitemap context, see Sitemaps & URL Inspection. For teams managing GSC tracking setup alongside Google Tag Manager, the API data fits naturally into the same measurement stack.

Use-Case to API Mapping: Which API to Reach For

The table below maps common automation use cases to the correct GSC API or method. The “Not via Indexing API” row for general page indexing is intentional — it directly addresses the most common API misuse pattern this pillar exists to correct.

Table 2: Use-Case to API Mapping (June 2026). Sources: official API documentation for each endpoint (see Table 1 bibliography). The Indexing API row for general pages reflects official policy per developers.google.com/search/apis/indexing-api/v3/quickstart (updated April 2026), not practitioner testing.
Automation use caseCorrect API or methodKey notes
Pull all organic queries + positions for past 30 daysSearch Analytics APISet rowLimit: 25000; paginate with startRow if site exceeds 25,000 rows per search type
Check whether a specific URL is indexed and its last crawl dateURL Inspection API2,000 QPD limit — targeted inspection only; not full-site coverage
Monitor index coverage state changes across key URLs dailyURL Inspection API + polling scriptCall daily on a prioritized URL list; compare state to prior day’s result; alert on change
Register a new sitemap after a site deploySitemaps API (submit)Add as a CI/CD post-deploy step; eliminates manual GSC dashboard login
Verify all expected child sitemaps are registered in GSCSitemaps API (list)Compare programmatic list against expected sitemap URLs; flag discrepancies
Speed up indexing for new JobPosting or BroadcastEvent pagesIndexing APIOfficially supported for these two structured data types only — 200 requests/day default
Speed up indexing for blog posts, product pages, or landing pagesNot via Indexing APISubmit via sitemap; request indexing via URL Inspection tool in GSC UI for priority pages. The Indexing API is not officially supported for these types.
Retain performance data beyond the 16-month API windowBigQuery Bulk ExportConfigure in GSC UI → Bulk data export; exports daily; stores indefinitely in your BigQuery project

The Sitemaps API is narrow but concrete: the list endpoint lets a script verify every expected child sitemap is registered and flag missing entries — useful for large sitemap indexes. For how GSC processes submitted sitemaps, see Sitemaps & URL Inspection.

Authentication: One Divergence That Matters

Three of the four GSC APIs use standard OAuth 2.0 — either a user-consent flow or a service account — with the webmasters or webmasters.readonly scope. The Indexing API diverges: it requires a service account, not a user-consent flow, and a different scope. The service account must be granted delegated owner access to the GSC property before any API call succeeds. Sources: Search Console API — Authorize Requests; Indexing API — Authorize Requests.

Table 3: Authentication Requirements by GSC API (June 2026). Sources: developers.google.com/webmaster-tools/v1/how-tos/authorizing; developers.google.com/search/apis/indexing-api/v3/authorizing. Verified June 2026.
APIAuth methodScope / notes
Search Analytics APIOAuth 2.0 (user flow or service account)webmasters or webmasters.readonly
URL Inspection APIOAuth 2.0 (user flow or service account)webmasters scope required
Sitemaps APIOAuth 2.0 (user flow or service account)webmasters for write (submit, delete); webmasters.readonly for read (list, get)
Indexing APIService account only — no OAuth user-consent flowhttps://www.googleapis.com/auth/indexing scope; service account must be added as delegated owner in GSC property
BigQuery Bulk ExportGoogle Cloud project + BigQuery dataset; configured in GSC UINo programmatic auth after initial setup; Google writes to your dataset on a daily schedule

This distinction matters in practice: a developer cannot reuse the OAuth client-ID credential flow from the Search Analytics or URL Inspection API for the Indexing API. Service account setup requires Google Cloud Console access, a JSON key file, and delegated owner status on the GSC property — not just editor or viewer access.

Horizontal bar chart: US monthly search volume for GSC API keywords — google search console api (600), google indexing api (200), indexing api (150), search analytics api (100), url inspection api (60). Source: Ahrefs, June 2026.

Need automated GSC reporting for your site?

Setting up the Search Analytics API, URL Inspection polling, or BigQuery export for a client property involves credential management, pagination logic, and data pipeline architecture. MB Adv Agency handles the technical setup and ongoing data integrity — so your team gets clean, complete performance data without managing the infrastructure.

Talk to MB Adv Agency →

Data and methodology: Search volume figures from Ahrefs, June 2026 (operator-supplied). API quotas (25,000 rows/request; 50,000/day; 2,000 URL Inspection QPD; 200 Indexing API publish/day) verified against developers.google.com/webmaster-tools/limits and individual API documentation pages. Indexing API scope (JobPosting + BroadcastEvent only) from developers.google.com/search/apis/indexing-api/v3/quickstart (last updated April 2026). BigQuery export facts from developers.google.com/search/blog/2023/02/bulk-data-export and support.google.com/webmasters/answer/12918484. No MB Adv client metrics cited — agency attributions are qualitative observations only. Reviewed by MB Adv Agency, June 2026.

Author
Matteo Braghetta
Google Ads Specialist, SEM Specialist, Founder.

As a Google Ads expert, I bring proven expertise in optimizing advertising campaigns to maximize ROI.

I specialize in sharing advanced strategies and targeted tips to refine Google Ads campaign management.
Committed to staying ahead of the latest trends and algorithms, I ensure that my clients receive cutting-edge solutions.

My passion for digital marketing and my ability to interpret data for strategic insights enable me to offer high-level consulting that aims to exceed expectations.

Google Partner Agency

We're a certified Google Partner Agency, which means we don’t guess — we optimize withGoogle’s full toolkit and insider support.
Your campaigns get pro-level execution, backed by real expertise (not theory).

Google Ads Audit
Google Partner logo
Testimonial

4.9 out of 5 from 670+ reviews on Fiverr.
That’s not luck, that’s performance.

Highly recommend Matteo to set up your server side tracking. He has a deep understanding of e-commerce tracking and will go above and beyond to make sure everything is set up correctly and working 100%. If you are scaling your store this set up is non-negotiable in my opinion and there isn't many people who have this much knowledge or put the effort in to get it right. Thanks again!

Avoro Design
avorodesign.com

I can only recommend Matteo! He was very patient, professional and very knowledgeable about GA4, Consent Mode v2, and GDPR compliance. Communication was clear, and the setup was done professionally and efficiently. Highly recommend him for anyone needing reliable tracking implementation.

Natureiki
www.natureiki.life

Matteo shines in the realm of online professionals. His work is not only deep in data but also complemented by his proactive communication and cooperation, setting a new standard for freelancers. If you want someone who truly exceeds expectations, look no further. Highly recommended!

Oman Beverly Smyth
www.omanbeverlysmyth.com

Exceptional Service Beyond Expectations - Outstanding Service Impeccable depth, flawless delivery, and exceptional language fluency—this service exceeded all expectations. Highly recommended. Matteo truly ROCKS!!!

IUM Paris
ium-paris.com

Top-notch, always highly value working with Matteo. An absolute Google Ads Genius. This is approximately the 8th time I have hired him and he's helped us get 6-7 ROAS. We are excited in continuing to improve our lead flow. Hire this guy if you need Google Ads help. Thanks Matteo!

DLE Event Group
www.dleeventgroup.com

I finally found the guy who can setup server side tracking and all the ecosystem properly. I definitely recommend Matteo. He is very responsive, kind and wants to dig into things. He configured GA4, Meta, Google Ads, Outbrain and google consent v2 with Cookiebot. Thanks Matteo.

Inomega
inomega.fr

MB Adv delivered exceptional work with outstanding professionalism and lots of patience, taking time to see effects of changes made and not just do the work and submit it. The proactive communication and video summaries of the work completed made working with Matteo a pleasure, as he consistently went above and beyond. Highly recommended for web analytics projects! We are already working on another project.

Withnell Sensors
www.withnellsensors.co.uk

Working with Matteo on my Google Ads was a game-changer. He's not just a strategist, he's a true partner. He understood my goals and tailored a campaign that perfectly reached my target audience. I'm grateful for his expertise and dedication.

DC Cargo
dccargo.com
Know us

Click-driven mind
with plastic-brick obsession.

We build Google Ads campaigns with the same mindset we use to build tiny brick worlds: strategy, patience, and zero tolerance for wasted pieces.
Data is our blueprint. Growth is the only acceptable outcome.

Google Ads Audit
Focused digital strategist assembling plastic bricks on a table, next to a Google Partner mug — symbolizing precision, patience, and performance-driven PPC mindset

Book a call!

Ready to stop guessing and start winning? Fill out the form — we’ll take it from here.

Submit
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.