Prerequisites
- Python 3.8+
- A Firecrawl API key — get one free
Install the SDK
Search the web
Scrape a page
Example response
Example response
Interact with a page
Use Interact to control a live browser session — click buttons, fill forms, and extract dynamic content.Environment variable
Instead of passingapi_key directly, set the FIRECRAWL_API_KEY environment variable:
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
Python SDK reference
Full SDK reference with crawl, map, async, and more

