Verify individuals, businesses and bank accounts in India with REST APIs. One API key gives you:
- PAN, Aadhaar (via DigiLocker), voter ID, driving licence and passport checks
- Business checks: GSTIN, Udyam and CIN
- Bank account and IFSC validation
- Vehicle RC lookups
- Document OCR, face liveness and face matching
- KYC 360, a mobile-number-based identity profile
Server-to-server only. Call these APIs from your backend. Never call them from a browser, mobile app or other client-side code, because that would expose your API key.
Get started in 3 steps
- Create your account. Sign up at the Message Central console and open eKYC Now. New accounts get trial credits for testing.
- Get your credentials. In the eKYC console, go to Developers Guide → API Key and generate your key. Your Customer ID is under Settings. Store both in environment variables or a secrets manager.
- Call the APIs from your backend. Every request sends your key and Customer ID as headers (see Authentication). To test without live data, request Sandbox access from the console (Developers Guide → Sandbox → Request Access). The support team usually replies within 24 hours.
Authentication
Base URL: https://ekyc.messagecentral.com/ekycbusiness/api/v1/
Send these headers with every request:
The input for each check (for example pan_number, gstin or ifsc) is also sent as a header, unless the tables below mark it as a body field.
API catalogue
All paths below are relative to the base URL. Arrows (→) show two-step APIs: the first call starts the check, the second returns the result.
Individual identity: PAN
Individual identity: Aadhaar via DigiLocker
Other ID documents
Business (KYB)
Bank
Employment, OCR and biometrics
KYC 360 (mobile-number OTP flow)
How the multi-step APIs work
- Sync and bulk: the first call returns a reference_id (bulk calls also return a request_id). Poll the matching status endpoint until the result is ready. For PAN Sync, the docs suggest polling every 2 seconds. For large batches, use asynchronous polling rather than tight loops.
- DigiLocker: create the consent URL, redirect your user to it, poll URL Status until it is AUTHENTICATED, then call Get Document.
- Face liveness: start a session (the URL is valid for 150 seconds), show the URL to your user, then fetch the result with the trace_id within 24 hours.
- KYC 360: send an OTP to the user's mobile, then verify it with the request_id and the OTP the user enters.
Example: PAN 360
Request:
curl --request POST 'https://ekyc.messagecentral.com/ekycbusiness/api/v1/pan/360-verify' \
--header 'pan_number: ABCDE1234F' \
--header 'api_key: Bearer YOUR_API_KEY' \
--header 'customer_id: YOUR_CUSTOMER_ID'Sample response (trimmed, sample data):
{
"api_status": "SUCCESS",
"api_data": {
"response_code": 200,
"api_data": {
"status": "VALID",
"message": "PAN verified successfully",
"pan": "ABCDE1234F",
"registered_name": "JOHN SNOW",
"type": "Individual or Person",
"aadhaar_linked": true,
"masked_aadhaar_number": "XXXXXXXX8848"
}
}
}Errors and limits
- 401 Unauthorized: the API key or Customer ID is missing or wrong, or the key is not prefixed with "Bearer ".
- 400 / 422 validation errors: the input is in the wrong format or missing, for example an invalid PAN format, an invalid IFSC or a missing DOB. Each API returns its own message.
- Rate limits: applied per operation and per IP. Excessive or abusive request patterns may be temporarily rate-limited.
- 500: internal error. Retry with backoff, and contact support if it continues.
Security best practices
- Call the APIs only from your backend.
- Keep api_key in environment variables or a secrets manager (AWS Secrets Manager, Vault).
- Rotate API keys periodically.
- Session URLs (DigiLocker, liveness) are time-bound, so create them only when the user is ready.
Need help?
Email support@messagecentral.com. For high-volume NBFC and fintech integrations, talk to sales.
Frequently Asked Questions
What is an eKYC API?
An eKYC API lets your application verify a customer's identity programmatically against official records, such as PAN, Aadhaar via DigiLocker, voter ID, driving licence or passport. No manual document checks are needed.
Which verifications does eKYC Now support?
Individuals: PAN (360, Lite, sync, bulk), Aadhaar via DigiLocker, voter ID, driving licence and passport. Businesses: GSTIN, Udyam and CIN. Bank: bank account and IFSC. Other: vehicle RC, Employee 360, document OCR, face liveness, face matching and KYC 360.
How do I authenticate?
Send your API key (prefixed with "Bearer ") and your Customer ID as headers on every request. Generate the key in the eKYC console under Developers Guide → API Key.
Can I call the APIs from my frontend or mobile app?
No. They're for server-to-server use only, so your API key is never exposed.
Is there a sandbox?
Yes. Request Sandbox access from the eKYC console, under Developers Guide → Sandbox.
How does Aadhaar verification work?
Through DigiLocker. Your user gives consent on a secure DigiLocker page, you poll for status, then you fetch the verified Aadhaar data, including name, DOB, address, photo and XML.
Can I verify in bulk?
Yes. PAN and bank account verification have bulk endpoints. Submit a batch, then poll the status endpoint for per-record results.
What does KYC 360 return?
After your user confirms an OTP sent to their mobile number, KYC 360 returns the identity information available for that number. That covers personal details, linked IDs, addresses, bank and employment details, and mobile-number and risk intelligence.
Which languages can I use?
Any backend language that can make HTTPS requests, such as Python, Node.js, Java, PHP, .NET or Go.
Is eKYC legal in India?
Yes. Digital KYC is regulated in India; for example, RBI sets KYC rules for regulated entities, and UIDAI governs Aadhaar-based verification. You are responsible for collecting customer consent and handling identity data securely.
