All endpoints
XML Sitemap Generator
POST
/api/v1/tools/sitemap-generatorPaste a list of URLs to generate a standard XML sitemap, with optional lastmod, changefreq and priority.
Authentication
Requires an API key in the X-API-Key header.
Try it
POST
/api/v1/tools/sitemap-generatorParameters
urlsstringrequiredNewline-separated list of URLs.
includeLastmodbooleanoptionalInclude <lastmod>. Default true.
lastmodDatestringoptionalDate for <lastmod>, YYYY-MM-DD.
changefreqstringoptionalValue for <changefreq>. Default none.
alwayshourlydailyweeklymonthlyyearlyneverprioritystringoptionalValue for <priority>, 0.0–1.0. Default none.
Request body
{
"urls": "https://example.com/\nhttps://example.com/about",
"includeLastmod": true,
"lastmodDate": "2026-09-06",
"changefreq": "weekly",
"priority": "0.8"
}Response codes
200Success.400Invalid request — check your body or parameters.401Missing or invalid API key.403The API key is not scoped to this endpoint.429Rate limit exceeded — retry after a short wait.
Language
cURL
Request
curl -X POST https://utilerio.com/api/v1/tools/sitemap-generator \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":"https://example.com/\nhttps://example.com/about","includeLastmod":true,"lastmodDate":"2026-09-06","changefreq":"weekly","priority":"0.8"}'Response
{ "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset...>...</urlset>", "urlCount": 2, "duplicateCount": 0 }
