| title | API Overview |
|---|---|
| description | Complete reference for the WebLinq API endpoints |
The WebLinq API provides powerful endpoints for web automation and content extraction. All endpoints use REST principles and require authentication.
Need to get started quickly? Check our quickstart guide.
https://api.weblinq.dev/v1Always use HTTPS and include the /v1 prefix for all API requests.
Include your API key in the Authorization header:
```bash cURL curl -X POST "https://api.weblinq.dev/v1/web/screenshot" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://example.com"}' ```const response = await fetch('https://api.weblinq.dev/v1/web/screenshot', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ url: 'https://example.com' }),
});import requests
response = requests.post(
'https://api.weblinq.dev/v1/web/screenshot',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
json={'url': 'https://example.com'}
)All responses follow a standard format:
{
"success": true,
"data": {
// Your response data here
},
"creditsCost": 1
}{
"success": false,
"error": {
"message": "Error description",
"code": "error_code"
}
}Rate limits are enforced per API key:
- Free plan: 100 requests/hour
- Pro plan: 1,000 requests/hour
Rate limit headers are included in responses:
X-RateLimit-Limit: Total requests allowedX-RateLimit-Remaining: Remaining requestsX-RateLimit-Reset: Reset timestamp