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/sdkpnpm add @scrapeless-ai/sdkScrape 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
- Scrape a Single Page — browser and scrape configuration options.
- Batch Scrape — scrape many URLs in one call.
- Crawl a Website — follow links and extract a whole site.