Google Search Console API: Quotas, Limits and How to Use It
Use the Google Search Console API with quota and row-limit guidance, plus JSON examples for property totals and exact-page comparisons.
The Google Search Console API lets software read Search Console performance data (clicks, impressions, CTR, position), inspect the indexed status of URLs and manage sitemaps. It returns at most 25,000 rows per request, covers about 16 months, and cannot request indexing for ordinary pages or read GA4 conversions.
What is the Google Search Console API?
The Google Search Console API is a set of HTTP endpoints that let an authorized application read reports and settings from Search Console properties that a Google user can access. It covers four resource groups: Search Analytics (performance data), URL Inspection, Sitemaps and Sites.
It is useful when the work is repetitive: a daily dashboard, a monthly comparison of landing pages, or an audit of hundreds of high-impression queries across many properties. For a single page check, the Search Console interface is usually faster.
The API exposes the same underlying data as the interface, but with different limits. The interface shows 1,000 rows per table. The API can return up to 25,000 rows per request and lets you add filters and dimensions in combinations the interface does not offer. Google’s own guide to getting all of your performance data explains the trade-offs.
What can the Search Console API do, and what can’t it?
The API can read performance data, inspect indexed URL status, and list, submit or delete sitemaps. It cannot request indexing for ordinary pages, run a live test, or return conversions and sessions from GA4.
| Task | Available? | Resource | Important limitation |
|---|---|---|---|
| Clicks, impressions, CTR and average position | Yes | Search Analytics | Anonymized queries are omitted from query rows; row caps apply. |
| Filter by page, query, date, hour, device, country or search appearance | Yes | Search Analytics | Search appearance cannot be combined with other dimensions in one request. |
| Hourly data | Yes, recent days only | Search Analytics | Uses the hour dimension and a dedicated data state, and covers roughly the last 10 days. |
| List, add or delete properties | Yes | Sites | Access depends on the permission level of the authorized user. |
| List, submit or delete sitemaps | Yes | Sitemaps | Submitting needs a read-write scope; it does not guarantee indexing. |
| Inspect a URL’s indexed status | Yes | URL Inspection | Reports the version in Google’s index; not a live test. |
| Request indexing for a normal web page | No | Not in this API | Google’s Indexing API only supports specific content types. |
| Read GA4 conversions or purchases | No | Not in this API | Use GA4 and its own API and permissions. |
| Data older than about 16 months | No | Not in this API | Store data yourself as it arrives. |
This table matters when you evaluate any SEO tool or AI connector: a tool can only expose what the underlying API and its granted scopes allow. See the official Search Console API reference for the current list of resources.
How do you get access to the Search Console API?
To call the API yourself you need a Google Cloud project with the Search Console API enabled, credentials, and a Google account (or service account) that has access to the property. An MCP connector can handle this for you, but the underlying permissions still apply.
- Pick a project. In the Google Cloud console, create or select a project and enable the Search Console API for it. Quotas are counted against this project.
- Choose how to authenticate. The API uses OAuth 2.0 or a service account, not a static API key. For a tool where people connect their own sites, use OAuth. For your own automated jobs, a service account is common.
- Pick the narrowest scope. Google defines
https://www.googleapis.com/auth/webmasters.readonlyfor viewing data andhttps://www.googleapis.com/auth/webmastersfor viewing and managing. Use the read-only scope unless you need to submit or delete sitemaps or manage properties. - Grant property access. The authorizing user must already be an owner or user of the property. If you use a service account, add its e-mail address as a user in the property’s Search Console settings, otherwise requests for that property fail.
- Use the exact property identifier. A URL-prefix property is identified by its full URL, such as
https://example.com/. A domain property uses thesc-domain:prefix, such assc-domain:example.com. They are not interchangeable, and the identifier must be URL-encoded in the request path.
The Sites and Sitemaps reference pages list the scope each method requires.
How do you run a Search Analytics query?
You send a POST request to the Search Analytics query method for one property, with a start date, an end date and the dimensions you want back. The response is a list of rows, each with dimension values, clicks, impressions, CTR and position.
Here is an illustrative request body. The dates are examples, so replace them with your own:
{
"startDate": "2026-09-01",
"endDate": "2026-09-28",
"dimensions": ["page", "query"],
"type": "web",
"dataState": "final",
"rowLimit": 1000,
"startRow": 0
}
And the shape of a call with curl. Replace the token, the encoded property and the dates; never commit a token or paste one into an AI chat:
curl --request POST \
"https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Fexample.com%2F/searchAnalytics/query" \
--header "Authorization: Bearer YOUR_OAUTH_ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"startDate":"2026-09-01","endDate":"2026-09-28","dimensions":["page"],"type":"web","dataState":"final","rowLimit":1000,"startRow":0}'
The main request fields, as documented in the Search Analytics query reference:
| Field | What it does | Notes |
|---|---|---|
startDate, endDate | Date range, inclusive, in YYYY-MM-DD form | Recent dates may be incomplete. |
dimensions | Grouping: date, hour, page, query, country, device, searchAppearance | You cannot group by the same dimension twice. |
type | Search surface: web (default), image, video, news, discover, googleNews | Keep one type per analysis. |
dataState | final (default) returns finalized data, all includes fresh data, hourly_all is for hourly queries | Fresh and hourly data can be partial. |
aggregationType | auto (default), byPage or byProperty | Changes how rows are counted, so keep it constant when comparing periods. |
dimensionFilterGroups | Filters on a dimension, with operators such as equals, contains, includingRegex and excludingRegex | Combine with groupType set to and. |
rowLimit, startRow | Page size (1 to 25,000, default 1,000) and zero-based offset | See the next section. |
A hypothetical response row, to show the structure (the numbers are invented):
{ "keys": ["https://example.com/guide/", "search console api"], "clicks": 41, "impressions": 1320, "ctr": 0.031, "position": 8.4 }
The keys array follows the order of dimensions in your request. An empty rows array does not mean your credentials are wrong: the date window or filter may simply contain no eligible data. Treat HTTP errors, quota messages and empty results as three different outcomes.
What are the Search Console API quotas and row limits?
As of October 2026, Google’s usage-limits page lists per-site, per-user and per-project quotas for Search Analytics, and separate, tighter ones for URL Inspection. Row limits matter more than request quotas for most reporting jobs.
| Resource | Limit | Scope |
|---|---|---|
| Search Analytics | 1,200 queries per minute | Per site |
| Search Analytics | 1,200 queries per minute | Per user, across properties |
| Search Analytics | 40,000 per minute and 30,000,000 per day | Per Cloud project |
| URL Inspection | 600 per minute and 2,000 per day | Per property |
| URL Inspection | 15,000 per minute and 10,000,000 per day | Per Cloud project |
| Sites, Sitemaps | 20 per second and 200 per minute | Per user |
| Search Analytics load limits | Short (10 minute) and long (1 day) windows, no published number | Heavy queries cost more |
Source: Google’s Search Console API usage limits. Google can change these without notice, so read that page before sizing a job. If you hit a load limit, Google’s guidance is to wait and retry later, ideally with exponential backoff.
Row limits are a separate matter:
| Limit | Value | Source |
|---|---|---|
| Rows per request | 1 to 25,000 (default 1,000) | Query reference |
| Rows exposed per day, per site, per search type | About 50,000 | Google Search Central blog |
| Rows per table in the interface | 1,000 | Search Console Help |
| Hourly data | Roughly the last 10 days | Query reference, hourly_all data state |
| History | About 16 months | Search Console |
Google’s blog notes that the roughly 50,000-row ceiling also applies to the Looker Studio connector. The rows you do get are generally the highest-performing ones, so the long tail is what disappears on high-volume sites.
How do you get more than 25,000 rows?
Request one day at a time and page through each day with startRow until a page comes back short. Because the cap applies per day, this exposes more of a large site than one query over a month.
A hypothetical example: a store has 80,000 distinct page, query and device combinations on a busy day. The API will expose at most about 50,000 of them, so two requests of 25,000 rows (startRow 0 and startRow 25000) retrieve everything the API will give you for that day. Running the same query over 28 days at once would not get you 28 times the data.
A minimal Python sketch using Google’s client library, assuming you already have valid credentials:
from googleapiclient.discovery import build
service = build("searchconsole", "v1", credentials=creds)
rows, start = [], 0
while True:
body = {"startDate": day, "endDate": day, "dimensions": ["page", "query"],
"type": "web", "rowLimit": 25000, "startRow": start}
resp = service.searchanalytics().query(siteUrl="sc-domain:example.com", body=body).execute()
batch = resp.get("rows", [])
rows.extend(batch)
if len(batch) < 25000:
break
start += 25000
Store the raw rows with the property, date, search type and the dimensions you requested before anyone summarizes them. If you routinely hit the daily ceiling, Google’s bulk data export to BigQuery is the route that does not use the Search Analytics row limit.
How do you get a control total before comparing pages?
Request a property-level total separately from page or query rows. A capped detail table is not the denominator for sitewide CTR, and adding its impressions does not reconstruct the property total.
These illustrative request bodies use Google’s API field names, not an MCP tool’s parameters. Replace the dates and example URL before use. The dates are inclusive reporting days in Pacific Time (America/Los_Angeles), not your computer’s local calendar. Use final and leave a few days for reporting lag, as described in Google’s performance data guide.
First, request one control-total row for the selected property and Web search:
{
"startDate": "2026-09-01",
"endDate": "2026-09-28",
"dimensions": [],
"type": "web",
"dataState": "final",
"aggregationType": "byProperty",
"rowLimit": 1
}
Then measure one exact page independently. Keep the same dates, search type and data state, but use auto aggregation because a page filter cannot be combined with byProperty:
{
"startDate": "2026-09-01",
"endDate": "2026-09-28",
"dimensions": [],
"type": "web",
"dataState": "final",
"aggregationType": "auto",
"dimensionFilterGroups": [{
"groupType": "and",
"filters": [{
"dimension": "page",
"operator": "equals",
"expression": "https://example.com/guide/"
}]
}],
"rowLimit": 1
}
Repeat each request for the preceding equal-length period, keeping its own aggregation and filters unchanged. Compare property totals with property totals and the exact page with itself, not one aggregation against the other. For the page’s query breakdown, add query as a dimension to the second request and keep that separate from the page total. Query privacy filtering and row limits still apply.
Calculate CTR from clicks divided by impressions, rather than averaging row CTRs. If a period returns no rows, record that outcome and check dates, filters and data availability before calling it zero traffic; do not calculate percentage growth from a missing or zero baseline. The query reference documents the aggregation constraints. For the investigation after measurement, use the traffic drop checklist.
Why does the API return different numbers from the Search Console report?
API rows rarely add up to the interface totals because anonymized queries, row caps, filters and aggregation choices change what is counted. This is expected behaviour, not a bug in your code.
- Anonymized queries. Google leaves out rare queries from query-level data to protect users’ privacy, but its help pages say they are still counted in some chart totals. Summing query rows therefore undershoots the total. See Google’s explanation of Search Console performance data.
- Aggregation. Grouping by page and grouping by property count impressions differently when one page appears multiple times for a query. Keep
aggregationTypefixed. - Data state. Fresh data is provisional. For month-on-month work, use
finaland exclude the most recent days. - Search type. Web, image, video, news and Discover numbers are different surfaces. Do not add them together.
- Different tool, different question. Search Console clicks are not GA4 sessions. Read why GSC clicks and GA4 sessions don’t match before combining them.
How does the URL Inspection API work?
The URL Inspection API takes a URL and a property and returns the indexed status Google has stored for that URL. It reports the indexed version, not a live crawl.
A request needs inspectionUrl (the page), siteUrl (the property that contains it) and optionally languageCode. The result, documented in UrlInspectionResult, includes an index status block with fields such as verdict, coverageState, robotsTxtState, lastCrawlTime, googleCanonical and userCanonical. These are the same signals behind the interface’s inspection panel, so they pair well with the guidance in Search Console says not indexed: now what?.
Plan for the tighter quota: 2,000 inspections per property per day and 600 per minute. That is enough to check a shortlist of important URLs daily, such as your top 500 landing pages and everything you published this week, but not to crawl a 100,000-URL site. Choose URLs with a reason: pages that lost traffic, new templates, or pages in a migration.
Can the API submit URLs for indexing?
No. Neither the URL Inspection API nor the Search Analytics API can request indexing for an ordinary page. Google’s separate Indexing API only supports pages with JobPosting structured data or livestream BroadcastEvent markup embedded in a VideoObject.
The Indexing API has a default quota of 200 publish requests per day, which covers both updates and deletions, according to Google’s quota and pricing page. Its use is described in Using the Indexing API. Using it for blog posts or product pages is outside its documented purpose.
For ordinary pages the supported levers are an XML sitemap (which the Sitemaps resource can submit), good internal linking, and the interface’s Request Indexing button for individual URLs. Submitting a sitemap tells Google where to look; it does not guarantee crawling or indexing. Bing is different: it supports IndexNow, covered in our Bing Webmaster Tools API guide.
What changed recently in Search Console data?
Two changes as of October 2026 affect how you read API data: a Generative AI performance report in the interface, and a reported split of the Web search type into text and multimodal.
- Generative AI performance report. Google announced Search generative AI performance reports in June 2026. Its help page says the report covers impressions for AI Overviews and AI Mode and draws on the Web search type, so those impressions are already included in your Web totals. Do not add them on top. The Search Analytics reference, as far as we could find, does not document a separate API field for this report.
- Multimodal split. Third-party coverage in late September 2026 reports that the interface now separates text-based from multimodal Web search (for example visual search) and that the API’s
typevalues do not yet include it. We could not confirm this against Google’s own documentation, so check the current reference if your totals suddenly differ from the interface.
In short, the interface can show breakdowns that the API does not. If a number from the API does not match a new interface view, suspect a reporting change before suspecting your code.
Which API reporting mistakes create false SEO conclusions?
The most common errors are comparing incomplete dates, mixing aggregation levels, treating a capped result as complete and reading average position as a rank.
| Mistake | Why it matters | Better approach |
|---|---|---|
| Using the latest day as if it were final | Fresh data is provisional | Use dataState final and state the date range. |
| Adding page-query rows and expecting the property total | Privacy filtering and aggregation change totals | Request comparable aggregations and document the dimensions. |
| Treating 1,000 returned rows as the full data set | The default page size is 1,000 | Page with startRow and rowLimit. |
| Mixing Web, Image and Discover numbers | They are different surfaces | Compare one search type at a time. |
| Reading average position as a guaranteed rank | Position averages across impressions | Analyze important queries individually. |
| Calling URL Inspection a live crawl | It reports the indexed version | Use the interface’s live test for current rendering. |
| Ranking pages by CTR alone | A branded query at position 1 behaves differently from a broad query at position 9 | Segment by query type, then compare. See the low-CTR workflow. |
Should you use the API directly or an MCP server?
Use the API directly if you are building a data warehouse or need tight control of scheduling, authentication and logging. Use an MCP connector if you mainly want to ask an AI assistant questions without maintaining a script.
| Approach | Best for | What you maintain |
|---|---|---|
| Search Console interface | One-off checks, live URL tests | Nothing |
| Direct API scripts | Daily pipelines, warehouses, custom logic | Cloud project, OAuth or service account, code, retries |
| BigQuery bulk export | Large sites, SQL, long retention | Cloud project, billing, tables |
| MCP connector | Natural-language questions across sources | A connector authorization |
GSC Magic is an MCP connector in this last category. According to its own site, you sign in with Google, paste one URL into your agent, and there is no Google Cloud project or API key to manage. Its Free plan is read-only, and on paid plans the account owner can switch write tools (sitemaps, IndexNow) off in Settings. Whatever connector you use, it cannot return data that Google’s API does not expose, and the quality of an answer still depends on the dimensions, date range and permissions behind it.
Setup walkthroughs: connect Search Console to Claude and connect Search Console to ChatGPT.
What should you do next?
Start with one question and the smallest query that answers it, then keep the raw rows. If you plan a year-over-year report, begin storing data now, because the API cannot go back past about 16 months; the retention guide covers the options.
Prompts to try once your assistant has access to a property:
From my authorized Search Console property, identify the five pages with the largest click losses between the last two complete 28-day windows. Show the dates and filters you used.
Explain which Search Console data supports each recommendation. If a metric needs GA4 or another integration, say so instead of guessing.
List which of my important URLs were last crawled more than 30 days ago, and note that URL Inspection shows the indexed version only.
For more prompt ideas see the SEO prompts library, and if your traffic has already dropped, start with the organic traffic drop checklist. If you would rather not manage credentials and quotas yourself, see GSC Magic.
Frequently asked questions
Is the Google Search Console API free?
Google does not charge per request for the Search Console API. Usage is limited by quotas per site, per user and per Google Cloud project, and you need a Cloud project and OAuth credentials to call it directly. A third-party tool or MCP service that wraps the API may charge its own subscription, so check that provider’s terms.
How many rows can the Search Console API return?
A single Search Analytics request returns up to 25,000 rows, with 1,000 as the default. You can page with startRow, but Google’s documentation says the API exposes at most about 50,000 rows per day, per site, per search type. For sites with more combinations than that, query one day at a time or use the BigQuery bulk export.
Can the Search Console API return data older than 16 months?
No. Search Console performance data is kept for about 16 months, and the API cannot return days outside that window. To compare longer periods you must store the data yourself, for example with a scheduled API export, or start the BigQuery bulk export, which only collects data from the day you switch it on.
Why does the API return fewer queries than the Search Console report?
Search Console leaves out anonymized queries, which are rare searches withheld for privacy, from query-level rows while still counting them in some totals. Row caps and filters also truncate results, so summing query rows rarely equals the property total. Compare like for like, using the same dimensions, search type and date range.
Can the Search Console API submit a URL for indexing?
No. The URL Inspection API only reports how Google currently sees a URL and cannot request indexing. Google’s separate Indexing API is limited to pages with JobPosting markup or livestream BroadcastEvent markup inside a VideoObject. For ordinary pages, use sitemaps, internal links and the Request Indexing button in the Search Console interface.
Does the API include AI Overviews and AI Mode data?
Google’s help pages say impressions from AI Overviews and AI Mode are reported in a Generative AI performance report in the Search Console interface and sit within the Web search type. As of October 2026, the Search Analytics reference does not document a separate API field for them, so check the current reference before building a pipeline.
Do I need a Google Cloud project to use the Search Console API?
To call the API yourself, yes: you need a Cloud project with the API enabled and either OAuth credentials or a service account that has been added as a user on the property. An MCP connector that handles Google sign-in for you removes that setup, though the data and Google’s limits stay the same.
Can an MCP server change my website through Search Console?
Only if its tools and your granted permissions allow it. Search Console permissions cover reading reports and, with a broader scope, actions such as submitting sitemaps. They do not give access to your site’s code or content. Prefer a read-only scope unless you have a specific reason to write.
Do this with GSC Magic
If you would rather not manage credentials and quotas yourself, GSC Magic wraps the Search Console API, URL Inspection and sitemaps as hosted MCP tools with OAuth: compare it with running an open-source server locally or browse the tool list.
Give your agent your search data.
GSC Magic connects Claude, ChatGPT and Cursor to Google Search Console, Bing and GA4. Free plan, 7-day Pro trial, no card.