Discover/Gov API
live

Gov APItradestat.commerce.gov.in

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

This API takes change requests — .
Endpoint health
verified 2d ago
search_hs_code
get_available_years
get_commodity_wise_report
get_country_wise_report
get_meidb_report
6/6 passing latest checkself-healing
Endpoints
6
Updated
9d ago

What is the Gov API?

This API exposes 6 endpoints covering India's Export Import Data Bank (EIDB and MEIDB), published by the Directorate General of Commercial Intelligence and Statistics. It returns commodity-wise and country-wise trade statistics, monthly bilateral trade flows, and HS code lookups. The get_commodity_wise_report endpoint, for example, delivers HS codes, trade values across two consecutive financial years, percentage share, and growth rates in a single paginated response.

This call costs10 credits / call— charged only on success
Try it
Financial year starting year (e.g., '2024' for 2024-2025). Available values: 2018 through 2025.
Optional HS code to filter results. When provided, only the row with a matching HSCode is returned. Should match the digit level specified by commodity_level (e.g., an 8-digit code when commodity_level is '8').
Currency or unit for values.
Type of trade.
HS code digit level.
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.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/6bc89ab4-56b1-4990-a960-086912f43fa2/get_commodity_wise_report?year=2024&values_in=US+%24+Million&trade_type=exports&commodity_level=2' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalmissing one? ·

Fetch commodity-wise trade data for a given financial year. Returns a table of commodities with HS codes, trade values for two consecutive years, percentage share, and growth rate. Paginates as a single page containing all matching rows at the requested HS-code digit level. When hs_code is provided, filters results to the single row matching that code.

Input
ParamTypeDescription
yearstringFinancial year starting year (e.g., '2024' for 2024-2025). Available values: 2018 through 2025.
hs_codestringOptional HS code to filter results. When provided, only the row with a matching HSCode is returned. Should match the digit level specified by commodity_level (e.g., an 8-digit code when commodity_level is '8').
values_instringCurrency or unit for values.
trade_typestringType of trade.
commodity_levelstringHS code digit level.
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": {
      "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 Gov API

Commodity and Country Trade Reports

The get_commodity_wise_report endpoint returns a ranked table of commodities filtered by commodity_level (2, 4, 6, or 8-digit HS codes), trade_type (exports or imports), year, and optional hs_code. Each row in the response includes HSCode, Commodity, prior-year value, current-year value, %Share, and %Growth. The get_country_wise_report endpoint offers the same two-year comparison but grouped by trading partner country, with an optional hs_code filter to drill into bilateral trade for a specific commodity. Both endpoints cover financial years 2018 through 2025, retrievable via get_available_years.

Monthly and FTSPCC Reports

get_meidb_report returns the Monthly EIDB report, comparing a selected month across two years plus cumulative period totals. Column headers in the response are dynamic — they reflect the selected month and year combination. The get_ftspcc_commodity_country_monthly_report endpoint targets FTSPCC (Foreign Trade Statistics) data: given a commodity code (e.g., A1 for TEA) and a numeric country code, it returns month-by-month rows covering Rs. Crores and US$ Millions values over a configurable date range from 2010 to 2026.

HS Code Search

The search_hs_code endpoint accepts a partial hs_code string or a keyword description and returns matching records with HSCODE, DESCRiption, and UNIT. This is useful for resolving commodity codes before passing them to the reporting endpoints. At least one of the two inputs should be provided for non-trivial results.

Coverage and Parameters

All monetary values can be requested in different currencies or units via the values_in parameter where supported. Financial year data uses the Indian convention (e.g., year=2024 maps to 2024-2025). The FTSPCC report uses a separate predefined commodity code scheme (A1, H8, etc.) distinct from standard HS codes used in the EIDB endpoints.

Reliability & maintenanceVerified

