List sitemap entries
Enumerates Clutch's own sitemaps. Without index, lists the numbered sitemaps for kind; with index, returns that sitemap's URLs. kind=profile yields profile slugs, kind=directory yields directory paths. data is null past the last sitemap.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
kind?string
Which half of Clutch's enumeration to read. profile lists agency profile URLs (220,567 of them); directory lists directory URLs (65,812), which is where the directory parameter of the directory endpoint comes from.
Default
"profile"Value in
- "profile"
- "directory"
index?integer
Which numbered sitemap to expand. Omit it to get the list of sitemaps for this kind; pass it to get that sitemap's URLs. Sitemaps are served one at a time (~860KB each) rather than concatenated. Indexes are 1-based; data is null past the last one.
Range
1 <= value <= 100curl -X GET "https://example.com/v1/clutch/sitemap" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "kind": "profile", "sitemaps": [ "https://clutch.co/sitemap-profile-1.xml" ], "count": 45 }}