



Firecrawl is the web data API for AI agents. Scrape any page into LLM-ready markdown, search the web and get full page content, and interact with dynamic sites to extract hard-to-reach data at scale.
Find fresh, relevant sources from the live web.
Convert any URL into clean markdown, HTML, structured data, or screenshots - including JS-rendered pages.
Scrape a page, then interact with it using AI prompts or code.
After installing the integration, your Firecrawl API key will be available as FIRECRAWL_API_KEY in your environment variables.
import { Firecrawl } from 'firecrawl';const app = new Firecrawl({ apiKey: process.env.FIRECRAWL_API_KEY });const result = await app.search('what is firecrawl?');import { Firecrawl } from 'firecrawl';const app = new Firecrawl({ apiKey: process.env.FIRECRAWL_API_KEY });const result = await app.scrape('firecrawl.dev');import { Firecrawl } from 'firecrawl';
const app = new Firecrawl({ apiKey: 'fc-YOUR-API-KEY' });
const result = await app.scrape('https://www.amazon.com', { formats: ['markdown'] });const scrapeId = result.metadata?.scrapeId;
await app.interact(scrapeId, { prompt: 'Search for iPhone 16 Pro Max' });const response = await app.interact(scrapeId, { prompt: 'Click on the first result and tell me the price' });
await app.stopInteraction(scrapeId);