Prerequisites
- AWS account with Lambda access
- A Firecrawl API key — get one free
Setup
Search the web
Createindex.mjs with a search handler:
Scrape a page
Add ascrape action to the same handler:
Interact with a page
Add aninteract action to control a live browser session — click buttons, fill forms, and extract dynamic content:
Deploy
Package and deploy with the AWS CLI:Set the Lambda timeout to at least 30 seconds. Scraping dynamic pages and interact sessions can take longer than the default 3-second timeout.
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

