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.
You will need to get your own API key. See https://firecrawl.dev
Scrape: Scrape single url and return the markdown. Crawl: Crawl the url and all accessible sub pages and return the markdown for each one.
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.
To use it in Langchain JS, you can install it via npm:
Then, you can use it like this:
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.
You will need to get your own API key. See https://firecrawl.dev
Scrape: Scrape single url and return the markdown. Crawl: Crawl the url and all accessible sub pages and return the markdown for each one.
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.
To use it in Langchain JS, you can install it via npm:
Then, you can use it like this: