In short.
Firecrawl's Java SDK documentation is an integration guide for Java developers collecting web data, but its examples require an API key and leave service costs unspecified. It documents Java 11 or later, Maven and Gradle installation, web search and retrieval, prompt-and-schema JSON extraction, file parsing, AI agents and browser sessions. Experienced developers also get asynchronous methods, custom HTTP client configuration and exception handling. Nothing was executed, so installation success, output quality and runtime performance remain unverified.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete supplied page at [https://docs.firecrawl.dev/sdks/java.md], including installation, retrieval and extraction examples, file parsing, agents, usage metrics, asynchronous calls, browser helpers, configuration and error handling. The documentation-index link, automated-onboarding link and Mintlify notice are accounted for as notices only. All linked pages, repository files and package artifacts are excluded. Nothing was executed; installation, endpoint behavior, output quality, performance, billing and browser cleanup remain unverified.
The overview
Identity
The resource is the Java SDK reference at [https://docs.firecrawl.dev/sdks/java.md]. It describes Firecrawl's official Java wrapper for an API that searches, scrapes and crawls web content, returning Markdown or structured data.
The page links the SDK's location in the Firecrawl monorepo at [https://github.com/firecrawl/firecrawl/tree/main/apps/java-sdk]. Its installation examples use the Maven Central dependency com.firecrawl:firecrawl-java:1.18.7; the repository and package contents are not included in the available evidence.
Assessment
The guide offers a practical starting point for connecting a Java application to Firecrawl. It goes beyond a minimal scrape example by covering crawl lifecycle management, extraction schemas, browser interactions, configuration and common exception types.
Its usefulness is strongest for understanding the documented integration surface. It does not establish extraction accuracy, successful compilation, production reliability or operating cost.
Users
Java developers building applications that collect website content are the clearest audience. Developers adding AI-assisted extraction can also use the prompt-and-schema examples to see how the SDK requests structured results.
Beginners get dependency declarations and short examples, but still need to understand Java, environment variables and API calls. Experienced developers get details about CompletableFuture, executors, OkHttp customization, retry settings and background job management.
Capabilities
The documented methods cover single-page scraping, multi-page crawling, website link discovery through map, web search and parallel batch scraping. Scrape examples request Markdown and HTML, read metadata, restrict output to main content and configure a wait before scraping.
For structured results, JsonFormat combines an extraction prompt with a JSON schema. The agent method accepts a task prompt and can also accept URLs and a schema. Direct file uploads use parse with the /v2/parse endpoint.
Browser helpers create, list and close sessions, expose CDP and live-view URLs, and execute browser code. The interact method supports follow-up code in a scrape-bound replayed browser context, with stopInteraction provided to end that session.
Using it
Requirements
The page requires Java 11 or later. Its documented installation routes use Maven Central through Maven or Gradle. Running the examples requires a Firecrawl API key, obtained through [https://firecrawl.dev].
The key can be supplied through FIRECRAWL_API_KEY or FirecrawlClient.builder().apiKey(...); the configuration table also lists the firecrawl.apiKey system property. Because the SDK wraps a remote API, the documented integration requires network access to that service.
Mechanism
FirecrawlClient sends requests to a configurable API base URL, defaulting to [https://api.firecrawl.dev]. Methods return Java objects such as Document and CrawlJob. The synchronous crawl method waits for completion, while startCrawl returns a job ID for subsequent status checks or cancellation.
Asynchronous variants return CompletableFuture and use ForkJoinPool.commonPool() by default, with a custom executor option. Configuration defaults include a 300,000 ms HTTP timeout, three retries for transient failures and a 0.5-second exponential backoff factor. Supplying a custom OkHttpClient overrides the timeoutMs setting with that client's configuration.
Setup
Add com.firecrawl:firecrawl-java:1.18.7 using the page's Maven or Gradle declaration, make the API key available, and create a client with FirecrawlClient.fromEnv() or the builder. The quick-start example requests Markdown from one URL, then runs a crawl with limit(5), waits for it to complete, and prints the number of crawled pages.
The builder supports a custom API URL, timeout, retry settings, executor and HTTP client. The error-handling example catches AuthenticationException, RateLimitException, JobTimeoutException and the broader FirecrawlException. These are documented setup steps; successful installation and compilation were not verified.
Example
For a Java application gathering website pages, the crawl example sets limit(50), maxDiscoveryDepth(3) and Markdown output. It reads job status and completed/total counts, then iterates over returned documents to print each sourceURL from metadata.
A separate product extraction example asks for a product name and price, declaring name as a string and price as a number in a JSON schema, then reads doc.getJson(). This illustrates how to request a result shape; it does not demonstrate accurate extraction or guaranteed schema compliance. No example was run.
Assessment & evidence
Limitations
File parsing has explicit feature restrictions: parse does not support changeTracking or browser-only options including screenshot, branding, actions, waitFor, location and mobile. The upload example uses HTML; a complete supported file-type list is not supplied.
The page includes authentication, rate-limit and job-timeout exceptions, but does not establish recovery guarantees or workload-specific limits. Browser execution examples pass JavaScript with the runtime value node, so those examples require understanding browser scripting as well as Java.
Extraction accuracy, latency, throughput, AI model identity, data retention and self-hosting support are not established by this page.
Reasoning
The documented fit is strongest when a Java application needs several Firecrawl operations through one client. Retrieval, crawl jobs, extraction, usage queries and browser sessions share the same client interface, which could reduce the amount of direct API integration code.
That is an inference from the documented API surface, not a measured productivity benefit. The guide supports planning an integration, while unknown pricing, result quality and workload limits prevent a firm conclusion about operational fit.
Alternatives
Calling the Firecrawl API directly is a possible alternative integration route, inferred from the page's description of the SDK as an API wrapper. The page does not document that route or compare its maintenance effort with using the Java client.
No competing Java libraries or services are assessed. Within the documented SDK, scrape suits a single URL, map discovers links, batchScrape handles a supplied URL list, and crawl discovers and retrieves multiple pages. Choosing among those operations may avoid using a broader operation than the task requires.
Evidence
The evidence consists of the complete Java documentation page at [https://docs.firecrawl.dev/sdks/java.md], as captured on 2026-11-14. Its examples and configuration table support the documented capabilities and requirements; they are not observed execution results.
Repository code, Maven artifacts, linked documentation and independent benchmarks are outside the supplied evidence. The page also contains links to a documentation index and automated API-key onboarding instructions, plus a Mintlify hosting notice; none establishes additional SDK behavior.
Access & freshness
Costs
Service costs are unknown from this page. It provides no subscription prices, free allowances, per-operation credit charges or browser-session rates.
The SDK exposes getCreditUsage() for remaining credits and getConcurrency() for current and maximum concurrency. These methods can help an application observe account usage, but they do not establish the cost or permitted concurrency of a particular workload.
Rights
The page identifies the SDK as official and links its repository, but supplies no SDK license text, documentation reuse license or service terms. Rights to modify or redistribute the SDK or documentation are therefore not established here.
The page also does not establish permission to collect or reuse content from any target website. Availability through a scraping API does not provide evidence of those permissions.
Freshness
The page was captured at 2026-11-14T21:21:59.212Z.
Installation examples specify SDK version 1.18.7. Although the text describes parts of the API as current or latest, it supplies no publication date or release history establishing when those claims were updated. Whether 1.18.7 remains the latest available package is unknown.
Actions
Before adopting the integration, confirm the package version and applicable license, then obtain service pricing and account limits for the intended operations. Start with one representative page and assess whether the returned Markdown or JSON contains the information the application needs.
For application integration, handle the documented authentication, rate-limit and timeout exceptions. If browser helpers are needed, plan to close standalone sessions with deleteBrowser and scrape-bound sessions with stopInteraction. Assess parsing restrictions and custom HTTP timeout behavior against the intended workload. These actions remain unperformed.
