Skip to main content

Python

Get started with Firecrawl in Python. Scrape, search, and interact with web data using the official SDK.
1 min read

Prerequisites#

Install the SDK#

Search the web#

Scrape a page#

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 passing api_key directly, set the FIRECRAWL_API_KEY environment variable:

Next steps#