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:Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Integration details
| Class | Package | Serializable | JS support | Version |
|---|---|---|---|---|
SmartScraperTool | langchain-scrapegraph | ✅ | ❌ | |
SmartCrawlerTool | langchain-scrapegraph | ✅ | ❌ | |
MarkdownifyTool | langchain-scrapegraph | ✅ | ❌ | |
AgenticScraperTool | langchain-scrapegraph | ✅ | ❌ | |
GetCreditsTool | langchain-scrapegraph | ✅ | ❌ |
Tool features
| Tool | Purpose | Input | Output |
|---|---|---|---|
SmartScraperTool | Extract structured data from websites | URL + prompt | JSON |
SmartCrawlerTool | Extract data from multiple pages with crawling | URL + prompt + crawl options | JSON |
MarkdownifyTool | Convert webpages to markdown | URL | Markdown text |
GetCreditsTool | Check API credits | None | Credit info |
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.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.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

