Quickstart
Installation
Get started with AlterLab by installing our SDK in your preferred language.
Prerequisites
Before installing AlterLab, make sure you have:
- An AlterLab API key (sign up at alterlab.io)
- Node.js 16+ or Python 3.8+ installed
- Basic knowledge of REST APIs
Choose Your Language
# Install via npm
npm install @alterlab/sdk
# Or via yarn
yarn add @alterlab/sdkVerify Installation
After installation, verify everything works by making a simple test request:
import { AlterLab } from '@alterlab/sdk'
const client = new AlterLab({
apiKey: 'your-api-key'
})
const response = await client.scrape({
url: 'https://example.com'
})
console.log(response.data)Success!
If you see the HTML content of example.com, you're all set! You're ready to start building.
Next Steps
1
Make Your First Request
Learn how to scrape a web page and extract data from it.
2
Set Up Authentication
Configure your API key and learn about rate limits.
3
Explore Advanced Features
Dive into JavaScript rendering, proxy rotation, and more.
Updated on January 15, 2025
Next: Your First Request →