Skip to main content
This guide provides a quick overview for getting started with ScrapeGraph tools. For detailed documentation of all ScrapeGraph features and configurations head to the API reference. For more information about ScrapeGraph AI:

Overview

Integration details

Tool features

Setup

The integration requires the following packages:

Credentials

You’ll need a ScrapeGraph AI API key to use these tools. Get one at scrapegraphai.com.
It’s also helpful (but not needed) to set up LangSmith for best-in-class observability:

Instantiation

Here we show how to instantiate instances of the ScrapeGraph tools:

Invocation

Invoke directly with args

Let’s try each tool individually:

SmartCrawler Tool

The SmartCrawlerTool allows you to crawl multiple pages from a website and extract structured data with advanced crawling options like depth control, page limits, and domain restrictions.

Invoke with ToolCall

We can also invoke the tool with a model-generated ToolCall:

Chaining

Let’s use our tools with an LLM to analyze a website:

API reference

For detailed documentation of all ScrapeGraph features and configurations head to the LangChain API reference. Or to the official SDK repo.