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

GST Verification API

Send a 15-character GSTIN. We return whether it is active, cancelled or suspended, the legal and trade name, constitution, taxpayer type, principal address, activities and, if asked, recent filing status.

GST lookup 06ABCDE1234F1Z5 Active Legal nameEXAMPLE TRADERS PVT LTDTrade nameExample TradersStateHaryana (06)Registered01 Jul 2017 GSTR-3B, last 12 months Filed Filed late
Source
GSTN (GST Network) public taxpayer records
Turnaround
Real time, usually one to three seconds
Endpoint
POST /v1/gst/verify
Who can use it
Any business. GSTIN details are public taxpayer information, though you should still use them only for your stated purpose.

Overview

The first check in seller, vendor and B2B customer onboarding. A GSTIN tells you who the business legally is, whether it is still registered, and where it operates. With filing status turned on, you also see whether it files returns on time, which matters if you claim input tax credit on its invoices.

Good to know

It tells you the registration is valid, not that the person you're talking to runs that business. Confirm with a call to the registered contact, a bank account match or GST with OTP.

What you get

  • Cancelled and suspended flagsGSTINs get cancelled suo motu for non-filing. Catch them before you pay or book ITC.
  • Legal vs trade nameInvoices often carry the trade name. We give you both, so you can match the right one.
  • PAN inside the GSTINCharacters 3 to 12 are the PAN. We pull it out so you can run a PAN check on the same entity.
  • Optional filing statusSee the latest GSTR-3B and GSTR-1 filed, a quick read on whether the business is active.

Request

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

FieldTypeStatusDescription
id_numberstringRequired15-character GSTIN
include_filing_statusbooleanOptionalAlso return recent return-filing status (default false)

Response

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

FieldMeaningExample
gstin_statusRegistration status: ACTIVE, CANCELLED or SUSPENDEDACTIVE
legal_nameLegal name of the businessEXAMPLE TRADERS PRIVATE LIMITED
trade_nameTrade nameExample Traders
constitutionConstitution of businessPrivate Limited Company
taxpayer_typeTaxpayer type: Regular, Composition and so onRegular
registration_dateDate of registration2017-07-01
principal_addressPrincipal place of businessPlot 5, Okhla Phase II, New Delhi 110020
nature_of_businessBusiness activities["Wholesale Business", "Retail Business"]
panPAN embedded in the GSTINAAACA1234A
last_return_filedMost recent return filed, if requestedGSTR-3B Oct 2026

Example

curl -X POST https://api.ampletrails.com/v1/gst/verify \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id_number": "07AAACA1234A1Z5", "include_filing_status": true}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "gstin_status": "ACTIVE",
    "legal_name": "EXAMPLE TRADERS PRIVATE LIMITED",
    "trade_name": "Example Traders",
    "constitution": "Private Limited Company",
    "taxpayer_type": "Regular",
    "registration_date": "2017-07-01",
    "principal_address": "Plot 5, Okhla Phase II, New Delhi 110020",
    "nature_of_business": [
      "Wholesale Business",
      "Retail Business"
    ],
    "pan": "AAACA1234A",
    "last_return_filed": "GSTR-3B Oct 2026"
  }
}

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

Use cases

Marketplace seller onboarding

Marketplaces collect TCS under GST and need a valid GSTIN from every seller.

Vendor master clean-up

Finance teams re-run the whole vendor list each quarter to find cancelled GSTINs.

B2B credit

Lenders and distributors check registration age and filing regularity before extending credit.

Questions about this API

What does a GSTIN look like?

Fifteen characters: two-digit state code, the 10-character PAN, an entity number, a 'Z' and a check character. We validate the format and check digit before calling the source.

Why would a GSTIN show as cancelled when the vendor says it's fine?

Most often because returns weren't filed for several months and the officer cancelled it. The vendor can apply for revocation, but until then ITC on their invoices is at risk.

Can I get the business's phone or email?

No. GSTN doesn't publish contact details. Use GST with OTP if you need the taxpayer to prove control of the registration.

Does this show turnover?

No. Turnover data needs the taxpayer's consent through GST with OTP.

Try the GST Verification API

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