Google Search ConsoleGoogle Search ConsoleSEO/AEO

Submit a sitemap for your site to Google

google-search-console.x.webmasters-sitemaps-submit

sitemaps.submit — Submits a sitemap for a site.

Price
freeAt list price
Success rate
100%Last 30 days · 611 calls
Latency p50
139 msp95 576 ms
Last verified
—Not verified yet
PUThttps://toolswitch.dev/v1/tools/google-search-console.x.webmasters-sitemaps-submitBeta
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Path parameters
siteUrlstringRequiredPass the raw property id; treg encodes it. For example: `http://www.example.com/` or `sc-domain:example.com`.
feedpathstringRequiredThe URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`.
  • Path parameters
  • siteUrlstringRequired

    Pass the raw property id; treg encodes it. For example: `http://www.example.com/` or `sc-domain:example.com`.

  • feedpathstringRequired

    The URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`.

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Beta
curl -X PUT 'https://toolswitch.dev/v1/tools/google-search-console.x.webmasters-sitemaps-submit' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

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.