Quickstart

The Crawl API lets you extract the data you want from web pages with a single call. This quickstart gets you from zero to your first result in a couple of minutes.

Installation

npm install @scrapeless-ai/sdk
pnpm add @scrapeless-ai/sdk

Scrape your first page

import { ScrapingCrawl } from "@scrapeless-ai/sdk";
 
// Initialize the client
const client = new ScrapingCrawl({
  apiKey: "your-api-key", // Get your API key from https://scrapeless.com
});
 
(async () => {
  const result = await client.scrapeUrl("https://example.com");
 
  console.log(result);
})();

That’s it — you’ll get the page content back once the job completes.

Next steps