Skip to main content

Prerequisites

  • Rust 1.70+ with Cargo
  • A Firecrawl API key — get one free

Install the crate

Add firecrawl to your Cargo.toml:

Search the web

Scrape a page

Interact with a page

Scrape a page to get a scrapeId, then use the interact API to control the browser session:

Environment variable

Set FIRECRAWL_API_KEY instead of passing the key directly:

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, batch scrape, and more