Skip to main content

Didit API Rate Limits per Endpoint: 600/min Create, 100/min Decision

Didit limits requests per key or IP on a 60-second window: 600/min session creates, 100/min v1 and v2 decisions, 50/min PDFs, 10/min add-images, and 600/min for GET /v3/session/{id}/decision/.

Didit API Rate Limits per Endpoint: 600/min Create, 100/min Decision

Contents

In this guide

Jump to the part you need.

This guide fits backend teams that call POST /v3/session/ and then read decisions, PDFs, or add images on existing sessions. We bill per completed check, so a full KYC is $0.33 and a rate limit never adds a charge. The caveat: every counter is a fixed 60-second window per API key or client IP, and the tightest scopes allow 10 requests a minute, so build the retry path before launch.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Didit rate limits at a glance

Rate-limit scopes, endpoints and 60-second budgets, read from docs.didit.me on November 26, 2026
ScopeEndpoint(s)Limit
session-v2-createPOST /v2/session/, POST /v3/session/600 per minute
session-decisionGET /v1/session/<id>/decision/, GET /v2/session/<id>/decision/100 per minute
session-generate-pdfGET /v1/session/<id>/generate-pdf/, GET /v3/session/<id>/generate-pdf/50 per minute
session-add-imagesPOST and PATCH /session/<id>/add-images/10 per minute
session-update-kycPOST and PATCH /session/<id>/update-data/10 per minute
session-update-poaPOST and PATCH /session/<id>/update-poa-data/10 per minute
generic-getevery other GET, including GET /v3/session/<id>/decision/600 per minute
generic-writePOST, PATCH, DELETE300 per minute
ingest-writePOST /v3/transactions/, POST /v3/events/, POST /v3/events/batch/600 per minute

Start free in the sandbox at business.didit.me with no sales call. For the agent route, point an AI assistant at the documented MCP server at Didit MCP. The same endpoint creates KYB sessions when the workflow is a KYB workflow, documented at Create Session. Unit prices for every check sit on the pricing page, and the endpoint behaviour described here is documented at docs.didit.me/integration/rate-limiting.

Which identifier the limiter counts

Each scope keeps an independent counter in a fixed 60-second window, keyed on one identifier. The middleware picks it in order: the x-api-key header first, then the first hop in X-Forwarded-For, then REMOTE_ADDR. A request with no key is counted against the caller IP, and two backends that share one key share one budget.

Four kinds of traffic bypass the limiter entirely:

  • The internal DIDIT_WEBAPP_API_KEY, used only by the Didit console.
  • Endpoints protected by the IsValidSession permission, which is the embedded and SDK session traffic.
  • GET /system/healthcheck, served before this middleware stack.
  • Provider webhooks: Stripe, AML screening, face verification callbacks and KYC list mutation.

Global limits every request inherits

Every authenticated request is also bucketed by HTTP method, so a new route never starts without a ceiling. GET traffic shares generic-get at 600 per minute. POST, PATCH and DELETE share generic-write at 300 per minute. Transaction creates and event ingestion are the exception: POST /v3/transactions/, POST /v3/events/ and POST /v3/events/batch/ count against ingest-write at 600 per minute instead of generic-write, so a high-volume ingestion pipeline does not eat the write budget of your onboarding calls.

What 600, 100, 50 and 10 mean in practice

Endpoint scopes apply in addition to the global one, and the first scope to exceed its counter is the one that returns 429. Session creation at 600 per minute is 10 creates a second, which covers a launch spike but not a bulk backfill of last quarter's signups in one burst. Decisions on the v1 and v2 paths at 100 per minute is 1.67 calls a second, so polling 200 live sessions once a second trips it. Reading v3 decisions at 600 per minute lifts that ceiling, but every read is still a request you did not need: a status.updated webhook arrives on its own, and outbound webhook delivery is separate from the API request counters in these scopes, so receiving an event does not draw on the budget your polling would use. PDFs at 50 per minute is 0.83 a second, so a nightly archive job that renders thousands of reports has to queue across windows. Add-images and the two update scopes at 10 per minute are the tightest of all: treat them as operator routes for fixing one session, not as bulk correction endpoints.

