Skip to content

Importer-Exporter Details API API

by apisetu.gov.in

API keyHTTPSOpen Data
Open documentation ↗

Overview

The Importer-Exporter Code (IEC), issued by Directorate General of Foreign Trade (DGFT), is a key business identification number which is mandatory for Exports or Imports. This API can be used to get details of a importer-exporter by importer-exporter code.

Importer-Exporter Details API is an open data API from apisetu.gov.in. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 1 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Open Data
Base URL
https://apisetu.gov.in/dgft
Version
3.0.0
Endpoints
1
Spec updated
2021-02-07

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://apisetu.gov.in/dgft/v1/iec/IEC" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://apisetu.gov.in/dgft/v1/iec/IEC", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://apisetu.gov.in/dgft/v1/iec/IEC",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/v1/iec/{iec}Importer-Exporter Code (IEC) Verification API.

Questions

Does the Importer-Exporter Details API API need an API key?

Yes. The Importer-Exporter Details API API uses API key authentication; the documentation explains how to get credentials.

Does the Importer-Exporter Details API API support HTTPS?

Yes, the Importer-Exporter Details API API is served over HTTPS.

How many endpoints does the Importer-Exporter Details API API have?

Its OpenAPI description lists 1 endpoint in version 3.0.0. All of them are shown on this page.

What are alternatives to the Importer-Exporter Details API API?

Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.

Compare alternatives →

Listed from APIs.guru (CC0).