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

IEC Verification API

Send a 10-character IEC. We return its status, the firm name, linked PAN, issue date, registered address, firm type, number of branches and the directors or partners on record.

GST lookup 06ABCDE1234F1Z5 Active Legal nameEXAMPLE TRADERS PVT LTDTrade nameExample TradersStateHaryana (06)Registered01 Jul 2017 GSTR-3B, last 12 months Filed Filed late
Source
DGFT Import Export Code records
Turnaround
Real time, usually a few seconds
Endpoint
POST /v1/iec/verify
Who can use it
Any business working with importers and exporters, including freight forwarders, trade finance and cross-border payments.

Overview

No IEC, no import or export. Freight forwarders, trade-finance lenders and cross-border payment companies check it before taking on a client. Since 2018 the IEC is the same as the business's PAN, which makes it easy to cross-check with tax records.

Good to know

IEC holders must update their profile every year. A suspended IEC is often just a missed annual update, not wrongdoing, but they can't trade until it's fixed.

What you get

  • Active, suspended or cancelledSee if the code can be used for shipments today.
  • PAN linkThe IEC and PAN should match. If they don't, it's worth asking why.
  • Directors and partnersNames on record help you check the people behind the firm.
  • BranchesRegistered branches show how widely the business operates.

Request

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

FieldTypeStatusDescription
id_numberstringRequired10-character Import Export Code

Response

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

FieldMeaningExample
iec_statusIEC status: ACTIVE, SUSPENDED or CANCELLEDACTIVE
firm_nameName of the importer or exporterEXAMPLE EXPORTS PRIVATE LIMITED
panPAN linked to the IECAAACA1234A
date_of_issueIEC issue date2018-11-02
addressRegistered addressPlot 7, Sector 37, Gurugram, Haryana 122001
firm_typeNature of the firmPrivate Limited Company
branchesNumber of registered branches2
directorsDirectors or partners on record["Ravi Kumar"]

Example

curl -X POST https://api.ampletrails.com/v1/iec/verify \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id_number": "AAACA1234A"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "iec_status": "ACTIVE",
    "firm_name": "EXAMPLE EXPORTS PRIVATE LIMITED",
    "pan": "AAACA1234A",
    "date_of_issue": "2018-11-02",
    "address": "Plot 7, Sector 37, Gurugram, Haryana 122001",
    "firm_type": "Private Limited Company",
    "branches": 2,
    "directors": [
      "Ravi Kumar"
    ]
  }
}

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

Use cases

Trade finance

Lenders verify exporters before packing credit or invoice finance.

Freight and customs brokers

Check the client's IEC before filing shipping bills.

Cross-border payments

Collection and payout businesses verify IEC for export receipts.

Questions about this API

Why is the IEC the same as the PAN?

Since 2018, DGFT issues the IEC using the business's PAN, so the two are identical for newer codes.

What makes an IEC suspended?

Most often the holder didn't update their IEC profile in the annual window. They can fix it on the DGFT portal.

Does it show past shipments?

No. It's the registration record only.

Can an individual have an IEC?

Yes, proprietors and individuals can. The firm type tells you which you're dealing with.

Try the IEC Verification API

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