The v3 decision read is not in the decision scope

Read decisions from GET /v3/session/<id>/decision/ as the default path. It is served by a separate view and is not part of session-decision: it is governed only by the generic-get ceiling of 600 per minute. The 100 per minute throttle applies to the older v1 and v2 decision paths, which is the one exception to keep in mind if you still call them. On v3 your read budget is six times larger, but it is still shared with every other GET your key makes.

Free and paid session constants are not live

The codebase defines FREE_SESSION_RATE_LIMIT = 10 and PAID_SESSION_RATE_LIMIT = 600, but neither is applied to POST /v3/session/ today. That endpoint uses the single session-v2-create limit of 600 per minute for every application. Do not plan capacity around a per-workflow free-tier throttle until it is documented as live.

What a 429 response contains

When you exceed a middleware budget you get HTTP 429 with the documented detail message plus additive metadata. Endpoint caps, resubmission cooldowns and idempotency conflicts keep their own error contracts, so read the headers rather than assume this shape everywhere.

HTTP/1.1 429 Too Many Requests
Content-Type: application/json
X-RateLimit-Scope: session-v2-create
X-RateLimit-Limit: 600
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1794358860
Retry-After: 37

{
  "detail": "Session creation rate limit exceeded. You can make up to 600 requests per minute.",
  "reference": "RL-00000000000040008000000000000001",
  "limit": 600,
  "remaining": 0,
  "reset": 1794358860,
  "window_seconds": 60
}
  • X-RateLimit-Scope names the counter that tripped, so you know whether to slow creates or reads.
  • Retry-After is the seconds to wait, rounded up so the next attempt lands in the next window.
  • Successful responses do not emit X-RateLimit headers today, so you cannot read your remaining budget from a 200. X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After appear only on a 429 response.
  • reference is an opaque support reference starting with RL-. Save it for support tickets and never parse it for business logic.

Client guidance from our docs: treat Retry-After as the floor, layer exponential backoff with jitter on top (5s, 10s, 20s, 40s, plus random), and stop after a small ceiling such as 5 attempts so a runaway loop surfaces to your team instead of hammering us. Use one key per workload, because a shared key collapses separate services into one counter.

Integration route: API key, webhook destination, MCP connector

