API Reference

Welcome to the Scrappy API documentation. Use our REST API to manage projects, sources, jobs, and leads programmatically.

Getting Started

Base URL

All API requests should be made to:

https://api.scrappy.gg

Authentication

Most endpoints require authentication. Include your API key in the Authorization header:

curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.scrappy.gg/api/users

Response Format

All responses are returned in JSON format with a consistent structure:

{
"success": true,
"data": {
// Response data here
}
}
// Error response
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Human readable error message"
}
}

Rate Limiting

API requests are rate limited to ensure fair usage. When you exceed the rate limit, you'll receive a 429 status code. Rate limits vary by endpoint and are documented in each section.

API Sections

Explore the API by section. Click on any section to view detailed endpoint documentation.

SDKs & Libraries

We provide code examples in cURL, JavaScript, and Python for every endpoint. Official SDKs are coming soon.

cURLJavaScriptPython