Base URL
Authentication
All endpoints require thex-api-key header:
Endpoints Overview
Jobs
| Method | Endpoint | Description |
|---|---|---|
POST | /jobs | Create a download job |
GET | /jobs/{id} | Get job status |
Batch Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /batch/{id} | Get batch status |
User
| Method | Endpoint | Description |
|---|---|---|
GET | /usage | Get usage statistics |
POST | /user/bucket | Configure S3 storage |
Dashboard
| Method | Endpoint | Description |
|---|---|---|
GET | /dashboard/stats | Get aggregated stats |
GET | /dashboard/jobs | List jobs with pagination |
GET | /dashboard/batches | List batch operations |
GET | /dashboard/daily | Get 7-day stats for chart |
Response Format
All responses are JSON. Successful responses have a2xx status code.
Success Response
Error Response
Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created (for POST requests) |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid or missing API key |
404 | Not Found - Resource doesn’t exist |
500 | Internal Server Error |
504 | Gateway Timeout - Long operation timed out |
Rate Limits
Currently no strict rate limits. Recommended:- Max 500 concurrent jobs
- Poll status every 2-5 seconds
