5 min read
Quick Start Guide
Get up and running with Scrpy in just 5 minutes. This guide will walk you through setup, authentication, and making your first scraping request.
1Create Your Account
Sign up for a free Scrpy account to get your API key. No credit card required.
Create Free Account →2Get Your API Key
After signing up, navigate to your dashboard to find your API key. Keep this key secure—it's your authentication credential.
SCRPY_API_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxxxx3Make Your First Request
Use cURL, Python, Node.js, or any HTTP client to make your first scraping request:
bash
curl -X POST https://api.scrpy.co/v1/scrape \
-H #a5d6ff;">"Authorization: Bearer YOUR_API_KEY" \
-H #a5d6ff;">"Content-Type: application/json" \
-d #a5d6ff;">'{
"url": "https://example.com",
"selectors": {
"title": "h1",
"description": "meta[name=description]::attr(content)"
}
}'python
import requests
response = requests.post(
#a5d6ff;">"https://api.scrpy.co/v1/scrape",
headers={#a5d6ff;">"Authorization": "Bearer YOUR_API_KEY"},
json={
#a5d6ff;">"url": "https://example.com",
#a5d6ff;">"selectors": {
#a5d6ff;">"title": "h1",
#a5d6ff;">"description": "meta[name=description]::attr(content)"
}
}
)
print(response.json())4View Your Results
Scrpy returns clean, structured JSON data:
javascript
{
"success": true,
"data": {
"title": "Example Domain",
"description": "This domain is for illustrative examples."
},
"metadata": {
"url": "https://example.com",
"statusCode": 200,
"duration": 234
}
}Next Steps
- Learn CSS Selectors → - Master element targeting
- JavaScript Rendering → - Scrape dynamic websites
- API Reference → - Explore all options