Rate Limits
To ensure fair usage and system stability, Dental API enforces rate limits on all requests. There are two independently enforced layers: a limit for your integration account, checked first, and a limit for the target organisation, checked afterwards. Most callers will hit the integration account limit first; understanding both is important for correctly handling a 429 response.
Sandbox rate limits
The Sandbox environment currently runs with an elevated per-organisation rate-limit override for test traffic; you may not see organisation-limit 429s (RL-001) in Sandbox at the volumes that would trigger them in production. Your integration account limits (Layer 1) apply to Sandbox exactly as in production, so you can test your handling of D4W-RL-MIN-001 there. The limits documented below reflect production behaviour.
Layer 1: Per-integrator limits
Every request is first checked against limits tied to your integration account, applied all day with no time-of-day variation. The default limits are:
Per integration account | 60 requests | Per minute (fixed 60 second window) |
Per integration account | 100,000 requests | Per day (fixed 24 hour window) |
These are the default limits. Your account’s limits may differ; contact us to confirm or change them.
The per-minute window starts with the first counted request and lasts 60 seconds. The daily window starts with the first counted request and lasts 24 hours; it is not a calendar day.
Exceeding either threshold returns 429 with support_code: "D4W-RL-MIN-001" (per-minute) or "D4W-RL-DAY-001" (daily), a retry_after_seconds field and a Retry-After header. There is no data field on this response.
{
"status": false,
"message": "Per-minute rate limit exceeded. Please retry shortly.",
"limit_type": "rate_limit_per_minute",
"limit": 60,
"retry_after_seconds": 42,
"retry_after_human": "42s remaining",
"support_code": "D4W-RL-MIN-001"
}
For the daily limit the message is “Daily request limit exceeded. Please retry tomorrow.”, limit_type is daily_request_limit and support_code is D4W-RL-DAY-001. retry_after_human is a readable form of retry_after_seconds, such as 3h 12m remaining.
Layer 2: Per-organisation limits
A request that passes the integration account check is then checked against a separate limit tied to the target organisation, which varies by time of day. Organisation limits use fixed 60 second windows.
Per Organisation | 60 requests per minute | Peak: 8:00 am to 8:00 pm Australian Eastern Time (AEST or AEDT) |
Per Organisation | 120 requests per minute | Off-peak: 8:00 pm to 8:00 am Australian Eastern Time (AEST or AEDT) |
Centaur Software can set a different organisation limit for a practice. Exceeding the limit returns 429 with support_code: "RL-001", retry_after and retry_after_seconds fields with the same value, and a Retry-After header. The response has an empty data array.
{
"status": false,
"message": "Request rate limit exceeded for this organisation. Please slow down.",
"support_code": "RL-001",
"retry_after": 12,
"retry_after_seconds": 12,
"data": []
}
A 429 with support_code RP-4291 or GEN-4291 means a per-organisation protection limit was reached, not the request count. The message says which: the processing time your requests used in the last 60 seconds (large or wide requests use more of it), the number of requests running at the same time, or the number of unfiltered patient searches in the last 60 seconds. Wait for the Retry-After time, send fewer requests in parallel, narrow patient searches (by patient_id or a date range of up to 370 days) and retry. It carries the same Retry-After header.
Rate limit behaviour
When you exceed either layer’s limit:
- The API returns a
429 Too Many Requestsresponse - The response carries a
Retry-Afterheader and aretry_after_secondsfield giving the seconds to wait. Use theRetry-Afterheader, which every429carries. - Requests resume normally after the relevant rate limit window resets
What counts as a request
- Every request that passes authentication and the
org-idcheck counts once towards your integration account limits, whatever its outcome. This includes4xxand5xxresponses. - A request rejected with
D4W-RL-MIN-001orD4W-RL-DAY-001does not count, so waiting out those429s does not use up your daily allowance. A request later rejected withRL-001,RP-4291orGEN-4291has already been counted once against your integration account limits, so back off rather than retrying straight away. - Requests rejected for a missing or invalid API key (
403), an unmapped key (401) or a missingorg-idheader (400) are not counted. A request with anorg-idthat your key is not linked to is counted. - Retries you send after a
429are separate requests; back off with exponential delay.
Daylight savings
The organisation peak window is 8:00 am to 8:00 pm Australian Eastern Time all year and follows daylight saving: AEST (UTC+10) in winter and AEDT (UTC+11) in summer. The integration account limits are not time-of-day dependent.
Caching
Read responses can be served from a short-lived cache, which keeps repeated reads fast and reduces load on the practice database.
- How long: most reads are cached for about five minutes. Appointment reads and appointment slot searches are cached for about one minute, treatment plans for about two minutes, and treatment reads for up to about an hour.
- How to tell: a response served from the cache has
metadata.cached: trueandmetadata.cache_age_seconds. - Freshness: changes you make through the API are visible straight away. Changes made in the practice software do not clear the cache, so they can take up to the times above to appear.
- Not cached: GET Patient Extended By ID, error responses, and results that were truncated or capped.
- Practice database unavailable: an older copy may be returned with
metadata.cache_stale: trueand awarnings[]entry. Appointment reads and appointment slot searches are never served this way.
Best practices to avoid rate limits
Cache reference data
Reference data (practitioners, locations, procedure codes, appointment books, payment types) changes infrequently. Cache these locally and refresh periodically (for example, daily) rather than fetching on every request.
Use pagination wisely
- Default
per_pageis 10 on most list endpoints (100 on GET Appointment Slots), maximum is 500 - For large data sets, use reasonable page sizes (10 to 50 records)
- Avoid repeatedly fetching the same pages
Implement exponential backoff
When receiving a 429 response, wait for the number of seconds in the Retry-After header. If you cannot read the header, use exponential backoff:
Wait 1 second, retry
If still 429, wait 2 seconds, retry
If still 429, wait 4 seconds, retry
...continue doubling up to 32 secondsUse date range filters
Always specify from_date and to_date to limit result sets. Smaller, targeted queries are more efficient than fetching all data.
Leverage the mode parameter for sync operations
Use mode=1 with date filters to fetch only records modified since your last sync, rather than fetching all records repeatedly.
On this page
- Rate Limits