firecrawl-build-scrape

Extract markdown, HTML, links, screenshots, and metadata from single web pages.

200k|10.5k|Updated Apr 15, 2024
Ready to run
npx skills add https://github.com/firecrawl/firecrawl --skill firecrawl-build-scrape-firecrawl
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: firecrawl-build-scrape
Source: https://github.com/firecrawl/firecrawl/tree/main/skills/firecrawl-build-scrape
Command: npx skills add https://github.com/firecrawl/firecrawl --skill firecrawl-build-scrape-firecrawl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? This Skill solves the problem of extracting clean, structured content from a known URL when you need page data for enrichment, retrieval, summarization, or monitoring. It eliminates manual page inspection and format conversion overhead. ## Core Features & Use Cases - Single-Page Extraction: Retrieve markdown, HTML, links, screenshots, and metadata from any URL in one call. - Caching Control: Manage freshness with maxAge to balance speed against staleness for cached content. - Metadata Inspection: Read cacheState, cachedAt, and statusCode to understand content age and validity. - Use Case: Your product monitors competitor pricing pages. Use this Skill to scrape a company's pricing page every hour, extract structured rates and features, and feed the result into a comparison dashboard. ## Quick Start Call Firecrawl's scrape endpoint with your API key, provide the target URL, and specify whether you want markdown or another format like JSON or screenshots.

Frequently Asked Questions about firecrawl-build-scrape

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract markdown from a web page using Firecrawl?▼

Call the `/scrape` endpoint with your URL and set the format to `markdown`. Firecrawl returns cleaned, LLM-ready markdown by default, making it ideal for downstream processing and indexing pipelines.

What is the difference between maxAge: 0 and omitting maxAge?▼

Setting `maxAge: 0` forces a fresh live scrape, skipping any cached copy and incurring higher latency. Omitting `maxAge` lets Firecrawl choose an appropriate cache window per domain, balancing speed and freshness automatically.

How do I know if Firecrawl returned cached or fresh content?▼

Check the response metadata: `cacheState: "hit"` indicates a reused indexed copy, `cacheState: "miss"` indicates a fresh scrape. With `maxAge: 0`, the `cacheState` field is absent, confirming no cache was used.

When should I escalate from scrape to the interact endpoint?▼

Use `/interact` when the page requires user actions like clicks, form input, or multi-step navigation before extracting content. Stick with `/scrape` for direct page-level extraction on static or pre-rendered content.

What formats does the scrape endpoint support?▼

The endpoint supports markdown, HTML, structured JSON output, links lists, and screenshots. Markdown is the default and recommended format for most integrations unless your use case specifically requires another format.