Plans and limits
Each team has two limits that you choose independently: how many requests it can make per hour, and how many POIs it can store. The requests tier also sets how many requests per minute and how many routing calls per day the team can make. Over a request limit, the API returns a 429 Too Many Requests; at the POI limit, creating or importing POIs returns a 403.
Tiers
Pick one tier for each limit; the monthly price is the sum of both, and the lowest tier of each is free. Tiers marked Contact us need a custom agreement: contact us, or send a request from the Plan & usage page of the dashboard.
Requests per hour
- Name
50- Description
- Free · up to 20 per minute · 20 routing calls per day
- Name
250- Description
- €9 per month · up to 20 per minute · 200 routing calls per day
- Name
1,000- Description
- €29 per month · up to 34 per minute · 400 routing calls per day
- Name
5,000- Description
- €79 per month · up to 167 per minute · 700 routing calls per day
- Name
10,000- Description
- €149 per month · up to 334 per minute · 1,000 routing calls per day
POIs
- Name
1,000- Description
- Free
- Name
10,000- Description
- €5 per month
- Name
50,000- Description
- €15 per month
- Name
250,000- Description
- €45 per month
- Name
1,000,000- Description
- Contact us
New teams start on the Free tiers: 50 requests per hour and 1,000 POIs. See your limits and current usage, and change them, on the Plan & usage page of the dashboard. Paid tiers are billed monthly through Link, powered by Stripe, which sends your receipts and invoices. Prices exclude VAT: VAT or sales tax is added at checkout where it applies. Changes to a paid plan apply right away and are prorated on your next invoice. Moving back to the free tiers, or cancelling from the billing portal, takes effect at the end of the billing period: you keep your limits until then. Deleting a team cancels its subscription immediately, without a refund. The same prices are available from the public GET /v1/pricing endpoint. Need more than the highest tiers? Contact us.
Free plan
The free tiers are for trying Lanewise and for small projects:
- Each account can own one team on the free tiers. To create another team, or to move another team to the free tiers, first upgrade your free team to a paid tier.
- You need a verified email address to create API keys.
Team members
A team on the free tiers can have 2 members; a team on any paid tier, or a custom agreement, can have 10. Pending invitations count as members. Inviting more returns a 422.
How requests are counted
- The window is a fixed hour. It resets at the start of every hour, in UTC.
- Every request counts, including the ones that return a
4xxerror. A bulk import counts as one request, whatever the size of the file, and so does each routing call, however many waypoints or stops it has. - Requests rejected with a
429do not count. - On paid plans, conditional requests that come back as
304 Not Modifiedcost a tenth of a request: one in every ten counts. - Within the hour, a team can make at most a thirtieth of its hourly quota per minute, and never fewer than 20: the burst cap shown with each tier above.
- Requests without a valid API key are rejected before the limit applies, so they return a
401without rate limit headers. - All API keys of a team share the same quota.
Rate limit headers
Every authenticated response, including errors, carries these headers:
- Name
X-RateLimit-Limit- Type
- integer
- Description
The number of requests your team can make per hour.
- Name
X-RateLimit-Remaining- Type
- integer
- Description
The number of requests left in the current hour.
- Name
X-RateLimit-Reset- Type
- integer
- Description
When the current window ends, as a Unix timestamp in seconds.
- Name
X-RateLimit-Burst-Limit- Type
- integer
- Description
The number of requests your team can make per minute. Not sent when the hourly quota is used up.
Read the headers with cURL
curl -i https://api.lanewise.app/v1/pois \
-H "X-API-KEY: {YOUR_API_KEY}"
Response headers
HTTP/1.1 200 OK
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1790467200
X-RateLimit-Burst-Limit: 34
After hitting the limit
A 429 response adds the time to wait: until the next hour when the hourly quota is used up, or until the next minute over the burst cap. Wait that many seconds before you retry.
- Name
Retry-After- Type
- integer
- Description
Seconds until you can retry.
- Name
X-RateLimit-Retry-After- Type
- integer
- Description
Same value as
Retry-After.
Response headers
HTTP/1.1 429 Too Many Requests
Retry-After: 1260
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1790467200
X-RateLimit-Retry-After: 1260
429 Too Many Requests
{ "message": "Rate limit of 1000 requests per hour exceeded. Retry in 1260 seconds." }
429 Too Many Requests (burst cap)
{ "message": "Rate limit of 34 requests per minute exceeded. Retry in 18 seconds." }
Routing allowance
Avoid POIs and delivery optimization use the road network of a shared provider, so each team also has a daily allowance of routing calls, set by its requests tier: 20, 200, 400, 700 or 1,000 per day. Clustering doesn't use it.
- The allowance resets at midnight UTC.
- Failed calls don't count.
- Calls from the Routing page of the dashboard share the same allowance.
- Over the allowance, routing returns a
429until midnight UTC. Other endpoints keep working.
Successful routing calls, and the 429 over the allowance, carry these headers besides the rate limit headers:
- Name
X-Routing-Limit- Type
- integer
- Description
Routing calls your team can make per day.
- Name
X-Routing-Remaining- Type
- integer
- Description
Routing calls left today.
- Name
X-Routing-Reset- Type
- integer
- Description
When the allowance resets (next midnight UTC), as a Unix timestamp in seconds.
When the shared provider capacity is used up, routing returns a 503 with Retry-After, whatever your allowance: retry after a minute, or after midnight UTC when the daily capacity is reached.
Response headers
HTTP/1.1 200 OK
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 998
X-RateLimit-Reset: 1790467200
X-RateLimit-Burst-Limit: 34
X-Routing-Limit: 400
X-Routing-Remaining: 391
X-Routing-Reset: 1790467200
429 Too Many Requests (routing allowance)
{ "message": "Your team has used its 400 routing calls for today. The allowance resets at midnight UTC; raise it with a bigger plan." }
503 Service Unavailable
{ "message": "Routing is busy right now. Please retry in a minute." }