Submit a sitemap to Google Search Console via the API

domain: developers.google.com · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

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

List, retrieve metadata for, and delete sitemaps from a Search Console property via the Sitemaps API
developers.google.com · 6 steps · unrated
Validate and submit a sitemap to Bing via Bing Webmaster Tools API
bing-webmaster-tools · 5 steps · unrated
Verify a site in Bing Webmaster Tools and submit a sitemap via the Bing Webmaster Tools API
bing.com/webmasters · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

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

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans