Skip to main content

Rust

Get started with Firecrawl in Rust. Search, scrape, and interact with web data using the official SDK.
1 min read

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#

Example response

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#