# Rate limits, bulk retrieval, and scaling

Use this guide to schedule large reads, enforce dealership-level request limits, and retry the documented database-scaling response without turning a transient condition into duplicate or excessive traffic.

## Enforce both rolling limits

Apply both limits per dealership:

- 5 requests per second, measured as a rolling window.
- 200 requests per minute, measured as a rolling window.


Coordinate every worker using the same dealership credential. Staying below the per-second limit does not guarantee compliance with the per-minute limit. Queue work rather than releasing synchronized bursts at a window boundary.

DX1 does not define a standard 429 response body or guarantee a `Retry-After` header. If the client receives a rate-limit response, preserve its sanitized status and headers for diagnosis, slow the shared dealership queue, and follow DX1 support guidance.

## Schedule large extraction separately

DX1 directs complete or large-scale retrieval to 03:00–11:00 UTC. This is the bulk-extraction window, not a maintenance window. Use supported created/updated filters for routine jobs and `Take` values of 1,000 or fewer.

## Handle database scaling

Database scaling occurs within two daily UTC periods:

- 01:00–02:50 UTC.
- 09:10–10:40 UTC.


An individual dealership is not expected to be unavailable for an entire period. Its assigned environment has an approximately 15-minute scaling slot within each broader period.

The documented transient response is:

```text
HTTP 503 Service Unavailable
Message: DB Scaling time
```

When both the 503 status and documented message identify scaling:

1. Treat a read request as transient.
2. Retry with short, capped exponential backoff and jitter.
3. Continue using the `api_url` returned with the current token.
4. Keep the request filter and identifier stable so the retry represents the same read.
5. Stop after a bounded retry budget and use the approved support channel if service does not recover.


The APIs documented here are read-only. Retry only the unchanged summary, detail, or list request that received the identified scaling response.

For escalation, provide the dealership context through a private approved channel, endpoint and method, UTC timestamps, retry duration, sanitized status/message, and a request or correlation identifier when available. Exclude credentials and production payloads.