Skip to main content

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

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