Skip to main content

Prerequisites

  • Elixir 1.14+ and OTP 25+
  • A Firecrawl API key — get one free

Install the SDK

Add firecrawl to your mix.exs:
Configure your API key in config/config.exs:

Search the web

Scrape a page

Interact with a page

Scrape a page, then keep working with it using the browser session API.

Environment variable

Set FIRECRAWL_API_KEY instead of hardcoding:

Next steps

Scrape docs

All scrape options including formats, actions, and proxies

Search docs

Search the web and get full page content

Interact docs

Click, fill forms, and extract dynamic content

Elixir SDK reference

Full SDK reference with crawl, map, batch scrape, and more