List sitemaps

Sitemaps of a property with last read date, status and discovered pages.

GET https://cotlet.dev/api/v1/google-search-console/sitemaps

read

Lists what the Sitemaps report shows: sitemap URL, type, date of the last submit, last read, status (Success, Has errors or Couldn't fetch) and the number of discovered pages. Discovered means parsed from the file, not crawled or indexed. The report lists only sitemaps sent through the report or the API, up to 1,000.

Parameters

Parameters: list_sitemaps
NameTypeDescription
property string required string Property as Search Console lists it: sc-domain:example.com for a Domain property, https://example.com/ for a URL-prefix property.

Request

cURL
curl "https://cotlet.dev/api/v1/google-search-console/sitemaps?property=property" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("google-search-console", "list_sitemaps", {"property":"property"})
Node.js
const result = await cotlet.call('google-search-console', 'list_sitemaps', {"property":"property"});
CLI
cotlet call google-search-console list_sitemaps --data '{"property":"property"}'

Example response

JSON

{
  "sitemaps": [
    {
      "url": "https://example.com/sitemap.xml",
      "type": "Sitemap index",
      "submitted": "2026-09-02",
      "last_read": "2026-10-15",
      "status": "Success",
      "discovered_pages": 7620
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.