Skip to main content
Official package: langchain-firecrawl · sourceScrape, crawl, map, extract, and search from LangChain, as a document loader or as agent tools

Install

Get a key from firecrawl.dev and set it in your environment (or pass api_key=...):

Document loader

FirecrawlLoader returns LangChain Documents. Choose a mode:

Agent tools

Each capability is also a BaseTool you can bind to an agent:

LangChain JS

The FireCrawlLoader in @langchain/community still calls v1 SDK methods, so it fails with the current Firecrawl JS SDK. Until it’s updated, call the Firecrawl Node SDK directly and wrap the results in LangChain Documents:

Resources