Skip to main content

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.

600 reads a minute300 writes a minute60 second window

Limits

Limits per minute

A rate limit is the most calls you can make in a set time. These are the defaults.

ScopeCallsLimit
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
How it countsEach scope has its own counter over a fixed window of 60 seconds. Didit counts by API key, or by IP address when no key is sent. Each application has its own key, so a second application gets its own counters.
Both applyA limit on a single endpoint applies on top of the limit for every call. The first one you pass returns the 429.
TransactionsTransaction and event calls count against ingest-write, not against your other writes.
v3 decisionGET /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.

HeaderMeaning
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.
Wait for Retry-After, then add a random delay. Stop after about 5 tries and alert your team. A long run of 429s usually means a loop, not a spike.
  • 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
Open the API errors page
StatusRetry
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?
By default, 600 GET requests a minute and 300 write requests a minute. Session creates and transaction ingestion each allow 600 a minute. PDF reports allow 50 a minute.
What happens when I pass a limit?
The API replies with a 429. The reply carries Retry-After and four X-RateLimit headers. Wait for Retry-After, then try again.
Are the rate limit headers on every response?
No. They are only on the 429 reply.
Can I get higher limits?
Yes, on the Enterprise plan. Email support@didit.me with your application ID and the rates you expect.
Which errors are safe to retry?
A 429 after waiting, and a 500, 502 or 503 with backoff. For other 4xx replies, fix the request first. The API errors page in the docs lists every case.
Is the sandbox rate limited?
Yes. Each sandbox application gets a daily allowance of test sessions.
Are rate limits counted per API key or per account?
Per identifier. Didit counts requests per x-api-key, or per client IP address when no key is sent. Each scope keeps its own counter over a fixed 60-second window, and endpoint limits apply on top of the global limits by HTTP method. The first scope to pass its counter is the one that returns the 429.
Does my users' verification traffic count against my limits?
No. Calls made by the embedded flow and the SDKs with the session's own credentials bypass rate limiting, and so does GET /system/healthcheck. The limits apply to the authenticated calls your servers make with your API key.
Which endpoints have stricter limits?
The v1 and v2 decision endpoints allow 100 requests a minute, and adding images, updating KYC data and updating proof of address data each allow 10 a minute per session route. GET /v3/session/{id}/decision/ is not in the decision scope: only the general limit of 600 GET requests a minute applies to it.
How should my client back off after a 429?
Wait at least the Retry-After seconds, then add exponential backoff with jitter, for example 5, 10, 20 and 40 seconds plus a random amount, so clients do not retry in sync. Stop after a small ceiling such as 5 attempts and alert your team, because sustained 429 replies usually mean a runaway loop.
Do transaction and event ingestion share the write budget?
No. POST /v3/transactions/, POST /v3/events/ and POST /v3/events/batch/ count against their own ingest-write scope of 600 requests a minute instead of the general write scope. A high-volume ingestion integration does not use up the budget of your other writes.
What does the 429 body contain?
The body keeps the detail message and adds reference, limit, remaining, reset and window_seconds. The reference starts with RL- and is the value to give support when you report a throttle. window_seconds is the window length, not the wait: use Retry-After for the delay.
How do I keep one service from using up the limits of another?
Use one identifier per workload. Sharing one API key across many backends puts them all in the same counter, so one noisy service can starve the rest. Didit recommends a separate application, and so a separate API key, per environment, brand or customer.
Should I poll the decision endpoint?
No. The decision endpoints are not designed for tight polling loops. Use webhooks for real-time updates and call GET /v3/session/{id}/decision/ only for back-fill or audit. PDF rendering is also limited, so generate PDFs from a queue after a session reaches a final status, not on every page view.

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Start

Read the API reference

Every endpoint, with its request, response and errors.

Free sandbox. Credit applies to work-email sign-ups.