Rate Limits
To ensure the stability and reliability of the Lanewise API, we have rate limits in place. Rate limits are the number of requests you can make to the API within a certain time frame. If you exceed the rate limit, you will receive a 429 Too Many Requests response.
The rate limits depend on the type of account you have with Lanewise. If you need a higher rate limit, consider upgrading your plan.
Limits per account type
Here is a table of the rate limits for each account type:
| Account Type | Rate Limit |
|---|---|
| Basic | 100 requests per hour |
| Pro | 1,000 requests per hour |
| Enterprise | Unlimited |
You can check your usage in the Lanewise dashboard usage section.
Rate limit headers
However, each request to the API will return the rate limit headers in the response. You can use these headers to determine how many requests you have left before hitting the rate limit, and when the rate limit will reset.
Before hitting the rate limit
- Name
X-RateLimit-Limit- Type
- integer
- Description
The total number of requests you can make in the current time frame.
- Name
X-RateLimit-Remaining- Type
- integer
- Description
The number of requests you have left before hitting the rate limit.
- Name
X-RateLimit-Reset- Type
- integer
- Description
The time when the rate limit will reset.
Cursor pagination using cURL
curl -G https://api.lanewise.app/v1/pois \
-H "X-API-KEY: {YOUR_API_KEY}"
Response Headers
{
"X-RateLimit-Limit": 1000,
"X-RateLimit-Remaining": 999,
"X-RateLimit-Reset": 1617220000
}
After hitting the rate limit
- Name
X-RateLimit-Retry-After- Type
- integer
- Description
The number of seconds you should wait before making another request.
Cursor pagination using cURL
curl -G https://api.lanewise.app/v1/pois \
-H "X-API-KEY: {YOUR_API_KEY}"
Response Headers
{
"X-RateLimit-Retry-After": 3600
}