Skip to main content

Prerequisites

  • Supabase project with CLI (supabase init)
  • A Firecrawl API key — get one free

Setup

Set the secret:

Search the web

Edit supabase/functions/firecrawl-search/index.ts:

Scrape a page

Edit supabase/functions/firecrawl-scrape/index.ts:

Interact with a page

Edit supabase/functions/firecrawl-interact/index.ts:

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