Discover/tradestat.commerce.gov.in API
live

tradestat.commerce.gov.in APItradestat.commerce.gov.in

Access India's Export Import Data Bank via 5 endpoints. Query commodity-wise, country-wise, and monthly trade stats by HS code, year, and currency.

Endpoints
5
Updated
10d ago
Try it
Financial year starting year (e.g., '2024' for 2024-2025). Available years: 2018 through 2
Currency or unit for values. Accepted values: 'US $ Million', '₹ Crore', 'Quantity'.
Type of trade. Accepted values: 'exports', 'imports'.
HS code digit level. Accepted values: '2', '4', '6', '8'.
api.parse.bot/scraper/6bc89ab4-56b1-4990-a960-086912f43fa2/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/6bc89ab4-56b1-4990-a960-086912f43fa2/get_commodity_wise_report' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Fetch commodity-wise trade data for a given year. Returns a table of commodities with HS codes, trade values for two consecutive years, percentage share, and growth rate.

Input
ParamTypeDescription
yearstringFinancial year starting year (e.g., '2024' for 2024-2025). Available years: 2018 through 2024.
values_instringCurrency or unit for values. Accepted values: 'US $ Million', '₹ Crore', 'Quantity'.
trade_typestringType of trade. Accepted values: 'exports', 'imports'.
commodity_levelstringHS code digit level. Accepted values: '2', '4', '6', '8'.
Response
{
  "type": "object",
  "fields": {
    "data": "array of commodity objects with keys S.No., HSCode, Commodity, prior year value, %Share, current year value, %Growth"
  },
  "sample": {
    "data": [
      {
        "S.No.": "1",
        "%Share": "0.0045",
        "HSCode": "01",
        "%Growth": "59.17",
        "Commodity": "LIVE ANIMALS.",
        "2023 - 2024": "12.37",
        "2024 - 2025": "19.70"
      }
    ],
    "status": "success"
  }
}

About the tradestat.commerce.gov.in API

This API provides structured access to India's Export Import Data Bank (EIDB and MEIDB) through 5 endpoints covering commodity-wise reports, country-wise summaries, HS code lookup, and monthly trade statistics. The get_commodity_wise_report endpoint alone returns HS codes at 2-, 4-, 6-, or 8-digit granularity alongside trade values, percentage share, and year-over-year growth for financial years 2018 through 2024.

Commodity and Country Trade Reports

The get_commodity_wise_report endpoint returns a ranked table of commodities identified by HS code and description, with trade values for two consecutive financial years, percentage share of total trade, and growth rate. You can filter by trade_type (exports or imports), commodity_level (HS digits: 2, 4, 6, or 8), and express values in US dollars (millions), Indian rupees (crore), or raw quantity. The get_country_wise_report endpoint mirrors this structure at the country level, adding a total_trade option for trade_type and returning Country/Region, prior and current year values, %Share, and %Growth per row.

Monthly Data and HS Code Search

The get_meidb_report endpoint targets the Monthly EIDB, letting you pin a specific month (1–12) and year and choose between Financial Year or Calendar Year framing. Response rows carry the same HS code and commodity columns as the annual report, plus monthly values for the prior and current year, a % Growth column, and cumulative-to-date figures. The search_hs_code endpoint accepts a partial numeric code (e.g., 10) or a plain-text keyword (e.g., rice) and returns matching HSCODE, DESCRiption, and UNIT fields — useful for resolving codes before passing them to the report endpoints.

Year Coverage and Metadata

The get_available_years endpoint returns the full list of supported financial years as value (e.g., '2024') and text (e.g., '2024-2025') pairs, so you can programmatically stay in sync with whatever years the EIDB currently publishes rather than hard-coding a range. All report endpoints accept the starting year of the financial year window as their year parameter.

Common use cases
  • Track year-over-year export growth for a specific HS-8 commodity between India and all trading partners
  • Compare India's import share by country for a given financial year using get_country_wise_report
  • Resolve ambiguous commodity descriptions to exact HS codes before querying trade reports via search_hs_code
  • Build a monthly trade dashboard showing cumulative export values across financial year months with get_meidb_report
  • Identify the top commodities by percentage share of total exports at the HS-2 chapter level
  • Convert trade values between USD millions and INR crore for domestic vs. international reporting pipelines
  • Enumerate all available reporting years dynamically using get_available_years to keep queries current
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does tradestat.commerce.gov.in have an official developer API?+
The site does not publish a documented public developer API or SDK. Data is made available through its web interface at https://tradestat.commerce.gov.in.
What does get_meidb_report return that the annual commodity report does not?+
get_meidb_report returns monthly trade values for a specific month in two consecutive years, plus a cumulative column (labeled 'cum') that aggregates from the start of the selected year type to that month. The annual get_commodity_wise_report only provides full-year totals without monthly breakdown.
Does the API support filtering commodity or country reports by a specific HS code rather than returning the full table?+
get_commodity_wise_report and get_meidb_report do not currently accept an HS code as a filter — they return the full ranked table for the selected year and commodity level. get_country_wise_report accepts a country code parameter. You can use search_hs_code to identify codes, but row-level filtering by HS code is not built into the report endpoints. You can fork the API on Parse and revise it to add that filter capability.
How current is the trade data, and does it include provisional or revised figures?+
The data reflects what tradestat.commerce.gov.in publishes, which is sourced from India's Directorate General of Commercial Intelligence and Statistics (DGCI&S). The API does not expose a freshness timestamp or flag distinguishing provisional from revised figures in response fields. The available financial years currently run from 2018 to 2024.
Does the API expose bilateral trade data broken down by both commodity and country simultaneously?+
Not currently. The commodity report aggregates across all countries and the country report aggregates across all commodities — there is no single endpoint that cross-tabulates HS codes against specific trading partners. You can fork the API on Parse and revise it to add an endpoint combining both dimensions.
Page content last updated . Spec covers 5 endpoints from tradestat.commerce.gov.in.
Related APIs in Government PublicSee all →
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
mahatenders.gov.in API
Access Maharashtra government tenders from mahatenders.gov.in, browsing them by closing date or by organization with full tender details and pagination support. Find and review procurement opportunities across different government departments in one place.
tradestat.commerce.gov.in API – India Trade Data · Parse