Submit a sitemap to Google Search Console via the API

domain: developers.google.com · 4 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Authenticate with OAuth 2.0 using credentials that have full access (not readonly) to the Search Console property
  2. Send a PUT request to the sitemaps.submit endpoint, providing the siteUrl path parameter (the verified property) and the feedpath parameter (the full URL of the sitemap)
  3. Confirm a 204 No Content response indicating successful submission
  4. Follow up with a GET request to the sitemaps.get endpoint to verify the sitemap is listed and check its status fields including isPending, isSitemapsIndex, lastSubmitted, and errors

Known gotchas

Related routes

Build and manage XML sitemaps correctly including size limits, sitemap index files, and lastmod handling
developers.google.com · 5 steps · unrated
Run a GAQL searchStream report via Google Ads API
developers.google.com/google-ads/api · 6 steps · unrated
Pull search performance data from Google Search Console API using dimensions and row limits
developers.google.com · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp