Web
Sitemap.xml URL inventory API
Fetches a sitemap.xml (or sitemap index) and parses it into a flat URL inventory with ISO lastmod, changefreq, and priority; sitemap-index files are transparently expanded one level. The value-add: nested index + urlset structures collapse into one normalized URL list. Answers 'list all URLs in this sitemap', 'get the sitemap inventory for this domain', 'when was this page last modified per the sitemap', 'expand this sitemap index'.
Price$0.01per request
MethodPOST
Route/v1/web/sitemap
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
websitemapsitemap-xmlurlscrawlseoinventorylastmod
API URL
Integration docshttps://x402.hexl.dev/v1/web/sitemapExample request
{
"url": "https://www.gov.uk/sitemap.xml",
"limit": 100
}Example response
{
"url": "https://www.gov.uk/sitemap.xml",
"type": "sitemapindex",
"sitemapCount": 12,
"sitemaps": [
"https://www.gov.uk/sitemaps/sitemap_1.xml"
],
"urlCount": 100,
"urls": [
{
"loc": "https://www.gov.uk/browse",
"lastmod": "2026-05-30T00:00:00.000Z",
"changefreq": "daily",
"priority": 0.8
}
]
}Input schema
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"examples": [
"https://www.example.com/sitemap.xml"
]
},
"limit": {
"type": "number",
"examples": [
200
]
},
"expandIndex": {
"type": "boolean",
"examples": [
true
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}