Fetch Sitemap
metalift_sitemapNeed a site's published URLs? Fetches XML sitemaps from robots.txt or /sitemap.xml, follows indexes, and returns page URLs with optional metadata.
Instructions
Fetch XML sitemap URLs for a site. Discovers sitemap locations from robots.txt (Sitemap: directives) or /sitemap.xml, follows sitemap indexes, and returns page URLs with optional lastmod/changefreq/priority. Costs 1 credit. Prefer this over metalift_map when you need the site's published URL list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Site homepage or direct sitemap.xml URL | |
| limit | No | ||
| search | No | Optional substring filter; matching URLs sort first | |
| same_origin | No | Only return URLs on the same origin (default true) |