Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.scrapegraphai.com/llms.txt

Use this file to discover all available pages before exploring further.

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"
)