Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Auth is ‘Authorization: Bearer <key>’. All paths are under /v2.
  • Crawl and extract are asynchronous: start returns an id, then poll the matching status endpoint; finished results are paged with a ‘next’ URL.
  • Timeouts are in milliseconds.
  • Scraping one page or a list of pages goes through web-router’s extract (it fans a list out over Firecrawl’s scrape), not this entry.

Endpoints

Map a site’s URLs

  • A read over POST: it lists URLs and changes nothing in your account.

Start a crawl

  • Starts a billed job: it only produces data and changes nothing else in your account.
  • Async: returns a crawl id; poll crawl.status until status is completed. Results are paged: follow the ‘next’ URL in the response.

Get a crawl’s status and pages

  • Large results are paged; follow the ‘next’ URL for more.

List a crawl’s errors

List active crawls

Search the web and optionally scrape results

  • A read over POST: it runs a search and changes nothing in your account.
  • Scraping results adds credits per scraped page on top of the search cost.

Start an LLM extraction over URLs

  • Starts a billed job: it only produces data and changes nothing else in your account.
  • Async: returns an id; poll extract.status.

Get an extraction’s status and result

Get remaining credits