Integrations
Langchain
Firecrawl integrates with Langchain as a document loader.
Note: this integration is still using v0 version of the Firecrawl API. You can install the 0.0.20 version for the Python SDK or the 0.0.36 for the Node SDK.
Installation
Usage
You will need to get your own API key. See https://firecrawl.dev
Modes
Scrape: Scrape single url and return the markdown. Crawl: Crawl the url and all accessible sub pages and return the markdown for each one.
Crawler Options
You can also pass params to the loader. This is a dictionary of options to pass to the crawler. See the FireCrawl API documentation for more information.
Langchain JS
To use it in Langchain JS, you can install it via npm:
Then, you can use it like this: