Prerequisites
- Wrangler CLI (
npm install -g wrangler) - A Firecrawl API key — get one free
Setup
Search the web
Create a handler that searches the web and returns results with full page content. Editsrc/index.ts:
Scrape a page
Add a/scrape route to extract clean markdown from any URL.
Interact with a page
Add an/interact route to control a live browser session — click buttons, fill forms, and extract dynamic content.
Deploy
Test it
Next steps
Search docs
Search the web and get full page content
Scrape docs
All scrape options including formats, actions, and proxies
Interact docs
Click, fill forms, and extract dynamic content
Node SDK reference
Full SDK reference with crawl, map, batch scrape, and more

