API Reference
The Scrayle REST API provides programmatic access to all platform features.
Base URL
https://api.scrayle.com/api/v1Authentication
All requests require the x-api-key header:
curl -H "x-api-key: YOUR_API_KEY" \
https://api.scrayle.com/api/v1/scrapeResponse Format
All responses are JSON. Successful responses return status 200:
{
"success": true,
"data": { ... }
}Error Responses
{
"success": false,
"error": "Error message describing what went wrong"
}Rate Limiting
API rate limits depend on your plan. When rate limited, the API returns status 429 with a Retry-After header indicating when you can retry (in seconds).
Endpoints
| Category | Base Path | Description |
|---|---|---|
| API Keys | /api-keys | Manage API keys |
| Scrape | /scrape | Single, batch, and async scraping |
| Crawl | /crawl | Website crawling |
| Browser Sessions | /browser | Cloud browser sessions |
| Captcha | /captcha | CAPTCHA solving |
| Proxy | /proxies | Proxy management |
| AI Agent | /ai | AI browser agent |
| Workflows | /workflows | Workflow management |
| Notifications | /notifications | Notification preferences |
| Usage | /usage | Credit usage and billing |
Pagination
List endpoints support pagination:
GET /api/v1/workflows?page=1&limit=20Response includes total counts:
{
"data": [...],
"total": 150,
"page": 1,
"limit": 20
}