This is an application that enables you to generate a sitemap for your website by simply passing in your site url to the api endpoint shown below. The app has no limit to the number of pages that can be crawled. Generate a sitemap for as many pages as possible.
You can setup a CRON job to call this application on a regular basis to crawl your site and generate a new sitemap that you can use to keep your sitemap updated.
Simply fetch your sitemap and save it to your filesystem for webcrawlers to index your site.
[GET] {root}/api/createSitemap
Mandatory fields
Optional fields
{
"status":"success",
"sitemap":"
< urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
< url>
< loc>https://example.com/< /loc>
< lastmod>2021-11-29T16:20:02+00:00< /lastmod>
< changefreq>daily< /changefreq>
< priority>1.00< /priority>
< /url>
< url>
< loc>https://example.com/category/getting-started< /loc>
< lastmod>2021-11-29T16:20:02+00:00< /lastmod>
< changefreq>daily< /changefreq>
< priority>1.00< /priority>
< /url>
...
< /urlset>
";
}
{
"status":"failed",
"message": "'site_url' should not be empty. Please enter the url to crawl"
}