The lobstr.io API enforces rate limits to ensure fair usage and stable service performance. When you exceed the rate limit, the API returns a 429 Too Many Requests response.Documentation Index
Fetch the complete documentation index at: https://docs.lobstr.io/llms.txt
Use this file to discover all available pages before exploring further.
Rate Limit Headers
Every API response includes headers to help you track your rate limit usage:| Header | Description |
|---|---|
| X-RateLimit-Limit | Total requests allowed per minute |
| X-RateLimit-Remaining | Number of requests remaining in the current rate limit window |
| X-RateLimit-Reset | UNIX timestamp indicating when the rate limit window resets |
| Retry-After | Seconds until you can retry after hitting the limit |
Endpoint-Specific Limits
Different endpoints have different rate limits based on their resource intensity:| Endpoint | Limit |
|---|---|
| /v1/squids | 120 requests/minute |
| /v1/tasks | 90 requests/minute |
| /v1/runtasks | 90 requests/minute |
| /v1/runs | 120 requests/minute |
| /v1/results | 2 requests/second |
Rate Limit Error Response
When you exceed the rate limit, you’ll receive a 429 response:Example Response Headers
The /v1/results endpoint has a stricter limit (2 req/sec) due to the data-intensive nature of result retrieval.
Code Examples
Response
429