Skip to main content
Removed in API v2 — no direct replacement. For multi-page URL discovery, use Crawl with extraction_mode="links", or fetch a sitemap.xml directly via Scrape. This page is kept for reference.
Sitemap Service

Overview

Sitemap is our service that extracts all URLs from a website’s sitemap.xml file automatically. The API discovers the sitemap from robots.txt, common locations like /sitemap.xml, or sitemap index files—perfect for discovering pages for bulk scraping, content inventory, or combining with other endpoints.
Try Sitemap instantly in our interactive playground - no coding required!

Getting Started

Quick Start

Parameters

Get your API key from the dashboard
The response includes:
  • request_id: Unique identifier for tracking your request
  • status: Current status of the extraction
  • website_url: The website that was processed
  • urls: Array of all URLs found in the sitemap
  • error: Error message (if any)

Key Features

Automatic Discovery

Finds sitemap from robots.txt or common locations

Sitemap Index Support

Handles sitemap index files with multiple sitemaps

Fast Extraction

Retrieves all URLs without scraping each page

Integration Ready

Combine with SmartScraper for bulk operations

Use Cases

  • Discover all pages on a website for bulk scraping
  • Build content inventory from a website
  • Monitor website structure changes
  • Combine with SmartScraper to scrape multiple pages
  • Create site maps for SEO analysis

API Reference

For full request/response details and async status polling, see the Sitemap API reference.