Rate limits
Overview
Every request to the Routing API counts against two limits: one for the API key and one for the address it comes from. Limits are generous for interactive maps and tighter for batch jobs that should use the Matrix endpoint instead.
When a limit is reached the API answers with status 429 and tells you how long to wait. Nothing is queued on our side, so a rejected request has no effect and is safe to send again.
How requests are counted
Limits use a sliding window of sixty seconds. A route with waypoints is one request; a matrix call counts one request per hundred cells, rounded up.
Per API key
Production keys allow 600 requests per minute and test keys allow 60. Keys created for a team share their limit across every member of that team.
Per IP address
A single address may send 1,200 requests per minute across all keys. This protects shared networks; it rarely matters for servers that use one key.
Every response carries the state of your window, so a client can slow down before it is refused.
RateLimit-Limit: 600
RateLimit-Remaining: 412
RateLimit-Reset: 23
Reset is the number of seconds until the oldest request leaves the window, not a timestamp.
Handling 429 responses
Read Retry-After before anything else. It is the shortest wait that will succeed; waiting longer is fine, retrying sooner is not.
Retry with backoff
When several workers share a key, add jitter: wait Retry-After plus a random fraction of a second, and double the extra wait after each refusal up to thirty seconds.
Idempotency keys
Requests that create saved routes accept an Idempotency-Key header. Send the same key on a retry and the route is stored once, even if the first attempt reached us.
Raising your limits
Limits rise automatically with your plan. If a launch or a migration needs more for a few days, ask from the dashboard with the expected peak and the dates, and the change applies to the key you choose.
Temporary raises end on their own; nothing needs to be undone afterwards.