Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.
Knowledge infrastructure to make your agents smarter.
Firecrawl connects your agents to the web, and to Alexandria, our library of everything else. On the web, your agent can search, read any page and act on it. In Alexandria, it calls data providers for company filings, court records, research papers and more, and gets the answer from the source. It's one key, and it works in the tools your agents already use.
You can use Firecrawl three ways. This repo holds the code for Firecrawl Local and the self-hosted server, along with SDKs that work with all three.
apps/api on your own infrastructure.Try it now, with no signup or API key:
npx -y firecrawl-cli@latest scrape https://firecrawl.dev
Pst. Hey, you, join our stargazers :)
Firecrawl Cloud runs everything Firecrawl Local does at scale, with no browser or machine of your own to look after. It also adds search, Alexandria, Interact and Agent, all through a single API.
Firecrawl Keyless gives you 1,000 free credits a month with no API key or signup across MCP, the CLI and the API. For an API key, sign up at firecrawl.dev and try it in the playground.
Search the web and get full content from results.
from firecrawl import Firecrawl
app = Firecrawl(api_key="fc-YOUR_API_KEY")
search_result = app.search("firecrawl", limit=5)
Node.js
import { Firecrawl } from 'firecrawl';
const app = new Firecrawl({apiKey: "fc-YOUR_API_KEY"});
app.search("firecrawl", { limit: 5 })
cURL
curl -X POST 'https://api.firecrawl.dev/v2/search' \
-H 'Authorization: Bearer fc-YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"query": "firecrawl",
"limit": 5
}'
CLI
firecrawl search "firecrawl" --limit 5
[
{
"url": "https://firecrawl.dev",
"title": "Firecrawl",
"markdown": "Turn websites into..."
},
{
"url": "https://docs.firecrawl.dev",
"title": "Firecrawl Docs",
"markdown": "# Getting Started..."
}
]
Get clean Markdown, structured JSON, screenshots and more from any page.
from firecrawl import Firecrawl
app = Firecrawl(api_key="fc-YOUR_API_KEY")
result = app.scrape('firecrawl.dev')
Node.js
import { Firecrawl } from 'firecrawl';
const app = new Firecrawl({ apiKey: "fc-YOUR_API_KEY" });
app.scrape('firecrawl.dev')
cURL
curl -X POST 'https://api.firecrawl.dev/v2/scrape' \
-H 'Authorization: Bearer fc-YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"url": "firecrawl.dev"
}'
CLI
firecrawl scrape https://firecrawl.dev
firecrawl https://firecrawl.dev --only-main-content
# Firecrawl
Firecrawl helps AI agents search, scrape, and interact with the web.
## Features
- Search: Find information across the web
- Scrape: Clean data from any page
- Interact: Click, navigate, and operate pages
- Agent: Autonomous data gathering
Scrape a page, then interact with it using AI prompts or code.
from firecrawl import Firecrawl
app = Firecrawl(api_key="fc-YOUR_API_KEY")
result = app.scrape("https://amazon.com")
scrape_id = result.metadata.scrape_id
ap
Token Issue
https://github.com/firecrawl/firecrawl/issues/6219
Labels: 없음
[Self-Host]
https://github.com/firecrawl/firecrawl/issues/6217
Labels: self-host
[Feat] ameirshafyq1234@giml.com
https://github.com/firecrawl/firecrawl/issues/6211
Labels: 없음
[Bug]
https://github.com/firecrawl/firecrawl/issues/6210
Labels: bug
Thanks for helping make Firecrawl better. Keep each change focused, prove the behavior you changed, and make the pull request easy to review.
| If you want to | Start here |
|---|---|
| Change the API, workers, or tests | Run Firecrawl locally for development |
| Run Firecrawl on your own infrastructure without changing product code | Self-hosting Firecrawl |
| Change an SDK | The matching directory under apps/ and its package scripts |
| Improve the public documentation | The firecrawl-docs repository |
Local development and self-hosting are different paths. Development uses the API harness and apps/api/.env; the Docker Compose deployment uses the root configuration. Do not copy one environment file into the other.
The public Running Locally guide is the canonical first-success path. It covers Node.js 22, pnpm 11.4.0, Redis, the harness-managed PostgreSQL and RabbitMQ containers, and a verified local scrape.
The source-owned commands live in apps/api/package.json. From apps/api:
pnpm install
pnpm start
pnpm start builds Firecrawl and launches the API, workers, and local dependency containers. Keep Redis running separately as described in the public guide.
For API changes, prefer end-to-end snippet coverage when the behavior crosses routes, workers, queues, or scraping engines.
From apps/api, run the snippet suites with their dependencies:
pnpm harness pnpm test:snips
For a narrower test, pass the relevant Vitest path through the same harness:
pnpm harness pnpm exec vitest run path/to/test.ts
The harness starts the API, workers, PostgreSQL, and RabbitMQ for the command, then cleans up the processes and containers it started.
Unit tests that need no credentials and no running services form the core suite. From apps/api:
pnpm test:core
The suite runs every src/**/*.test.ts file that vitest.core.config.ts does not exclude, so a new unit test joins it without being registered. CI runs it on every pull request.
Do not bypass failing checks. Fix failures caused by your change and call out unrelated repository failures with enough detail for a reviewer to reproduce them.
Include:
Keep credentials, local environment files, raw user data, and generated secrets out of commits and pull requests.
Use GitHub issues for reproducible bugs and feature discussions. For community help, join the Firecrawl Discord.