Skip to main content

Prerequisites

Install the SDK

Add your API key to .env:

Search the web

Create server/api/search.post.ts:
Call it from a Vue component:

Scrape a page

Create server/api/scrape.post.ts:
Call it from a Vue component:

Interact with a page

Create server/api/interact.post.ts:

Next steps

Scrape docs

All scrape options including formats, actions, and proxies

Search docs

Search the web and get full page content

Interact docs

Click, fill forms, and extract dynamic content

Node SDK reference

Full SDK reference with crawl, map, batch scrape, and more