Skip to main content

Node.js

Get started with Firecrawl in Node.js. Scrape, search, and interact with web data using the official SDK.
1 min read

Prerequisites#

Install the SDK#

Environment variable#

Instead of passing apiKey directly, set the FIRECRAWL_API_KEY environment variable:

Search the web#

Scrape a page#

Example response

Interact with a page#

Use interact to control a live browser session — click buttons, fill forms, and extract dynamic content.

Next steps#