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

Form 26AS API

With the taxpayer's consent, returns Form 26AS for a PAN and assessment year: deductor-wise TDS entries, TCS, advance tax and totals.

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
Income Tax Department (TRACES / e-filing portal) records
Turnaround
Usually under a minute; slower during filing season
Endpoint
POST /v1/tax/26as
Who can use it
Lenders and businesses with the taxpayer's explicit consent and a clear purpose such as income assessment.

Overview

Form 26AS is the Income Tax Department's record of tax credited against a PAN: every TDS entry from every deductor, TCS, advance tax and self-assessment tax. For lenders it's an independent view of income that the applicant can't edit. For finance teams it's the easiest way to reconcile TDS claims.

Good to know

Only income with TDS or TCS shows up. Quarterly filing means the latest months are often missing.

What you get

  • Deductor-wise TDSEach entry shows the deductor's name and TAN, the section, the amount paid and tax deducted.
  • Income evidenceSalary under 192 and professional fees under 194J tell you who pays the applicant and roughly how much.
  • Any assessment yearFetch the years you need, not just the latest one.
  • Structured outputTotals and line items as JSON, ready for your rules or underwriting sheet.

Request

POST https://api.ampletrails.com/v1/tax/26as

FieldTypeStatusDescription
panstringRequiredTaxpayer's PAN
assessment_yearstringRequiredAssessment year to fetch
consentstringRequiredY when the taxpayer has consented

Response

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

FieldMeaningExample
nameTaxpayer nameRAVI KUMAR
assessment_yearAssessment year returned2026-27
tds_entriesTDS entries: deductor, TAN, section, amount paid, tax deducted[…]
total_amount_paidTotal payments reported by deductors in ₹1450000
total_tdsTotal tax deducted at source in ₹132000
tcs_entriesTax collected at source entries[]
advance_tax_paidAdvance and self-assessment tax paid in ₹15000

Example

curl -X POST https://api.ampletrails.com/v1/tax/26as \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pan": "ABCDE1234F", "assessment_year": "2026-27", "consent": "Y"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "name": "RAVI KUMAR",
    "assessment_year": "2026-27",
    "tds_entries": "[…]",
    "total_amount_paid": 1450000,
    "total_tds": 132000,
    "tcs_entries": "[]",
    "advance_tax_paid": 15000
  }
}

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

Use cases

Self-employed lending

Professionals and consultants with 194J deductions can prove income without a CA certificate.

Salary confirmation

Match TDS under section 192 with the employer and salary the applicant declared.

TDS reconciliation

Check whether a customer or vendor has deposited the TDS they deducted on your payments.

Questions about this API

How does the taxpayer give access?

Through a consent step in your journey and, depending on the route, a login or OTP on the tax portal. We'll walk you through the flow for your volume.

Why doesn't 26AS match the ITR?

26AS only shows income where tax was deducted or collected. Rent from individuals, interest under thresholds and business income often won't appear.

How current is it?

Deductors file TDS returns quarterly, so recent months can be missing. A quarter's entries usually appear after its filing deadline.

Is this the same as AIS?

No. AIS covers more information, such as interest, dividends and high-value transactions. 26AS is focused on tax credits. Tell us if you need AIS-type data.

Try the Form 26AS API

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