Download for macOS
Skill

structured-extraction

@firecrawl Updated 2026-04-19

Extract structured data matching a JSON schema from websites. Handles complex nested schemas, arrays, pagination, and validation. Always outputs via formatOutput.

Install

git clone https://github.com/firecrawl/web-agent /tmp/web-agent && ln -s /tmp/web-agent/agent-core/src/skills/definitions/structured-extraction ~/.claude/skills/structured-extraction

From README

Structured Extraction Use this skill when extracting data that must match a specific JSON schema. Strategy by task type Simple query (single fact or small object) Search for relevant results. Scrape promising results with a targeted query. Build the result object and call formatOutput immediately. Single target research (one entity, multiple fields) Search for relevant URLs. Scrape to extract data — stay in the orchestrator unless you have many independent sources (roughly 5+) where parallel workers clearly help. Compile findings and call formatOutput. List of items (array in schema) Search/scrape to get the list of items. Are all requested details included in the list? Yes: Build the result and call formatOutput. No: If there are many items (roughly 5+), use spawnAgents so each worker gets the item and fields; otherwise fetch details sequentially in the orchestrator. Aggregate all results and call formatOutput.