Rate Limiting
The VCDP API enforces rate limits to ensure fair usage and platform stability.
Rate limit headers
Every response includes rate limit information:
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests per time window |
X-RateLimit-Remaining | Requests remaining in current window |
X-RateLimit-Reset | Timestamp when the window resets |
Exceeding the limit
When you exceed the rate limit, the API returns 429 Too Many Requests:
{
"type": "/errors/rate-limit-exceeded",
"title": "Too Many Requests",
"status": 429,
"detail": "Rate limit exceeded. Retry after 60 seconds."
}
The response includes a Retry-After header indicating how many seconds to wait.
Best practices
- Monitor headers — Track
X-RateLimit-Remainingto stay within limits - Implement backoff — Use exponential backoff when receiving 429 responses
- Cache responses — Cache vehicle data that doesn't change frequently
- Batch requests — Group related queries where possible