Docs · Intelligence
Sitemap unroll
Unroll any sitemap.xml, including nested index sitemaps.
POST
/v1/intel/sitemap Returns every URL in a site's sitemap tree, flattened.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| url | string | yes | — | Sitemap URL or root URL of the site. |
Request
curl -X POST https://api.datasonar.dev/v1/intel/sitemap \
-H "Authorization: Bearer osk_..." \
-d '{"url": "https://example.com"}' Response
{
"status": "success",
"urls": ["https://example.com/", "https://example.com/about", ...],
"url_count": 142
}