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
- Precio
- freeA precio de catálogo
- Tasa de éxito
- 99,8 %Últimos 30 días · 44.277 llamadas
- Latencia p50
- 6.4 sp95 6.7 s
- Última verificación
- 28 jul 2026Verificado y operativo
POSThttps://toolswitch.dev/v1/tools/google-search-console.url_inspectionBeta- Usa la cuota de la plataforma
- Respuesta síncrona
- Lee datos públicos
Parámetros
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
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Cuerpo (JSON) | ||||
siteUrl | cadena | Obligatorio | the Search Console property the URL sits under | sc-domain:example.com |
languageCode | cadena | Opcional | BCP-47; controls the language of the human-readable verdict strings | en-US |
inspectionUrl | cadena | Obligatorio | the full page URL; must belong to siteUrl | https://example.com/page |
- Cuerpo (JSON)
siteUrlcadenaObligatoriothe Search Console property the URL sits under
Ejemplo:
sc-domain:example.comlanguageCodecadenaOpcionalBCP-47; controls the language of the human-readable verdict strings
Ejemplo:
en-USinspectionUrlcadenaObligatoriothe full page URL; must belong to siteUrl
Ejemplo:
https://example.com/page
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en Beta; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a free, incluida la tarifa de servicio.