The Gov API is a managed, monitored endpoint for tradestat.commerce.gov.in — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when tradestat.commerce.gov.in changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official tradestat.commerce.gov.in API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
6/6 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track year-over-year export growth for a specific HS code using get_commodity_wise_report with %Growth fields
  • Identify India's top trading partners for a given commodity by combining get_country_wise_report with an hs_code filter
  • Build monthly trade trend charts using get_meidb_report across multiple years and commodity levels
  • Resolve ambiguous commodity names to HS codes using search_hs_code with keyword descriptions
  • Analyze bilateral monthly trade volumes in both INR and USD for specific commodity-country pairs via get_ftspcc_commodity_country_monthly_report
  • Compare India's import vs. export share for a commodity across financial years using the %Share field
  • Identify which financial years have EIDB data available programmatically using get_available_years
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. 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?+
No. The Ministry of Commerce and Industry's trade statistics portal does not publish a documented public developer API or SDK. Data on the site is intended for manual web use.
What does `get_country_wise_report` return when an `hs_code` is provided?+
When hs_code is supplied, the endpoint filters the country-level breakdown to trade activity for that specific commodity. Each row in data represents a trading partner country with its prior-year value, current-year value, %Share, and %Growth for that commodity rather than for total trade.
How does the FTSPCC commodity code differ from standard HS codes?+
The get_ftspcc_commodity_country_monthly_report endpoint uses a separate principal commodity code scheme defined by FTSPCC (e.g., A1 for TEA, H8 for DRUG FORMULATIONS). These are not interchangeable with the numeric HS codes used in get_commodity_wise_report and get_meidb_report. You need to know the FTSPCC code for the commodity you want before calling this endpoint.
Does the API provide port-wise or state-wise trade breakdowns?+
Not currently. The API covers commodity-wise, country-wise, and monthly aggregate trade data. Port-level or state-level breakdowns are not exposed by these endpoints. You can fork this API on Parse and revise it to add an endpoint targeting those breakdowns if the source makes them available.
What is the earliest data available, and how current is it?+
The EIDB endpoints (get_commodity_wise_report, get_country_wise_report) cover financial years 2018 through 2025. The FTSPCC monthly report covers calendar years 2010 through 2026. Data freshness depends on when the source portal updates its published figures, which typically follows official trade release cycles.
Page content last updated . Spec covers 6 endpoints from tradestat.commerce.gov.in.
Related APIs in Government PublicSee all →
beta.trademap.org API
Analyze international trade patterns by accessing comprehensive goods and services trade statistics, time series data, and trade indicators across countries and product classifications. Track trade flows using standardized HS and EBOPS product codes to compare performance metrics and coverage across different markets and time periods.
trademap.org API
Access comprehensive global trade statistics including bilateral trade flows, product exports by country, and historical trade indicators to analyze international commerce trends. Monitor trade data availability and retrieve time series information to track how specific products and countries perform in the global market.
tradeindia.com API
Search and discover products, suppliers, and their contact information on TradeIndia's B2B marketplace. Browse product categories, find supplier profiles, and explore upcoming tradeshows and industry events — including locations, dates, venues, and organizer details.
wcotradetools.org API
Quickly look up official HS 2022 product classifications, browse the complete hierarchy of sections, chapters, headings, and subheadings, and search for specific commodity codes used in international trade. Organize product data with standardized, normalized classification information perfect for inventory systems and customs documentation.
trademo.com API
Access comprehensive global trade data to search companies, find manufacturers by country, and review detailed trade profiles, sanctions lists, and politically exposed persons (PEP) lists. Monitor global trade indices and build a complete directory of international trading partners and compliance information.
wits.worldbank.org API
Access comprehensive trade statistics, tariffs, and development indicators for countries worldwide through the World Bank's WITS platform. Look up country trade profiles, compare bilateral trade relationships between partners, and analyze key metrics including export/import volumes, tariff rates, GDP, and FDI. Ideal for researching international commerce, trade policy, and economic indicators across any country or region.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
ibef.org API
Access comprehensive reports on Indian industries and states, browse the latest economic news, and get quick facts about India's economy all in one place. Search across thousands of resources to find detailed insights on specific sectors, regions, and economic trends.