Start here
Quickstart
First call in five minutes.
Authentication
API keys and SDK tokens.
Environments
Staging and production.
Go-live checklist
Before you switch to production.
Error codes
Every code and whether it bills.
Recipes
Runnable examples in 8 languages.
Products
PAN
Validate a PAN, fetch the detailed record, read a PAN card image.
Aadhaar
OTP-based offline KYC, Aadhaar QR, Aadhaar card OCR and DigiLocker.
Bank
Verify an account number and IFSC, with or without a penny drop.
Business
GST registration, company records and employment history.
Credit and legal
Credit bureau reports and court record checks.
Mobile
Identity details linked to a mobile number.
Driving licence and vehicle
Driving licence verification and OCR, vehicle registration.
Face and liveness
Face match between two images and liveness from a selfie.
Documents
Invoice OCR.
eSign
Aadhaar eSign on a document, then download the signed PDF.
SDKs and sessions
Hosted verification flows for web, Android, iOS, Flutter and React Native.
Choose how to integrate
There are two ways to run checks, and most teams use both.
Call the API directly when you already hold the data (a PAN, a GSTIN, a bank account) or want full control of the user interface. Use a hosted flow when the user has to photograph documents, enter an OTP or take a selfie, so you do not build and maintain those screens yourself. SDKs exist for Web, Android, iOS, Flutter and React Native.
Never put your API key in a browser or mobile app. Client-side code uses an SDK token, which your server mints per user session and which expires after 15 minutes.
Pick checks by use case
How a v2 call works
Every v2 call is aPOST to /v2/verify/<product> with your key pair in the headers. Once the request is authenticated, every 2xx response has these top-level fields, and a raised error always has status, message, error_code and billed:
An authentication failure (401 or 403) returns a plain
detail message instead. Error response shapes lists exactly what each product family returns. Branch on error_code, not on status: a no-record result is a successful check. A call is charged when it finishes with a 2xx response whose status is "success", unless a verification session already pays for that step, and errors are never charged. See Billing and consent.
A typical integration
- Get staging keys and make a first call against
https://dev.idto.ai, following the Quickstart. - Pick the products for your flow from the table above and read each product’s overview and FAQ.
- Handle every outcome in the endpoint’s outcomes table: found, no record, bad input, and retryable errors.
- Send an
Idempotency-Keyon every v2 call, so a retry after a timeout is never charged twice. See Idempotency. - If you use a hosted flow, mint SDK tokens on your server and set up webhooks for session results.
- Work through the Go-live checklist, then switch the base URL and keys to production.
v1 and v2
idto exposes two API generations side by side:/verify/* (v1) and /v2/verify/* (v2). Both are live and both work. v2 is the current standard: a single response envelope across every product, standardized IDTO_* error codes, and idempotency support. Use v2 wherever a product has a v2 endpoint; each product page says which version it is. See API Versioning for the full comparison and for which endpoints are v2-only versus v1-only today.