AmpleTrails, Gurugram · since 2012 +91 93154 41053 WhatsApp info@ampletrails.com Developer guide · Guides
Products
Identity verificationBusiness verification (KYB)Bank, income & creditFace match & OCRVideo KYC, eSign & flowsCompliance & riskPayouts & messagingAll 52 APIs
Use cases
Customer onboarding (KYC)Merchant & seller onboarding (KYB)Vendor & supplier verificationEmployee background checksGig and field worker onboardingLoan underwritingPayout and refund validationDuplicate and synthetic identity detection
Industries
Fintech & Digital LendingBanks & NBFCsInsuranceBroking, Mutual Funds & WealthCrypto & VDA PlatformsReal-money GamingE-commerce & MarketplacesStaffing, Gig & HRTelecomMobility & LogisticsReal Estate & RentalsB2B & Procurement
Resources
GuidesGlossaryFAQSecurity & data
DevelopersPricingAbout
Theme
Get API keysCall +91 93154 41053

Passport Verification API

Send the passport application file number and DOB. We confirm the record exists and return the name, passport number, application type and current status.

Identity document · sample NameRAVI KUMAR NumberABCDE1234F Matches the record Name match96 / 100 PAN statusOperative Aadhaar linkLinked
Source
Passport Seva records, Ministry of External Affairs
Turnaround
Real time, usually a few seconds
Endpoint
POST /v1/passport/verify
Who can use it
Any business with the holder's consent and a KYC or employment purpose.

Overview

Passports are strong ID but easy to fake as a photocopy. This check confirms the application behind the passport exists in Passport Seva and that the name matches. Ask for the file number, printed on the last page of newer passports.

Good to know

It works on the file number, not the passport number alone. Passports issued before online records, or abroad by missions, may not return a result.

What you get

  • File number lookupThe file number ties the passport to its original application, which a forged copy can't fake.
  • Passport number cross-checkSend the passport number from the document and we confirm it matches the record.
  • Application statusShows if the passport was actually dispatched, or if the application is still pending or on hold.
  • Works for NRIs in IndiaUseful for NRI customers with passports issued in India who are opening accounts here.

Request

POST https://api.ampletrails.com/v1/passport/verify

FieldTypeStatusDescription
file_numberstringRequiredPassport application file number
dobstringRequiredHolder's date of birth (YYYY-MM-DD)
passport_numberstringOptionalPassport number, to cross-check
consentstringRequiredY if the user has given explicit consent

Response

Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.

FieldMeaningExample
record_foundWhether a matching passport record was foundtrue
full_nameName as per passport recordsRavi Kumar
passport_numberPassport number on recordZ1234567
application_typeApplication type, for example Fresh or ReissueFresh
date_of_applicationDate the application was received2018-06-20
statusStatus of the passport applicationPassport Dispatched

Example

curl -X POST https://api.ampletrails.com/v1/passport/verify \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"file_number": "DL1061234567890", "dob": "1990-04-12", "passport_number": "Z1234567", "consent": "Y"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "record_found": true,
    "full_name": "Ravi Kumar",
    "passport_number": "Z1234567",
    "application_type": "Fresh",
    "date_of_application": "2018-06-20",
    "status": "Passport Dispatched"
  }
}

Example data. The exact field list for your account comes with your sandbox documentation.

Use cases

Overseas hiring

Recruitment agencies confirm passports before processing visas.

Premium accounts

Wealth and forex businesses use passports as primary ID for high-value customers.

Travel and forex

Forex cards and outward remittances often rely on passport details.

Questions about this API

Where does the user find the file number?

On newer passports it is printed on the last page. It is also in the Passport Seva acknowledgement receipt.

What if they only have the passport number?

The source needs the file number. Use Global ID Verification or OCR on the data page to read and check the MRZ instead.

Does a 'Dispatched' status mean the passport is valid today?

It means it was issued and sent. Check the expiry date on the document itself as well.

Can I verify foreign passports?

Not with this API. Use Global ID Verification for passports issued by other countries.

Try the Passport Verification API

Sandbox keys, the full field reference and a Postman collection, usually within a working day.