# 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 `slug`s, `kind=directory` yields `directory` paths. `data` is `null` past the last sitemap.

- Platform: Clutch
- Request: `GET https://api.toolzerhub.com/v1/clutch/sitemap`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/clutch/enumeration/get-clutch-sitemap

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `kind` | query | no | enum: profile, directory | 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. |
| `index` | query | no | 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. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/clutch/sitemap" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
