In short.
This Firecrawl guide helps developers turn one web page into structured JSON, but its schema examples do not establish that extracted facts will be accurate or complete. It explains v2 request formatting, schema-based and prompt-only extraction, and an optional prompt-injection check. HTML attributes are unavailable to the extractor, incomplete security scans can allow processing to continue, and ordinary request prices and measured performance are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete supplied documentation page at [https://docs.firecrawl.dev/features/llm-extract.md], including examples, v2 migration notes, prompt-injection behavior, credit charges, HTML-attribute restrictions and schema guidance. Linked pages, the documentation index, onboarding instructions, SDK packages, pricing pages and service terms are excluded. Runtime behavior, extraction accuracy, performance and security effectiveness were not assessed.
The overview
identity
JSON mode - Structured result is Firecrawl documentation for extracting structured data through its scrape endpoint. The original page is [https://docs.firecrawl.dev/features/llm-extract.md].
The guide focuses on one supplied URL. It documents JSON extraction in API v2, where the schema belongs inside a JSON format object in the formats array.
assessment
The guide is useful when a developer already knows the target page and wants named fields or a list of records from its visible content. It provides enough detail to understand request construction, illustrated responses, and several extraction pitfalls.
Its examples demonstrate intended usage. They do not establish extraction accuracy, completeness, repeatability, processing speed, or the effectiveness of prompt-injection detection.
users
The intended readers are developers building applications that need web content as structured records. The page includes company-information extraction and schema examples for products and people, and discusses lists such as reviews.
Beginners get examples in Python, JavaScript and cURL. Familiarity with API requests and JSON will help; developers needing strict output contracts also need to understand field types, arrays, required properties and missing values.
capabilities
JSON mode accepts a schema describing the desired fields, a prompt without a schema, or a schema with a guiding prompt. Without a schema, the model chooses the output structure. Arrays with an items definition represent repeated records.
The page also documents a top-level checkPromptInjection option. It applies before LLM-backed formats and works with formats other than rawBase64. The page states that the option is also available for batch scraping and through scrapeOptions for crawl, search and monitors.
Using it
requirements
Requests need a target URL and access to the Firecrawl API. Python examples use the firecrawl package and Pydantic for schemas; JavaScript examples use firecrawl and Zod. The cURL examples show direct HTTP requests without a language SDK.
The page says an API key is unnecessary to get started and can be added for higher rate limits. It does not specify anonymous limits, minimum runtime versions, SDK versions, installation commands, or the underlying extraction model.
mechanism
Firecrawl converts the page to Markdown and uses an LLM to extract fields from that representation. The documentation says HTML attributes are stripped during conversion, so values stored only in attributes are unavailable to JSON extraction.
When enabled, a separate classifier inspects page content once per scrape before LLM-backed formats run, adding latency. Detection blocks the request with HTTP 403 and SCRAPE_PROMPT_INJECTION_DETECTED, returning no output. If scanning cannot cover all content, processing continues with a warning.
setup
Choose one URL and define either a JSON Schema or a focused extraction prompt. Send a POST request to [https://api.firecrawl.dev/v2/scrape] with the URL and a formats array containing an object whose type is json. Put schema and prompt inside that object as needed.
For v2, do not use the removed jsonOptions parameter. Place checkPromptInjection at the top level when enabling detection; placement inside the JSON format object is deprecated but remains honored. The SDK option names are checkPromptInjection in JavaScript and check_prompt_injection in Python.
example
The company-information example requests company_mission as text and supports_sso, is_open_source and is_in_yc as booleans. It shows equivalent schemas through Pydantic, Zod and a manually written JSON Schema. The cURL schema marks all four properties as required.
The illustrated API response places extracted fields under data.json, with metadata in some examples. These are documentation examples, not independently verified company facts or execution results. None of the snippets was run.
Assessment & evidence
limitations
The documented JSON-mode workflow targets one URL. HTML attributes are inaccessible through its Markdown input. The page suggests rawHtml with client-side parsing, or an executeJavascript action that makes attribute values visible, when those values are needed.
The page warns that large schemas, particularly around 30 or more fields, produce less consistent results. Array minItems and maxItems do not control collection coverage; imposing a minimum may encourage invented entries. Extraction and schema-validation issues typically surface as HTTP 400 or 422.
Prompt-injection scanning can be incomplete if the classifier fails or content exceeds 2,000,000 characters. The scrape then continues with a warning. Detection accuracy and protection against missed attacks are not established.
reasoning
A schema describes the requested output structure; it does not establish that each value is supported by the page. The guide recommends short prompts, concise field names, enums for constrained values, location hints and explicit instructions to return null for missing information.
Review the examples before copying them. In the installation_type sample, the type permits null but the enum lists only strings; null would also need to be included in the enum to be an allowed value. The suggestion to split large schemas into requests of 10–15 fields is documentation guidance, with no measured accuracy improvement supplied.
alternatives
Within Firecrawl, the page directs multiple URLs, URL patterns and agentic discovery to Agent. It supplies no comparative results or Agent implementation details here.
For one page, prompt-only extraction avoids defining a schema but leaves structure to the model. For attribute values, the documented alternatives are rawHtml with parsing or executeJavascript before extraction. No comparison with other providers or extraction libraries is supplied.
evidence
The evidence is the complete Firecrawl documentation page at [https://docs.firecrawl.dev/features/llm-extract.md], captured as selected-page.txt. It contains publisher-authored explanations, request snippets, illustrative outputs, migration notices and operational caveats.
No independent benchmarks, live API responses, billing receipts or security evaluations are supplied. The linked documentation index, endpoint reference, error reference, Agent guide and onboarding skill do not provide additional evidence within this page.
Access & freshness
costs
The documented prompt-injection check adds 4 credits when it runs. If a scrape fails after the check has run, including when an injection is detected, the page says 5 credits are charged instead of the usual zero credits for a failed scrape. A check that cannot scan all content is not billed.
Base extraction charges, credit prices, subscription requirements and ordinary successful-request totals are not provided. Starting without an API key does not establish that usage is unlimited or free. Splitting a large schema into several requests also leaves the total cost unknown.
rights
The page does not state a licence for the documentation or code samples, redistribution permissions, API terms, or rights to content obtained from target websites. Those rights remain unknown from this evidence.
The sample is_open_source field describes an extracted company attribute. It does not establish licensing rights for the API, examples, documentation, or scraped content. Data retention and privacy terms are also unspecified here.
freshness
The supplied page was captured on 23 November 2026 at 04:36:47.336 UTC. Its source revision is sha256:9a5a80b07fe645f3aa631ea647e2818c716898c0cdb3f76a531423d6b3a26afc. Capture time does not establish when the documentation was published or updated.
The text explicitly documents API v2 and distinguishes it from v1 parameter usage. It provides no dated release history or SDK version pins, so compatibility with particular installed SDK versions and subsequent API changes is unknown.
actions
Use the guide when the target URL is known and the needed information appears in visible page content. Define missing-value behavior explicitly, use arrays for repeated records, and compare extracted values with representative source pages before relying on them.
Before adoption, confirm base pricing, applicable rate limits and SDK compatibility. Handle extraction errors, blocked requests and incomplete-scan warnings explicitly. If fields depend on HTML attributes or the task requires discovery across URLs, examine the corresponding alternatives described on the page.