Prerequisites for the route, by plan, client and permission
PrerequisiteWhat you needWhere it comes from
PlanFree works for build and test: $10 of monthly credit for eligible work emails, sandbox free on every plan. Enterprise raises the limits described here on request.didit.me/pricing
ClientAny HTTP client or an official SDK, plus an HTTPS endpoint for webhooks.Create Session docs
PermissionAn API key with the privileges your calls need. The decision and PDF endpoints require read:sessions. Key IP allowlists and workflow limits still apply.API keys docs
Webhook secretA destination signing secret, used to compute and check X-Signature-V2.Webhooks docs
MCP clientAn MCP client pointed at https://mcp.didit.me/mcp with OAuth sign-in.MCP setup
  1. Create the key. In the Business Console, open the API keys page and create a key with the privileges required by your calls. The decision and PDF endpoints require read:sessions. Store it as DIDIT_API_KEY. Do not reuse this key for a second service; one key per workload keeps the 600 per minute create budget predictable.
  2. Create a session. Send workflow_id and vendor_data. A KYC workflow creates a user session, a KYB workflow creates a business session; there is no separate KYB endpoint.
    curl -X POST https://verification.didit.me/v3/session/ \
      -H "x-api-key: <API_KEY>" \
      -H "Content-Type: application/json" \
      -d '{"workflow_id":"<WORKFLOW_UUID>","vendor_data":"user-1042","callback":"https://app.example.com/done"}'
    Keep the returned session_id. If your application has allowed domains, an http or https callback must sit on one of those origins or creation fails with 400.
  3. Register a webhook destination subscribed to status.updated (and data.updated if you edit session data). There is no wildcard, so list every event family you want.
  4. Verify the signature before parsing. Check that X-Timestamp is within 300 seconds of now, recompute HMAC-SHA256 over the sorted, Unicode-preserved canonical JSON with the destination secret, and compare in constant time against X-Signature-V2 and, when present, X-Signature-V2-Previous. Accept a match on either so a rotated secret keeps verifying during the 24-hour overlap.
    import crypto from "node:crypto";
    
    const raw = await readRawBody(req); // raw body, not parsed JSON
    const sent = req.headers["x-signature-v2"];
    const ts = Number(req.headers["x-timestamp"]);
    
    if (Math.abs(Date.now() / 1000 - ts) > 300) throw new Error("stale webhook");
    
    const expected = crypto
      .createHmac("sha256", process.env.DIDIT_WEBHOOK_SECRET)
      .update(canonicalJson(raw)) // sorted keys, Unicode preserved
      .digest("hex");
    
    if (!crypto.timingSafeEqual(Buffer.from(sent), Buffer.from(expected))) {
      throw new Error("bad signature");
    }
    Return 2xx fast and update state idempotently with event_id.
  5. Read the decision only when you need the body. The webhook carries a decision object for Approved, Declined, In Review and Abandoned. For anything else, or after verifying with the deprecated X-Signature-Simple, fetch it yourself from the v3 path.
    curl https://verification.didit.me/v3/session/<SESSION_ID>/decision/ \
      -H "x-api-key: <API_KEY>"
    Branch on session_kind: user for KYC, business for KYB.
  6. Generate the PDF from a finished session when you need an audit record. The session must be Approved, Declined or In Review; any other status returns 403.
    curl "https://verification.didit.me/v3/session/<SESSION_ID>/generate-pdf/?language=en" \
      -H "x-api-key: <API_KEY>" \
      -o report.pdf
    Generation is read-only and safe to retry, and it counts against the 50 per minute PDF scope.
  7. Connect an AI assistant, if that is your route. Didit publishes a hosted MCP server at https://mcp.didit.me/mcp with OAuth sign-in, free on every plan, and setup for every client is documented at didit.me/developers/mcp. We do not document a separate native connector for any one assistant, so point your MCP client at that URL, and fall back to the REST API or the webhook route above for anything the connector does not cover.
Use Didit with MCP, showing the connector path from an AI assistant to the Didit MCP server
The MCP route from an AI assistant to Didit, documented at didit.me/developers/mcp.

Field and event mapping

How webhook fields, rate-limit headers and decision fields line up
Field or eventWhat it maps toWhere to read it
status.updatedA session status change, with exact case-sensitive values such as Approved, Declined, In Review or Kyc ExpiredWebhook envelope
decisionThe same object as GET /v3/session/<id>/decision/, with plural feature arraysWebhook envelope, when the status is terminal or in review
session_kinduser or business, the branch you must always takeDecision body
vendor_dataYour own stable identifier for the person or companyCreate request, echoed in decision and webhook
X-Signature-V2HMAC-SHA256 over sorted canonical JSON, the recommended checkWebhook request header
X-TimestampUnix epoch seconds at dispatch; reject anything older than 300 secondsWebhook request header
X-RateLimit-ScopeWhich of the scopes in the first table tripped429 response header
Retry-AfterSeconds to wait before the next attempt, sent only on 429429 response header
A session overview in the Didit Business Console with its warnings
The same session you read over the API, opened in the Business Console.

Test with sandbox data, then handle the errors

Sandbox testing is free and unlimited on every plan. The documented sandbox endpoints are GET /v1/sandbox/scenarios/ for the scenario catalog and POST /v3/session/{session_id}/sandbox/arm/ to arm or re-arm a scenario while the session is still Not Started. Pass a slug from the catalog as sandbox_scenario on create, or arm it after create, and the slug comes back in the webhook envelope as sandbox_scenario, which makes the test path easy to spot in logs. Scenarios are rejected with 400 on live applications.

