Skip to main content

Prerequisites

Install the SDK

Add your API key to .env:

Search the web

Use Firecrawl in an action to handle form submissions. Create app/routes/search.tsx:

Scrape a page

Use Firecrawl in a loader to fetch data at request time. Create app/routes/scrape.tsx:

Interact with a page

Use interact to control a live browser session — click buttons, fill forms, and extract dynamic content. Create app/routes/interact.tsx:

Next steps

Scrape docs

All scrape options including formats, actions, and proxies

Search docs

Search the web and get full page content

Interact docs

Click, fill forms, and extract dynamic content

Node SDK reference

Full SDK reference with crawl, map, batch scrape, and more