Prerequisites
- Rust 1.70+ with Cargo
- A Firecrawl API key — get one free
Install the crate
Addfirecrawl to your Cargo.toml:
Search the web
Scrape a page
Example response
Example response
Interact with a page
The interact API uses prompt-based commands over HTTP. Scrape a page to get ascrapeId, then send prompts to control the browser session:
Environment variable
SetFIRECRAWL_API_KEY instead of passing the key directly:
The
firecrawl crate also supports the v1 API via FirecrawlApp. See the Rust SDK docs for the full API surface.Next steps
Search docs
Search the web and get full page content
Scrape docs
All scrape options including formats, actions, and proxies
Interact docs
Click, fill forms, and extract dynamic content
Rust SDK reference
Full SDK reference with crawl, map, and more