Expected success looks like this: create returns a session with a session_url and status Not Started, the hosted flow finishes, and your endpoint receives status.updated with a valid X-Signature-V2 and, on a decided session, a decision object. A PDF request on that session returns binary application/pdf with a filename such as session_<id>.pdf.

Common failures on this route and the fix
What you seeCauseFix
401 Authentication credentials were not provided or are invalidWrong, malformed, revoked or expired keyCheck DIDIT_API_KEY or create a new key
403 You do not have permission to perform this actionNo key sent, key lacks read:sessions, or the call came from outside the key IP listSend the key, add the privilege, or fix the IP list
400 on callbackCallback origin is not on the application allowed domainsUse an allowed origin or a custom app scheme
403 on generate-pdfSession is Not Started, In Progress, Expired, Abandoned, Kyc Expired, Resubmitted or Awaiting UserWait for a printable status
404 Session not foundWrong id, another application, or the key workflow and status limits exclude itCheck the id and the key limits
409 with a codeReused Idempotency-Key or a step that already ranRead code and reload state
429A scope budget is exhaustedWait Retry-After, then back off with jitter
500, 502, 503Unexpected error on our side or a dependency unavailableRetry with backoff; the body may not be JSON
Signature mismatch on a webhookWrong secret, or the body was parsed and re-encoded before verificationVerify over the raw bytes, then parse
Stale timestamp on a webhookServer clock skew over 300 secondsSync the host clock
The ID document section of a session in the Didit Business Console
Each feature array in the decision has a matching section in the console.

Disconnect and rotate

To stop the integration, revoke the API key in the Business Console, delete the webhook destination so no further events are dispatched, and remove the Didit MCP connector from your assistant if you added one. A revoked key answers 401 immediately. When you rotate a destination secret instead of deleting it, both signatures are sent for 24 hours, so verify against the current and previous header while you deploy.

Cost of both ends

Rate-limit counters and billing are two separate systems, and it helps to keep them apart. The limiter counts requests per 60-second window and refuses the excess; billing counts completed checks against prepaid credit. A request refused with 429 never reaches the endpoint, so it never becomes a billable check.

On our side, a full KYC is $0.33, AML screening is $0.20, a proof of address is $0.20, and KYB registry retrieval is priced by country and data tier from $2.00 per company. The live price feed lists no separate line for PDF generation, so we do not quote a price for it; the docs describe it as read-only and note that it counts against the 50 per minute scope.

On your side the cost is retries, polling volume and engineering time. Polling is the expensive habit: 5,000 sessions polled every 3 seconds produce about 100,000 requests per minute, far above the 600-per-minute generic-get budget. The same 5,000 sessions delivered by status.updated webhooks cost you one inbound request per status change. Note also that some no-match database lookups and retries are billable, as listed on the pricing docs page.

Worked cost example

Take 40,000 completed KYC checks and 2,000 KYB companies with three people each in a month, at list prices.

  • KYC: 40,000 x $0.33 = $13,200.
  • KYB registry retrieval from $2.00 per company: 2,000 x $2.00 = $4,000.
  • Person AML on three UBOs: 2,000 x 3 x $0.20 = $1,200.
  • List total: $13,200 + $4,000 + $1,200 = $18,400.

On the Scale plan the Didit prices carry a 10% discount, so KYC becomes 40,000 x $0.297 = $11,880 and person AML becomes 2,000 x 3 x $0.18 = $1,080, against a $299 monthly fee and $350 of monthly credit. Rate limits do not change any of these numbers. What changes them is a burst: 12,000 sessions requested in 10 minutes is 12,000 divided by 10, or 1,200 creates a minute, twice the 600 per minute budget. Spread the burst across at least 20 one-minute windows, or ask about an Enterprise limit raise.

Sources

Next step: create a free sandbox account at business.didit.me, send one create call, and watch a status.updated webhook arrive before you size any capacity. No sales call needed.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What is the Didit session create rate limit?

