{"uid":"cap_6vN3IhSoa4wVJasF0Gpeu","slug":"sitemap-url-extractor-b5bc6bc6","name":"Sitemap URL Extractor","description":"Give this API a link to any website's sitemap.xml file and it will fetch and parse it, returning every URL found inside. If the sitemap links to other sitemaps (called sitemap indexes), it will follow and extract those too. Each URL is returned with any extra information available, such as when the page was last updated and how often it changes. Useful for SEO audits, content inventories, broken link checks, and competitive research.","url":"https://sitemap-url-extractor.underscoredone.com/extract","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sitemap_url":{"type":"string","description":"The full web address of the sitemap.xml file you want to read, for example: https://example.com/sitemap.xml"}}},"responseSchema":{"type":"json","example":{"urls":[{"url":"https://onescales.com/pages/contact","lastmod":"2022-12-27T03:01:05-05:00","priority":null,"changefreq":"weekly"},{"url":"https://onescales.com/pages/about","lastmod":"2025-09-29T21:38:56-04:00","priority":null,"changefreq":"weekly"},{"url":"https://onescales.com/pages/join-our-community","lastmod":"2023-11-29T18:49:48-05:00","priority":null,"changefreq":"weekly"},{"url":"https://onescales.com/pages/podcast","lastmod":"2024-01-01T23:12:34-05:00","priority":null,"changefreq":"weekly"},{"url":"https://onescales.com/pages/support-us","lastmod":"2024-10-07T21:21:59-04:00","priority":null,"changefreq":"weekly"},{"url":"https://onescales.com/pages/shopify-growth-course","lastmod":"2025-05-06T21:28:16-04:00","priority":null,"changefreq":"weekly"}],"total_urls":6,"api_version":"1.0.0","sitemaps_found":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3EukItwuB5N1HLm7OLvNn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and parses a sitemap.xml URL, returning all contained page URLs along with metadata like last-modified dates and change frequency, following sitemap index links recursively.","exampleAgentPrompt":"Can you fetch the sitemap at https://example.com/sitemap.xml and give me a full list of every URL it contains, including when each page was last updated?","exampleUseCases":[{"title":"Competitive website page discovery","prompt":"Pull all the URLs from our competitor's sitemap at https://competitor.com/sitemap.xml so we can see what pages they have and compare their site structure to ours."},{"title":"Identify stale or outdated content","prompt":"Grab the sitemap from https://oursite.com/sitemap.xml and show me which pages haven't been updated in the last six months—I want to know what content needs refreshing."},{"title":"Audit broken links across site","prompt":"Can you extract every single URL from https://mysite.com/sitemap.xml including any nested sitemaps, and give me the full list so I can run a broken link checker against the whole site?"}],"resultDescription":"A structured list of all page URLs found in the sitemap, including optional metadata per URL such as last-modified date and change frequency. If the sitemap is an index pointing to child sitemaps, those are followed and their URLs included as well.","failureModes":["Invalid or malformed sitemap URL provided — returns error indicating bad input","Target sitemap.xml is unreachable or returns non-200 HTTP status — returns fetch error","Sitemap file is malformed XML — returns parsing error","Sitemap index chains are too deep or circular — may time out or return partial results","Rate limiting or blocking by target server — fetch fails with access denied"],"whenToPreferThis":"Use this endpoint when you need to enumerate all URLs from a website's sitemap.xml, especially when the sitemap may be an index pointing to multiple child sitemaps. Ideal for SEO audits, content inventories, broken link detection, and competitive page discovery when a sitemap URL is known. Prefer this over manual web crawling when a sitemap is available, as it is faster and more structured.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:39:41.367Z","isFirstParty":false}