{"category":"generate","endpoint":"https://setget.net/v1/tools/sitemap-generate","examples":[{"input":{"lastmod":"2026-03-14","urls":["https://example.com/","https://example.com/search?q=a&page=2"]},"output":{"duplicates_removed":0,"text":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n  <url>\n    <loc>https://example.com/</loc>\n    <lastmod>2026-03-14</lastmod>\n  </url>\n  <url>\n    <loc>https://example.com/search?q=a&amp;page=2</loc>\n    <lastmod>2026-03-14</lastmod>\n  </url>\n</urlset>\n","urls":2}},{"input":{"urls":[{"changefreq":"daily","loc":"https://example.com/","priority":1.0},{"lastmod":"2026-02-01","loc":"https://example.com/blog/"}]},"title":"Per-page details"}],"input_schema":{"additionalProperties":false,"properties":{"changefreq":{"description":"How often pages change, for pages that do not give their own.","enum":["always","hourly","daily","weekly","monthly","yearly","never"],"type":"string"},"lastmod":{"description":"Last-modified date (2026-03-14) for pages that do not give their own.","maxLength":35,"type":"string"},"priority":{"description":"Priority from 0.0 to 1.0, for pages that do not give their own.","maximum":1,"minimum":0,"type":"number"},"urls":{"description":"The pages: a list of full addresses, or of objects {\"loc\": ..., \"lastmod\": ..., \"changefreq\": ..., \"priority\": ...}. Plain text with one address per line also works.","examples":[["https://example.com/","https://example.com/about"]]}},"required":["urls"],"type":"object"},"keywords":["sitemap generator","xml sitemap","sitemap.xml","create sitemap","seo sitemap","url list to sitemap"],"related":["robots-txt-generate","htaccess-redirects"],"slug":"sitemap-generate","summary":"Build a valid XML sitemap from a list of page addresses, with optional last-modified date, frequency and priority.","tier":"inline","title":"XML sitemap generator","url":"https://setget.net/tools/sitemap-generate"}