600 requests per minute for POST /v2/session/ and POST /v3/session/, under the scope name session-v2-create, counted in a fixed 60-second window per API key or client IP. Every application gets the same 600 per minute today, because the separate free and paid session constants are defined but not applied.

What is the rate limit on the Didit decision endpoint?

Read decisions from GET /v3/session/<id>/decision/, which is governed by the generic-get ceiling of 600 requests per minute, shared with every other GET your key makes. The 100 requests per minute session-decision scope applies only to the older v1 and v2 decision paths.

Should I poll the decision endpoint or use Didit webhooks instead of polling?

Use webhooks. Subscribe a destination to status.updated and the envelope carries the decision object when a session is Approved, Declined, In Review or Abandoned. Polling scales badly: 5,000 sessions polled every 3 seconds is about 100,000 requests a minute against a 600 per minute read budget, and 200 sessions checked once a second is 12,000 requests a minute against the 100 per minute v1 and v2 scope.

How do I retry a 429 from the Didit API?

Read Retry-After and wait at least that long, because it is rounded up so the next attempt lands in the next window. Add exponential backoff with jitter on top, roughly 5s, 10s, 20s and 40s plus random, and stop after about 5 attempts. Save the reference from the body if you open a support ticket.

Does the Didit SDK retry a 429 automatically?

The documentation we supply does not specify automatic SDK retries for 429, so do not assume one. Handle the wait in the caller: read Retry-After and use it as the floor, then add exponential backoff with jitter and stop after about 5 attempts. The rate-limiting page at docs.didit.me/integration/rate-limiting publishes the headers, the body fields and that backoff guidance for exactly this purpose.

How do I verify a Didit webhook signature?

Read the raw body before parsing, confirm X-Timestamp is within 300 seconds, recompute HMAC-SHA256 over the sorted, Unicode-preserved canonical JSON using your destination secret, and compare in constant time with X-Signature-V2. Also accept a match on X-Signature-V2-Previous when present, which keeps verification working for 24 hours after a secret rotation.

What webhook verification errors will I see and how do I fix them?

A signature mismatch usually means the wrong secret or a body that was parsed and re-encoded before verification, so verify the raw bytes first. A stale timestamp means clock skew over 300 seconds, so sync the host clock. If you verified with the deprecated X-Signature-Simple, it authenticates only the envelope, so re-fetch the decision from GET /v3/session/<session_id>/decision/ instead of trusting the payload.

Do free and paid sessions have different rate limits?

No. FREE_SESSION_RATE_LIMIT = 10 and PAID_SESSION_RATE_LIMIT = 600 exist in the codebase but are not applied to POST /v3/session/. That route uses the single 600 per minute limit for every application, so do not plan capacity around a free-tier throttle.

Do rate limits apply to sandbox testing?

Sandbox testing is free and unlimited on every plan, and the documented sandbox endpoints let you reproduce outcomes on demand. Call GET /v1/sandbox/scenarios/ for the scenario catalog and pass a slug as sandbox_scenario on create, or arm one later with POST /v3/session/{session_id}/sandbox/arm/ while the session is still Not Started. The rate-limit documentation does not publish a separate sandbox budget, so plan capacity against the per-scope limits above.

Can I get higher limits on Enterprise?

Yes. On Enterprise, the global limits and the session-v2-create, session-decision and session-generate-pdf limits can be raised on request. Enterprise contracts start at $15,000 a year on an annual contract.

Does sharing one API key across services cause 429 errors?

Yes. Counters are keyed on x-api-key first, so every service using one key draws from the same 600 per minute create budget and one noisy neighbour can starve the rest. Use one key per workload, and keep a separate key for backfills.

Which limits are tightest for fixing a session after the fact?

Add-images and the two data update scopes share the smallest budgets: 10 per minute each for POST and PATCH /session/<id>/add-images/, /session/<id>/update-data/ and /session/<id>/update-poa-data/. Build those as operator actions on one session, not as a bulk correction job.

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.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • 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.

Verify your first user today.

Start free

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