firecrawl_extract
Extract structured data from web pages using AI, such as product details, prices, and names, based on custom prompts and JSON schemas.
Instructions
Extract structured information from web pages using LLM capabilities. Supports both cloud AI and self-hosted LLM extraction.
Best for: Extracting specific structured data like prices, names, details from web pages. Not recommended for: When you need the full content of a page (use scrape); when you're not looking for specific structured data. Arguments:
urls: Array of URLs to extract information from
prompt: Custom prompt for the LLM extraction
systemPrompt: System prompt to guide the LLM
schema: JSON schema for structured data extraction
allowExternalLinks: Allow extraction from external links
enableWebSearch: Enable web search for additional context
includeSubdomains: Include subdomains in extraction Prompt Example: "Extract the product name, price, and description from these product pages." Usage Example:
Returns: Extracted structured data as defined by your schema.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
allowExternalLinks | No | Allow extraction from external links | |
enableWebSearch | No | Enable web search for additional context | |
includeSubdomains | No | Include subdomains in extraction | |
prompt | No | Prompt for the LLM extraction | |
schema | No | JSON schema for structured data extraction | |
systemPrompt | No | System prompt for LLM extraction | |
urls | Yes | List of URLs to extract information from |