Access the Google Search Console API with managed OAuth authentication. Query search analytics, manage sitemaps, inspect URL index status, and monitor site performance in Google Search.
Reference
Sites
GET /google-search-console/webmasters/v3/sites
GET /google-search-console/webmasters/v3/sites/{siteUrl}Note: Site URL must be URL-encoded (e.g., https%3A%2F%2Fexample.com%2F)
Search Analytics
POST /google-search-console/webmasters/v3/sites/{siteUrl}/searchAnalytics/query
Content-Type: application/json
{
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"dimensions": ["query"],
"rowLimit": 100
}Sitemaps
GET /google-search-console/webmasters/v3/sites/{siteUrl}/sitemaps
PUT /google-search-console/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
DELETE /google-search-console/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}URL Inspection
POST /google-search-console/v1/urlInspection/index:inspect
Content-Type: application/json
{
"inspectionUrl": "https://example.com/page",
"siteUrl": "sc-domain:example.com"
}Note: siteUrl goes in the body exactly as the property is listed (e.g. sc-domain:example.com or https://example.com/), not URL-encoded, and inspectionUrl must belong to that property. Google allows 2,000 inspections a day and 600 a minute per property.