Firecrawl Scrape

Scrape any URL and get clean markdown, HTML, screenshots, or structured JSON - with durable caching and reactive queries.

Installation

npm install convex-firecrawl-scrape

About Firecrawl Scrape

Scrape any URL and get clean markdown, HTML, screenshots, or structured JSON - with durable caching and reactive queries.

const { jobId } = await scrape({ url: "https://example.com" });
// Status updates reactively as the scrape completes
const status = useQuery(api.firecrawl.getStatus, { id: jobId });
Durable caching with configurable TTL (default 30 days)
Reactive status updates via Convex subscriptions
Multiple output formats: markdown, HTML, raw HTML, screenshots, links, images, AI summaries
JSON extraction via schema-based LLM processing
Built-in SSRF protection blocks private IPs and localhost
Secure by default with required auth wrapper

Links