Prerequisites#
- Java 11+
- A Firecrawl API key — get one free
Install the SDK#
Search the web#
Scrape a page#
Example response
Interact with a page#
Open a browser session, run Playwright code against it, and close it when done:
Environment variable#
Instead of passing apiKey directly, set the FIRECRAWL_API_KEY environment variable:

