1. Home
  2. APIs
  3. Business

IEC verification API

Verify an Importer–Exporter Code with DGFT.

Mode: Instant
Checked against: DGFT

Overview

Returns the firm name, address, PAN and current status of an IEC, plus branch details where available.

POST/v1/verify/iec

Where it’s used

  • Trade finance
  • Cross-border logistics
  • Export marketplaces

How the check runs

  1. You send the 10-character IEC.
  2. We query DGFT.
  3. You get the firm details and status.

Request

FieldDescription
iec10-character IEC
curl -X POST https://api.yetlix.com/v1/verify/iec \
  -H "x-client-id: $YETLIX_CLIENT_ID" \
  -H "x-client-secret: $YETLIX_CLIENT_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"iec":"AABCY1234M"}'

Response fields

Inside the data object. The envelope (status, request_id, billable, timestamp) is the same for every API and is described in the docs.

FieldTypeMeaning
iecstringImporter–Exporter Code (same as the firm’s PAN for most entities).
firm_namestringRegistered firm name.
statusenumActive, Suspended or Cancelled.
panstringFirm PAN.
branchesarrayRegistered branch addresses.

Outcomes and what to do

Every check can end in a handful of ways. Decide up front what your product does in each case, so nothing falls through to a support ticket.

Active

Can import/export.

Do this: Proceed.

Suspended / Cancelled

Can’t trade across borders.

Do this: Don’t onboard for trade services.

Sandbox test values

Send these values in iec with your sandbox key to get each result. Anything else returns INVALID_INPUT in sandbox.

ValueReturns
AABCY1234MActive
AAACZ0000ZSuspended

Run these in the playground

Best practices

  • DGFT requires IEC holders to update details every year; an IEC not updated can be de-activated, so re-check before large shipments.

Compliance note. An IEC is required for most import and export activity under the Foreign Trade Policy.

Often used with