# DeepSeek R1 + Firecrawl /extract Workflow

> A pattern pairing reasoning models with Firecrawl for structured web scraping

This workflow combines a reasoning model like DeepSeek R1 with Firecrawl's /extract endpoint to gather structured web data. R1 evaluates search results to select the most relevant target URLs, Firecrawl extracts content from them, and R1 reconciles and deduplicates the final output into clean JSON.

## How it works

Steps: (1) search Google for the company; (2) ask R1 to select URLs matching the objective; (3) run Firecrawl /extract on selected URLs with company, objective and api key; (4) if success, deduplicate and consolidate with R1 and print JSON; else report failure. Demo: 'get all of the founder' for Firecrawl returned all four founders with roles.

## What it is for

- Scrape executive and founder details across company websites
- Extract structured entity data from multiple unstandardized search results
- Filter candidate URLs automatically before running extraction APIs

## Key points

- Search web for target company or topic
- Prompt a reasoning model (DeepSeek R1) to evaluate and select the best URLs
- Call Firecrawl /extract on selected pages using a defined objective
- Consolidate and deduplicate extracted content with R1 into structured JSON
- Handle extraction errors with a fallback failure report

## Pricing

Free

## Details

- Type: Tip
- Category: [Development](https://xiry.app/topics/development.md)
- Topic: [Web Scraping](https://xiry.app/topics/development/web-scraping.md)
- Open source: no
- Platforms: API
- For: Developers building AI-powered web scrapers and data enrichment pipelines
- Tags: firecrawl, deepseek, scraping, llm, extraction, automation

## Why it was saved

- [@ericciarla, 23 January 2025](https://x.com/ericciarla/status/1882471683560558870): A concrete recipe for getting clean, consolidated structured data from a whole website with minimal code.

## Related

- [Firecrawl](https://xiry.app/resources/firecrawl-1984): Turn websites and documents into clean, LLM-ready markdown or structured data. (Website, Freemium)
- [Parse](https://xiry.app/resources/parse): Turn any website into a structured REST API using natural language (Web app, Freemium)
- [Apify](https://xiry.app/resources/apify): Cloud platform and marketplace for web scraping, automation, and AI data extraction. (Web app, Freemium)
- [ScrapeGraphAI](https://xiry.app/resources/scrapegraphai): Open-source Python library and API for prompt-based web scraping using LLMs (GitHub repo, Freemium)
- [Chat4Data](https://xiry.app/resources/chat4data): AI Chrome extension for scraping web data using natural language chat prompts. (Browser extension, Freemium)
- [Cloud Scraping Browsers Comparison](https://xiry.app/resources/cloud-scraping-browsers-comparison): Feature and cost breakdown across cloud browser sandbox providers for scraping (Framework, Free)

Updated 11 October 2026. Page: https://xiry.app/resources/deepseek-r1-firecrawl-extract-workflow

Make your own library: Xiry takes your saved reels, tweets, Reddit bookmarks and Watch Later videos, makes them searchable and pulls the useful stuff out, like this library. It's invite-only for now; join the waitlist at https://xiry.app/#waitlist.
