Google Search Console API: A Technical Reference
By Matteo Braghetta, Founder · Google AdsOn this page

“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.
| API | What it returns or does | Key quota or limit | Auth required |
|---|---|---|---|
| Search Analytics API | Performance data: queries, URLs, clicks, impressions, CTR, position — queryable by date, country, device, search type | 25,000 rows/request; 50,000 rows/day/site/search-type; 16-month retention window | OAuth 2.0 (user or service account) |
| URL Inspection API | Index status, coverage state, last crawl date, mobile usability, AMP status, rich result eligibility — one URL per call | 2,000 queries/day/property; 600 queries/minute/property | OAuth 2.0 (user or service account) |
| Sitemaps API | Submit, list, get details, or delete sitemaps registered to a GSC property | No per-call row limit; standard API quota applies | OAuth 2.0 (user or service account) |
| Indexing API | Notify 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 sites | Service account only (not OAuth user flow) — must be delegated owner in GSC |
| BigQuery Bulk Export | Full 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 cap | Google 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.
| Automation use case | Correct API or method | Key notes |
|---|---|---|
| Pull all organic queries + positions for past 30 days | Search Analytics API | Set 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 date | URL Inspection API | 2,000 QPD limit — targeted inspection only; not full-site coverage |
| Monitor index coverage state changes across key URLs daily | URL Inspection API + polling script | Call daily on a prioritized URL list; compare state to prior day’s result; alert on change |
| Register a new sitemap after a site deploy | Sitemaps API (submit) | Add as a CI/CD post-deploy step; eliminates manual GSC dashboard login |
| Verify all expected child sitemaps are registered in GSC | Sitemaps API (list) | Compare programmatic list against expected sitemap URLs; flag discrepancies |
| Speed up indexing for new JobPosting or BroadcastEvent pages | Indexing API | Officially supported for these two structured data types only — 200 requests/day default |
| Speed up indexing for blog posts, product pages, or landing pages | Not via Indexing API | Submit 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 window | BigQuery Bulk Export | Configure 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.
| API | Auth method | Scope / notes |
|---|---|---|
| Search Analytics API | OAuth 2.0 (user flow or service account) | webmasters or webmasters.readonly |
| URL Inspection API | OAuth 2.0 (user flow or service account) | webmasters scope required |
| Sitemaps API | OAuth 2.0 (user flow or service account) | webmasters for write (submit, delete); webmasters.readonly for read (list, get) |
| Indexing API | Service account only — no OAuth user-consent flow | https://www.googleapis.com/auth/indexing scope; service account must be added as delegated owner in GSC property |
| BigQuery Bulk Export | Google Cloud project + BigQuery dataset; configured in GSC UI | No 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.
Source: Ahrefs keyword data, June 2026 (operator-supplied)
The Indexing API Does Not Index General Pages
The most widely repeated claim about the Google Indexing API in SEO communities is that it submits any URL for fast indexing. That claim is incorrect. Google’s official documentation states that the Indexing API is supported only for pages containing either JobPosting structured data or BroadcastEvent embedded in a VideoObject (livestream pages). Source: Indexing API Quickstart, last updated April 2026.
Using the Indexing API on blog posts, product pages, or landing pages is not a supported use case and carries no guarantee of faster crawling or indexing. Some practitioners report seeing crawling activity on non-JobPosting URLs after informal testing — that behavior is undocumented and subject to change without notice. For all other URL types, the documented crawling path is: ensure the URL is reachable, submit or update the sitemap, and use the URL Inspection tool in the GSC UI to request indexing for individual high-priority pages.
Default Indexing API quota: 200 publish requests per day. Higher quotas are available via a Google quota-increase form, specifically for sites with JobPosting or BroadcastEvent content. Using it for other URL types makes quota increases irrelevant — those requests carry no official support. Source: developers.google.com/search/apis/indexing-api/v3/quickstart.
Automation Patterns Worth Building
Three automation patterns deliver consistent operational value across site types and sizes. All three use officially supported API behavior with documented limits.
Automated performance reporting. Pull the Search Analytics API on a weekly or monthly schedule, writing results to a database or data warehouse. Parameterize calls by date range, country, and search type to retrieve dimension-level breakdowns. Store results before each month’s data ages out of the 16-month window. For sites that need SQL flexibility or historical accumulation beyond 16 months, pair this with the BigQuery bulk export — the export provides the long-term record, the API provides the on-demand query layer. Pair GSC performance data with GA4 behavioral data for a complete measurement picture covering both search visibility and on-site behavior. For the full context on what the Performance report surfaces, see Performance Report & Search Analytics.
Indexing-status monitoring. Build a URL list of high-priority pages and run daily URL Inspection API calls against it, storing index status, coverage state, and last crawl date. Alert when a URL’s state changes unexpectedly — a previously-indexed page returning “Crawled — currently not indexed” warrants investigation before the ranking impact compounds. MB Adv Agency uses URL Inspection API calls as a downstream step after a server-log anomaly is detected, to confirm whether a flagged URL’s index status matches its expected state. Results map to the states in Index Coverage & Indexing.
CI/CD sitemap registration. Add a Sitemaps API submit call as a post-deploy step in your build pipeline. When a sitemap regenerates, the pipeline registers the updated path with GSC automatically — no manual dashboard visit required. For sitemap indexes with multiple child sitemaps, add a list call to verify every expected child is registered. This closes a common gap: sitemap updates that never reach GSC because no one visited the dashboard. For how GSC processes submitted sitemaps, see Sitemaps & URL Inspection.
BigQuery Bulk Export: The Only Solution Past the 16-Month Window
Google announced the BigQuery bulk export on February 21, 2023. Unlike the Search Analytics API, which requires a programmatic call and returns up to 50,000 rows per day, the bulk export runs on a daily schedule with no per-pull row cap — it exports all performance data for the property for that calendar day. Source: Bulk data export: a new and powerful way to access your Search Console data.
Three BigQuery tables are created: searchdata_site_impression (property-level aggregation — query, country, device, search type, clicks, impressions, CTR, position); searchdata_url_impression (same dimensions plus a URL column, enabling SQL analysis across all URLs without the 1,000-row UI cap); and ExportLog (daily export record).
The export runs once per day; timing is not guaranteed. The first export completes within 48 hours of setup. It does not backfill data beyond the 16-month API window available at setup time — configure early and accumulate going forward. Source: Google Search Console Help — About bulk data export.
Both the export and the API exclude anonymized queries. In BigQuery, affected rows appear with is_anonymized_query = true and a null query field. For sites where long-tail queries make up a large share of total volume, this exclusion must be accounted for in any SQL analysis. Teams pairing BigQuery export with GA4 event data get a complete search-plus-behavior measurement layer without the row caps or 16-month horizon of the API alone.
Frequently Asked Questions
What is the Google Search Console API?
The Google Search Console API is four distinct interfaces, not one. The Search Analytics API returns performance data — queries, clicks, impressions, CTR, and position — queryable by date, country, device, and search type. The URL Inspection API returns the index status, coverage state, last crawl date, mobile usability, AMP status, and rich result eligibility for one URL per call. The Sitemaps API handles sitemap management: submit, list, get, and delete operations. The Indexing API notifies Google to crawl or deindex a URL — but it is officially supported only for pages with JobPosting or BroadcastEvent (livestream) structured data, not for general pages. There is also the BigQuery bulk export, configured in the GSC UI rather than called programmatically, which runs as a daily scheduled export with no per-pull row cap. When SEOs reference “the GSC API,” they almost always mean the Search Analytics API specifically. For the full GSC context, see What is Google Search Console.
Can I use the Google Indexing API to get any URL indexed faster?
No. Google’s official Indexing API documentation states that the API is supported only for pages containing JobPosting structured data or BroadcastEvent embedded in a VideoObject (livestream pages). Using it on blog posts, product pages, or landing pages is not a documented use case and carries no guarantee of faster crawling or indexing. Some practitioners have reported observing crawling activity on non-JobPosting URLs after informal testing — that behavior is undocumented, not guaranteed by Google, and subject to change without notice. Building the Indexing API into an automated pipeline for general URL types means accepting undocumented risk with no official support. For general pages, the documented approach to getting new or updated content crawled is: ensure the URL is reachable by Googlebot, submit or update the relevant sitemap, and use the URL Inspection tool in the GSC UI to request indexing for high-priority individual URLs. Source: Indexing API Quickstart, last updated April 2026.
How do I get more than 1,000 rows from Google Search Console?
Use the Search Analytics API. Set rowLimit: 25000 in your request body to retrieve up to 25,000 rows per request — 25 times the 1,000-row UI cap. For properties with more than 25,000 rows for a given date range and dimension set, paginate using the startRow parameter: first request, startRow: 0 (rows 1–25,000); second request, startRow: 25000 (rows 25,001–50,000). The total daily ceiling is 50,000 rows per search type per site — two paginated requests cover the full daily cap. On very large sites with more than 50,000 rows for a single search type in a given day, split pulls by date range, country, or device dimension to reconstruct the complete dataset across multiple requests. For full historical data without any per-pull row cap, the BigQuery bulk export exports all daily performance data to your BigQuery project indefinitely — with no row limit per export run. Source: Google Search Console API Usage Limits; Performance Report & Search Analytics.
What are the rate limits for the URL Inspection API?
The URL Inspection API is limited to 2,000 queries per day and 600 queries per minute per property. At 2,000 QPD, the practical coverage by site size: a site with 20,000 indexed URLs takes 10 days to inspect all URLs once (20,000 ÷ 2,000 = 10 days); a site with 100,000 URLs takes 50 days; a site with 200,000 URLs takes 100 days. These figures establish why the API is designed for targeted inspection, not bulk crawling — full-site coverage is operationally impractical for any large property at this daily limit. Automated use should prioritize recently published, recently modified, or anomaly-flagged URLs rather than attempting full-site sweeps. The 600-queries-per-minute limit governs burst-rate scheduling within a single day. Source: Google Search Console API Usage Limits, confirmed updated August 2025. For what the index status values returned by the URL Inspection API mean, see Index Coverage & Indexing.
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.
One price per platform.
Pick the platforms we run for you. The fee depends on how many, never on what you spend.
Team Marketing already includes all four platforms and the SEO package.
- 1 platform$490
- 2 platforms$790
- 3 platforms$1,090
All four platforms together are Team Marketing.
All four platforms and SEO, run by four people. No cap on ad spend.
$1,590every 30 days
- Management of campaigns, creatives and budget
- 4 new creatives a month for each platform we run
- A monthly report and a call every two weeks
- Accounts in your name: our access you can revoke
More guides
Core Web Vitals in Google Search Console: Thresholds, CrUX Field Data & Fix Guide
Google Search Console Enhancements & Rich Results
gsc-trends-and-future
GSC Page Indexing Report: Index Coverage Status Reference & Fix Guide
links-manual-actions-and-security
GSC Performance Report & Search Analytics
Sitemaps & URL Inspection in Google Search Console
What Is Google Search Console
