Skip to main content
Prefetch’s web data endpoints work much like Firecrawl’s v2 API, so most migrations are a change of base URL, header and parameter spelling. This page maps one to the other.

The basics

To keep Firecrawl’s caching behavior, send max_age=172800000 (2 days, in milliseconds).

Endpoints

Prefetch also has company data endpoints with no Firecrawl equivalent: /enrich, /brand, /company, /classify, /styleguide, /resolve, /transaction and the logo CDN.

Scrape

Map

Crawl

Batch scrape

Firecrawl takes scrape options at the top level of a batch. Prefetch nests them in scrape_options:
ignoreInvalidURLs becomes ignore_invalid_urls, and maxConcurrency becomes concurrency.

Reading responses

Each Prefetch format is an object with counts and flags, such as markdown.word_count and markdown.truncated. See Scrape.

Errors

Both return success: false with an error message. Prefetch adds a stable error_code and a retryable flag, so you can branch on them instead of parsing the message. See Error handling.

Webhooks

Crawl and batch event names carry over: crawl.started, crawl.page, crawl.completed, and batch_scrape.*. Signatures differ: See Verify signatures for code.

Checklist

  • Swap the base URL and the auth header.
  • Rename parameters to snake_case, and nest batch scrape options in scrape_options.
  • Read data.markdown.content instead of data.markdown.
  • Set max_age wherever you relied on Firecrawl’s default caching.
  • Update your webhook signature check.
  • Branch on error_code and retryable.