Skip to main content
You are viewing the v1 (legacy) documentation. The Sitemap endpoint has been removed in v2. Use crawl.start() with URL patterns instead. See the v2 documentation.

Overview

The Sitemap service extracts and parses sitemap data from any website.

Usage

from scrapegraph_py import Client

client = Client(api_key="your-api-key")

response = client.sitemap(
    website_url="https://example.com"
)