Skip to main content

Java

Get started with Firecrawl in Java. Search, scrape, 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#

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:

Next steps#