Overview
The WhizoAI Node.js SDK provides a complete TypeScript-first interface for accessing WhizoAI’s web scraping, crawling, and AI-powered data extraction capabilities.TypeScript Support
Full type definitions and IntelliSense for better developer experience
Modern ESM
ES Module support with tree-shaking for optimal bundle sizes
Zero Dependencies
Minimal footprint with only essential dependencies
Installation
Quick Start
Authentication
Get your API key from the WhizoAI Dashboard.Environment Variable (Recommended)
Direct Initialization
Core Features
Single Page Scraping
Extract content from any webpage in multiple formats:Multi-Page Crawling
Crawl entire websites with depth and page limits:AI-Powered Extraction
Extract structured data from webpages using AI:Web Search
Search the web with optional content scraping:Batch Operations
Process multiple URLs in parallel:Job Management
List Jobs
Get Job Details
Cancel Job
Account Management
Check Credit Balance
Get User Profile
API Key Management
List API Keys
Create API Key
Error Handling
The SDK provides structured error types for better error handling:Advanced Configuration
Custom API URL
For self-hosted or testing environments:Custom Timeout
Retry Configuration
TypeScript Support
The SDK is written in TypeScript and provides complete type definitions:Credit Costs
| Operation | Base Cost | Additional |
|---|---|---|
| Basic scraping | 1 credit | - |
| Screenshot | +1 credit | Per page |
| PDF generation | +1 credit | Per page |
| AI extraction | 3-6 credits | Per page |
| Web search | 1 credit | Per search |
| Stealth mode | +4 credits | Per page |
Rate Limits
Rate limits vary by subscription plan:| Plan | Requests/Hour | Requests/Day |
|---|---|---|
| Free | 10 | 100 |
| Hobby | 50 | 500 |
| Standard | 200 | 2,000 |
| Growth | 500 | 5,000 |
| Enterprise | Custom | Custom |
Links & Resources
npm Package
View on npm registry
GitHub Repository
View source code and contribute
API Reference
Explore all available endpoints
Get API Key
Generate your API key
Support
- Documentation: docs.whizo.ai
- Dashboard: whizo.ai/app
- Email: [email protected]
- GitHub Issues: github.com/whizoai/whizoai-sdks/issues