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

EPFO / UAN Verification API

After the employee shares an EPFO OTP, returns their UAN, name, current employer, full employment history with dates and recent PF contribution details.

Details you hold Account no.XXXXXX4521 IFSCBANK0001234 ₹1 IMPS Bank returns Account holderRAVI KUMAR StatusActive Name match 94 Safe to send the first payout to this account
Source
EPFO member records
Turnaround
Real time once the employee enters the OTP; slower near month end
Endpoint
POST /v1/epfo/passbook
Who can use it
Lenders, employers and screening firms with the employee's OTP-based consent.

Overview

Salary slips and offer letters are easy to fake. EPFO records aren't. With an OTP from the employee, this API fetches their UAN details from EPFO: their name, current and past employers, joining and exit dates and recent PF contributions. Lenders use it to confirm salaried income; HR teams use it to confirm work history.

Good to know

Only covers employees under EPF. Contributions are a rough guide to wages, not the actual salary.

What you get

  • Employer from EPFOThe establishment name comes from PF filings, not from what the applicant typed.
  • Full job historyEvery employer under the UAN with dates, so gaps and overlaps show up.
  • Contribution trendRecent months of PF contributions tell you the job is current and roughly what it pays.
  • OTP-based consentThe employee shares an EPFO OTP, so access is clearly with their consent.

Request

POST https://api.ampletrails.com/v1/epfo/passbook

FieldTypeStatusDescription
mobilestringRequiredMobile number linked to the UAN
uanstringOptionalUniversal Account Number, if known
otpstringOptionalEPFO OTP from the employee (second step)
consentstringRequiredY when the employee has consented

Response

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

FieldMeaningExample
uanUniversal Account Number100123456789
nameMember name in EPFO recordsRAVI KUMAR
current_employerMost recent establishment nameExample Technologies Pvt Ltd
date_of_joiningJoining date at the current employer2022-04-01
employment_historyList of past establishments with joining and exit dates[…]
last_contribution_monthMost recent month with a PF contribution2026-11
avg_monthly_contributionAverage employee share over the last 6 months, in ₹3600

Example

curl -X POST https://api.ampletrails.com/v1/epfo/passbook \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mobile": "9876543210", "uan": "100123456789", "otp": "123456", "consent": "Y"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "uan": "100123456789",
    "name": "RAVI KUMAR",
    "current_employer": "Example Technologies Pvt Ltd",
    "date_of_joining": "2022-04-01",
    "employment_history": "[…]",
    "last_contribution_month": "2026-11",
    "avg_monthly_contribution": 3600
  }
}

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

Use cases

Salaried personal loans

Confirm the employer and that contributions are still coming in before you disburse.

Background verification

Check claimed experience against EPFO history instead of calling old HR departments.

Tenant screening

Co-living and rental platforms check that a tenant's job is real and current.

Questions about this API

What if the employee doesn't have a UAN?

Smaller firms below the EPF threshold, government and some PSU staff, and the self-employed won't have EPFO records. Use bank statements or ITR instead.

Why is the latest month missing?

Employers file PF returns monthly and some file late. A gap of one or two months is normal; a longer one is worth asking about.

Does it show the salary?

Not directly. It shows PF contributions, which are based on wages and often capped at ₹15,000 basic, so treat it as a floor, not exact pay.

What if the EPFO portal is slow?

It does slow down around month end. We return a source_unavailable error and you can retry or let the user come back.

Try the EPFO / UAN Verification API

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