Google Search Console
Query Search Console analytics, inspect how Google indexes a URL, and manage properties and sitemaps. Connect with Google OAuth.
- rest
https://api.superagnt.com/v1/connections/google-search-consoleplus the vendor's own path, with your superagnt_ API key asAuthorization: Bearer.- mcp
- Tools named
connection_google_search_console_*onhttps://mcp.superagnt.com/mcp, served once the account is connected. - billing
- Google Search Console bills your own account. Calls cost no superagnt_ data credits.
- rate limit
- 10 requests a second, 600 a minute: the vendor's ceiling as the registry records it, for sizing bursts. Your plan's own limit is on Connections.
The Google Search Console connection lets an agent work your search presence. It queries search analytics (clicks, impressions, CTR and average position, by query, page, country, device, date, search appearance or hour), manages the properties on the account, submits and monitors sitemaps, and inspects a URL's index status (coverage state, the canonical Google chose, last crawl, rich results).
property ids
Pass siteUrl exactly as connection_google_search_console_sites_read action list returns it. A URL-prefix property is the full URL with protocol and trailing slash (https://example.com/). A domain property uses the sc-domain: prefix (sc-domain:example.com). MCP tools take the raw value and encode it for you; over REST, URL-encode it in the path (sc-domain%3Aexample.com).
01
Setup
- Connect Google. In the superagnt app open Integrations, pick Google Search Console and click Connect with Google.
- Approve Search Console access. Google asks only for Search Console access (the
https://www.googleapis.com/auth/webmastersscope, which also covers adding properties and submitting sitemaps) plus your Google identity. Approve it in the Google window.
Google Search Console, Google Docs, Google Sheets and Google Calendar share one Google sign-in, but each is its own connection with its own consent: connecting one never grants the others. If the workspace already has a Google account connected for another Google app, the dialog offers Connect Google Search Console instead, which asks that account for Search Console's permissions only. Access tokens are refreshed for you.
02
Things to know
- Search analytics data is typically 2 to 3 days behind. Pass
dataState: "all"to include fresh data that is not final yet. - Rows come sorted by clicks, highest first. Grouping by
queryleaves out rare and anonymized queries, so per-query rows can add up to far less than the property's totals. For totals, run a second query with no dimensions and read its single row. rowLimitis 1 to 25,000 (default 1,000). Page withstartRow.- URL inspection reports what Google knows about a URL; it does not request indexing, and there is no public API for that. The URL must belong to the
siteUrlproperty. ReportcoverageStateto a person rather thanverdict, whereNEUTRALusually means excluded, not an error. Inspection is limited to about 600 a minute and 2,000 a day per property. - A sitemap's
errorsandwarningsare counts sent as strings. The API does not say what each error is: only the Search Console UI does. - A new property covered by one the account already verified inherits the verification. Otherwise it shows as
siteUnverifiedUser, with no data, until it is verified in Search Console. - Removing a property unlinks it from the account. Search Console keeps its history, but the account loses access until the property is added and verified again.
03
Permissions
These defaults decide whether a superagnt_ agent runs a call or waits for a person (Permissions). Reads run without asking, including search analytics queries and URL inspection, which use POST but change nothing. Adding a property and submitting a sitemap ask by default. Removing a property and deleting a sitemap always ask a person first.
04
Examples
Top queries for the last 28 days
curl -X POST "https://api.superagnt.com/v1/connections/google-search-console/webmasters/v3/sites/sc-domain%3Aexample.com/searchAnalytics/query" \
-H "Authorization: Bearer $AGNTDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"startDate": "2026-09-18",
"endDate": "2026-10-15",
"dimensions": ["query"],
"rowLimit": 25
}'Which pages are losing clicks?
curl -X POST "https://api.superagnt.com/v1/connections/google-search-console/webmasters/v3/sites/sc-domain%3Aexample.com/searchAnalytics/query" \
-H "Authorization: Bearer $AGNTDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"startDate": "2026-10-08",
"endDate": "2026-10-15",
"dimensions": ["page", "date"],
"dimensionFilterGroups": [{"filters": [{"dimension": "page", "operator": "contains", "expression": "/blog/"}]}]
}'Is this URL indexed?
curl -X POST "https://api.superagnt.com/v1/connections/google-search-console/v1/urlInspection/index:inspect" \
-H "Authorization: Bearer $AGNTDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inspectionUrl": "https://example.com/blog/launch",
"siteUrl": "sc-domain:example.com"
}'8 tools, one per resource and risk
MCP servers and agents on the grouped surface list Google Search Console as these tools. Each takes an action, and the ones that work across record types an object. Every operation also keeps its own per-operation name, in the next table, which works on every server. How grouping works: Grouped tools.
| Tool | Risk | Actions |
|---|---|---|
connection_google_search_console_analytics_readQuery Google Search Console analytics Query search analytics: clicks, impressions, CTR and position by query, page, country, device or date. Pass siteUrl exactly as connection_google_search_console_sites_read lists it. | read | query |
connection_google_search_console_url_inspection_readInspect a URL in Google Search Console Inspect a URL's index status in Google Search. | read | inspect |
connection_google_search_console_sites_readRead Search Console properties List or get the properties (sites) of the connected Search Console account. | read | listget |
connection_google_search_console_sites_writeAdd a Search Console property Add a property to the connected Search Console account. | write | add |
connection_google_search_console_sites_deleteRemove a Search Console property Remove a property from the connected account; it must be re-added and re-verified to regain access. | destructive | remove |
connection_google_search_console_sitemaps_readRead Search Console sitemaps List or get a property's sitemaps. Pass siteUrl exactly as connection_google_search_console_sites_read lists it. | read | listget |
connection_google_search_console_sitemaps_writeSubmit a Search Console sitemap Submit a sitemap URL for a property. | write | submit |
connection_google_search_console_sitemaps_deleteWithdraw a Search Console sitemap Withdraw a sitemap submission. | destructive | delete |
All 10 operations
Each operation is a REST path under https://api.superagnt.com/v1/connections/google-search-console and an MCP tool. The per-operation tool name is the one permissions, approvals and usage records use.
| Operation | MCP tool |
|---|---|
GET /webmasters/v3/sitesList properties | connection_google_search_console_list_sitesgrouped: connection_google_search_console_sites_read, action list |
GET /webmasters/v3/sites/{siteUrl}Get a property | connection_google_search_console_get_sitegrouped: connection_google_search_console_sites_read, action get |
PUT /webmasters/v3/sites/{siteUrl}Add a property | connection_google_search_console_add_sitegrouped: connection_google_search_console_sites_write, action add |
DELETE /webmasters/v3/sites/{siteUrl}Remove a property | connection_google_search_console_remove_sitegrouped: connection_google_search_console_sites_delete, action remove |
POST /webmasters/v3/sites/{siteUrl}/searchAnalytics/queryQuery search analytics | connection_google_search_console_query_analyticsgrouped: connection_google_search_console_analytics_read, action query |
GET /webmasters/v3/sites/{siteUrl}/sitemapsList sitemaps | connection_google_search_console_list_sitemapsgrouped: connection_google_search_console_sitemaps_read, action list |
GET /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}Get a sitemap | connection_google_search_console_get_sitemapgrouped: connection_google_search_console_sitemaps_read, action get |
PUT /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}Submit a sitemap | connection_google_search_console_submit_sitemapgrouped: connection_google_search_console_sitemaps_write, action submit |
DELETE /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}Delete a sitemap | connection_google_search_console_delete_sitemapgrouped: connection_google_search_console_sitemaps_delete, action delete |
POST /v1/urlInspection/index:inspectInspect a URL | connection_google_search_console_inspect_urlgrouped: connection_google_search_console_url_inspection_read, action inspect |