Skip to main content

Deno Deploy

Use Firecrawl with Deno Deploy to search, scrape, and interact with web data at the edge.
1 min read

Prerequisites#

Setup#

Create main.ts:

Search the web#

Add a /search route that searches the web and returns results with full page content.

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.

Run locally#

Deploy#

Install the Deno Deploy CLI (deployctl) and deploy:

Set the environment variable in the Deno Deploy dashboard or via CLI:

Test it#

Next steps#