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 inscrape_options:
ignoreInvalidURLs becomes ignore_invalid_urls, and maxConcurrency becomes concurrency.
Search
Reading responses
Each Prefetch format is an object with counts and flags, such as
markdown.word_count and markdown.truncated. See Scrape.
Errors
Both returnsuccess: 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.contentinstead ofdata.markdown. - Set
max_agewherever you relied on Firecrawl’s default caching. - Update your webhook signature check.
- Branch on
error_codeandretryable.