The Instant Classification API enforces two types of limit: a usage quota for free-tier accounts and a per-minute rate limit for all accounts.
Free-tier quota
New accounts start on the free tier. Free-tier accounts are limited to 20 classification requests in total. When your quota is exhausted, the API returns 402:
{
"detail": "Usage quota exceeded. Contact support for elevated access."
}
The free tier does not reset β it is designed for evaluation. To continue using the API, contact support@thedatacity.com for a paid plan.
The free tier gives you 20 requests to evaluate the API. If youβre building an integration, contact support for a paid account before you start development.
Per-minute rate limit
All accounts β free and paid β are subject to a per-minute rate limit on the classification endpoint. The limit is 5 requests per minute, applied per authenticated user.
When you exceed the per-minute limit, the API returns 429:
HTTP/1.1 429 Too Many Requests
Each classification request counts as one, regardless of response status or payload size.
How the two limits interact
| Account type | Usage quota | Per-minute rate limit |
|---|
| Free | 20 requests total | 5 requests/minute |
| Paid | Unlimited | 5 requests/minute |
If a free-tier account sends requests rapidly, the per-minute rate limit may reject a request before the quota check runs.
Backing off
Retry 429 responses with exponential backoff:
attempt 1 β wait 2 s
attempt 2 β wait 4 s
attempt 3 β wait 8 s
attempt 4 β give up, surface the error
Add random jitter (0β500 ms) to prevent thundering-herd retries.
Do not retry 402 (quota exceeded). The request will fail the same way until your account is upgraded to a paid plan.
Checking your limits
Call GET /api/v1/utils/public-config to see the current free quota:
curl -sS "https://instant-classification-api.thedatacity.com/api/v1/utils/public-config"
{
"free_quota_limit": 20,
"free_quota_scope": "lifetime"
}
This endpoint is unauthenticated. To track how many requests youβve used, count successful responses on your side.
To upgrade to a paid account, contact support@thedatacity.com.