← All integrations
Language SDK
Use ScrapeUnblocker with Node.js
The official Node.js SDK gives you the ScrapeUnblocker API with full TypeScript types. Call one method, get the rendered page back, and pipe it into Cheerio, your own parser, or straight into a database. No headless browser to install, launch or keep patched.
Example
npm install scrapeunblocker
import { ScrapeUnblocker } from "scrapeunblocker";
const client = new ScrapeUnblocker({ apiKey: "YOUR_API_KEY" });
// Rendered HTML for any URL, anti-bot handled for you
const html = await client.getPageSource("https://www.example.com");
// Or ask for parsed JSON instead of raw HTML
const data = await client.getPageSource("https://www.example.com", {
parsedData: true,
});
console.log(data); How it works
- Install the package with npm and grab your API key from the dashboard.
- Create a client and await getPageSource with the target URL.
- The page is rendered and unblocked server-side - you receive clean HTML or JSON.
- Feed it into Cheerio or your own parser, or use parsedData for structured JSON.
What you get
- Fully typed - first-class TypeScript support out of the box.
- Anti-bot bypass for Cloudflare, DataDome, PerimeterX and Akamai.
- parsedData returns structured JSON for supported targets.
- No local browser - runs anywhere Node runs, including serverless.
Read the docs: Node.js SDK docs →
Start scraping in a few lines
500 requests free on signup. No card required to test it.