Inspect a URL's Google index status
google-search-console.url_inspectionCheck whether a page of your site is indexed by Google, and why it is or isn't
- Price
- freeAt list price
- Success rate
- 99.8%Last 30 days · 44,277 calls
- Latency p50
- 6.4 sp95 6.7 s
- Last verified
- Jul 28, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/google-search-console.url_inspectionBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameters
note the /v1/ prefix — NOT webmasters/v3/ (request shape previously live-verified via the registry entry's examples). Returns indexStatusResult (verdict, coverageState, robotsTxtState, canonical URLs) plus mobileUsabilityResult and richResultsResult. Hard-quotaed at 2,000 inspections per site per day
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Request body (JSON) | ||||
siteUrl | string | Required | the Search Console property the URL sits under | sc-domain:example.com |
languageCode | string | Optional | BCP-47; controls the language of the human-readable verdict strings | en-US |
inspectionUrl | string | Required | the full page URL; must belong to siteUrl | https://example.com/page |
- Request body (JSON)
siteUrlstringRequiredthe Search Console property the URL sits under
Example:
sc-domain:example.comlanguageCodestringOptionalBCP-47; controls the language of the human-readable verdict strings
Example:
en-USinspectionUrlstringRequiredthe full page URL; must belong to siteUrl
Example:
https://example.com/page
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X POST 'https://toolswitch.dev/v1/tools/google-search-console.url_inspection' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"siteUrl":"sc-domain:example.com","inspectionUrl":"https://example.com/"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/google-search-console.url_inspection",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"siteUrl\":\"sc-domain:example.com\",\"inspectionUrl\":\"https://example.com/\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/google-search-console.url_inspection", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"siteUrl\":\"sc-domain:example.com\",\"inspectionUrl\":\"https://example.com/\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.