Limits
Didit API rate limits and errors
Didit counts requests by API key. When you pass a limit, the reply tells you how long to wait.
Limits
Limits per minute
A rate limit is the most calls you can make in a set time. These are the defaults.
| Scope | Calls | Limit |
|---|---|---|
| Every call | ||
generic-get | Every GET request | 600 a minute |
generic-write | Every POST, PATCH and DELETE request | 300 a minute |
ingest-write | POST /v3/transactions/, POST /v3/events/, POST /v3/events/batch/ | 600 a minute |
| Single endpoints | ||
session-v2-create | POST /v3/session/ | 600 a minute |
session-decision | GET /v1/session/<id>/decision/ and the v2 path | 100 a minute |
session-generate-pdf | GET /v3/session/<id>/generate-pdf/ | 50 a minute |
session-add-images | /session/<id>/add-images/ | 10 a minute |
session-update-kyc | /session/<id>/update-data/ | 10 a minute |
session-update-poa | /session/<id>/update-poa-data/ | 10 a minute |
ingest-write, not against your other writes.GET /v3/session/<id>/decision/ only follows the 600 a minute limit for reads.429
What a 429 tells you
A 429 is the reply you get when you pass a limit. Five headers say what happened.
| Header | Meaning |
|---|---|
X-RateLimit-Limit | The most requests allowed in the window, for the scope you passed. |
X-RateLimit-Remaining | Requests left before the window resets. It is 0 on a 429. |
X-RateLimit-Reset | Unix seconds when the counter goes back to zero. |
Retry-After | Seconds to wait before you try again. |
X-RateLimit-Scope | The scope whose limit you passed. |
- Use a separate application for each environment, brand or customer. Each one gets its own key and its own counters.
- Do not poll for results. Use webhooks and fetch a decision only to fill gaps.
- Create PDF reports from a queue after a session ends, not on every page view.
async function postSession(body) { for (let attempt = 0; attempt < 5; attempt++) { const res = await fetch("https://verification.didit.me/v3/session/", { method: "POST", headers: { "x-api-key": process.env.DIDIT_API_KEY, "Content-Type": "application/json", }, body: JSON.stringify(body), }); if (res.status !== 429) return res; const retryAfter = Number(res.headers.get("Retry-After") ?? "1"); const jitter = Math.random() * 1000; await new Promise((r) => setTimeout(r, retryAfter * 1000 + jitter)); } throw new Error("Didit: too many 429s, giving up");}
Errors
One page for every error
Read the status first, then the body.
API errors
The docs keep one page for every error the API can return.
- Every status code and what to do about it
- The shape of each error body
- Stable error codes you can match in code
- What is safe to retry
| Status | Retry |
|---|---|
429 | Yes, after you wait for Retry-After. |
500, 502, 503 | With backoff. Read the code field first. |
400, 401, 403 | Only after you fix the request or the key. |
404, 410 | No. The resource does not exist or has expired. |
POST /v3/session/ accepts an Idempotency-Key header. If a create times out, send it again with the same key, so it runs and is billed at most once.
More
Need more
The defaults fit most launches. Ask when they do not.
Enterprise
Raise the limits
On the Enterprise plan, the limits for every call and the limits for session creates, decisions and PDF reports can be raised on request. Email support with your application ID and the rates you expect.
Sandbox
The sandbox has its own limit
Each sandbox application gets a daily allowance of test sessions. On the Enterprise plan this can be raised on request too.
Questions
Questions about limits
What are the Didit API rate limits?
What happens when I pass a limit?
Are the rate limit headers on every response?
Can I get higher limits?
Which errors are safe to retry?
Is the sandbox rate limited?
Are rate limits counted per API key or per account?
Does my users' verification traffic count against my limits?
Which endpoints have stricter limits?
How should my client back off after a 429?
Do transaction and event ingestion share the write budget?
What does the 429 body contain?
How do I keep one service from using up the limits of another?
Should I poll the decision endpoint?
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Trusted by EU regulators
After a year of supervised testing, EU financial regulators confirmed that verifying with Didit is safer than checking an ID in person.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy
Learn Didit, one short video at a time
Start
Read the API reference
Every endpoint, with its request, response and errors.
Free sandbox. Credit applies to work-email sign-ups.