langchain-firecrawl
This package contains the LangChain integration with Firecrawl, an API that turns websites into clean, LLM-ready data. It lets you scrape, crawl, map, extract structured data from, and search the web — as a document loader or as agent tools.
Quick Install
pip install langchain-firecrawl
Get an API key from firecrawl.dev and set it as the
FIRECRAWL_API_KEY environment variable (or pass api_key=...).
export FIRECRAWL_API_KEY="fc-your-api-key"
Document loader
FirecrawlLoader loads web content as LangChain Documents. Pick a mode:
scrape (one page), crawl (a whole site), map (discover URLs), extract
(structured data), or search (web search).
from langchain_firecrawl import FirecrawlLoader
loader = FirecrawlLoader(url="https://www.firecrawl.dev", mode="scrape")
docs = loader.load()
print(docs[0].page_content[:200])
print(docs[0].metadata)
Tools
Each Firecrawl capability is also available as a BaseTool you can bind to an
agent:
from langchain_firecrawl import (
FirecrawlScrape,
FirecrawlCrawl,
FirecrawlMap,
FirecrawlExtract,
FirecrawlSearch,
)
scrape = FirecrawlScrape()
result = scrape.invoke({"url": "https://www.firecrawl.dev"})
print(result["markdown"])
search = FirecrawlSearch()
print(search.invoke({"query": "best web scraping libraries", "limit": 5}))
Documentation
- LangChain provider docs: docs.langchain.com
- Firecrawl docs: docs.firecrawl.dev
- Firecrawl homepage: firecrawl.dev
Metadata
Release files for langchain-firecrawl 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| langchain_firecrawl-0.1.0.tar.gz | 192.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_firecrawl-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 204.1 kB
Release files / langchain_firecrawl-0.1.0.tar.gz
| Download URL | langchain_firecrawl-0.1.0.tar.gz |
|---|---|
| Size | 192.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f25fba0fab0603045a37ef191dc584366df0ae2373a766848522b96002ad1019
|
|
BLAKE2b-256 checksum How to use checksums |
3b9d933a344bbf6bf6e6df8e822413029f1ff665e531e3c92da9a8862154daa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.19
|
Release files / langchain_firecrawl-0.1.0-py3-none-any.whl
| Download URL | langchain_firecrawl-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
457e27fa183ee91c224ee17d6d87d94893a7b5ade1dcec4b7be03712fb2825db
|
|
BLAKE2b-256 checksum How to use checksums |
3ef0687a9a1ec74e33e63cf9d14bbfccc73a0771a25c949572783126a97e1ed2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.19
|
Security for langchain-firecrawl 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.