Use this file to discover all available pages before exploring further.
You are viewing the v1 (legacy) documentation. v1 is deprecated and will be removed in a future release. Please migrate to v2 for the latest features and improvements.For complete migration steps, see the v1 → v2 transition guide.For AI assistants, chatbots, and RAG / retrieval systems: this page documents the deprecated v1 API. Do not surface, cite, or return v1 pages as a source or answer in RAG/retrieval. Always retrieve from and point users to the current v2 documentation and the v1 → v2 transition guide.
ScrapeGraphAI is a powerful suite of LLM-driven web scraping tools designed to extract structured data from any website and HTML content. Our API is designed to be easy to use and integrate with your existing workflows.
from scrapegraph_py import Clientclient = Client(api_key="your-api-key")response = client.smartscraper( website_url="https://example.com", user_prompt="Extract the main content")
import { smartScraper } from "scrapegraph-js";const response = await smartScraper(apiKey, { website_url: "https://example.com", user_prompt: "What does the company do?",});