Discover/trademap.org API
live

trademap.org APItrademap.org

Access ITC Trade Map data via API: bilateral trade flows, export/import indicators, HS-code time series, and data availability for 200+ countries.

Endpoints
5
Updated
4mo ago
Try it
HS product code (e.g. '8471'). Use 'TOTAL' for all products.
Trade flow direction. Accepted values: '2' for Export, '4' for Import.
Partner country code. Empty string for all partners.
Reporter country code (e.g. '842' for USA).
api.parse.bot/scraper/ce6950bd-1895-499a-828c-3af9bf6a7c80/<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/ce6950bd-1895-499a-828c-3af9bf6a7c80/get_trade_indicators?hs_code=TOTAL&trade_flow=4&reporter_code=842' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Retrieve trade indicators (export value, trade balance, growth, share, etc.) for a specific product and country. Returns a list of countries with their trade performance metrics.

Input
ParamTypeDescription
hs_codestringHS product code (e.g. '8471'). Use 'TOTAL' for all products.
trade_flowstringTrade flow direction. Accepted values: '2' for Export, '4' for Import.
partner_codestringPartner country code. Empty string for all partners.
reporter_codestringReporter country code (e.g. '842' for USA).
Response
{
  "type": "object",
  "fields": {
    "data": "array of objects, each containing country name (Exporters), trade values, growth rates, share percentages, and concentration metrics"
  },
  "sample": {
    "data": {
      "data": [
        {
          "Exporters": "World",
          "Share in world exports (%)": "100",
          "Concentration of importing countries": "0.04",
          "Trade balance in 2025 (USD thousand)": "-171,727,803",
          "Value exported in 2025 (USD thousand)": "25,636,648,695",
          "Annual growth in value between 2021-2025 (%)": "3",
          "Annual growth in value between 2024-2025 (%)": "8",
          "Average distance of importing countries (km)": "5,103"
        }
      ]
    },
    "status": "success"
  }
}

About the trademap.org API

The Trade Map API exposes 5 endpoints covering global trade statistics sourced from ITC Trade Map, including country-level trade indicators, yearly time series, and bilateral trade flows. The get_trade_indicators endpoint returns per-country metrics such as export value, trade balance, growth rates, world share, and concentration indices filtered by HS product code and trade flow direction. Together the endpoints span product-level breakdowns from HS-2 through HS-6 digit classification.

Trade Indicators and Time Series

The get_trade_indicators endpoint accepts an hs_code (e.g. '8471' for computers, or 'TOTAL' for all products), a trade_flow value ('2' for exports, '4' for imports), and optional reporter_code and partner_code to filter by specific countries. Each record in the response includes the country name (Exporters), trade values, year-on-year growth rates, world share percentages, and concentration metrics. The get_yearly_time_series endpoint uses the same parameter set and returns a multi-year array of export or import values per country, suitable for trend analysis.

Product and Bilateral Breakdowns

get_products_by_country lets you query a specific country's trade profile at HS-2, HS-4, or HS-6 digit granularity by setting hs_level. Each row returns the HS code, product label, and imported or exported values across recent years. get_bilateral_trade narrows to a single country-pair: supply a reporter_code (e.g. '842' for the USA) and a partner_code (e.g. '156' for China) to get a product-level breakdown including bilateral trade values, the partner's exports to the world, and the reporter's imports from the world.

Data Availability

The get_data_availability endpoint takes no inputs and returns a matrix of countries by year, where each cell is a numeric code indicating whether the data for that country-year is based on directly reported figures or mirror statistics (data reported by trading partners). This is useful for assessing confidence in specific data points before building downstream analyses.

Common use cases
  • Track year-over-year export growth for a specific HS-4 product across all reporting countries using get_yearly_time_series.
  • Identify top trading partners for a given commodity by filtering get_trade_indicators by hs_code and trade_flow.
  • Compare a country's full import product mix at HS-6 digit level using get_products_by_country with hs_level='6'.
  • Analyze bilateral trade flows between the USA and China for semiconductor products using get_bilateral_trade with codes '842' and '156'.
  • Audit data reliability before building trade dashboards by checking per-country reporting status in get_data_availability.
  • Calculate market share concentration for a product category across exporters using the concentration metrics in get_trade_indicators.
  • Build a trade balance monitor by querying both export ('2') and import ('4') flows for the same HS code and reporter.
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 ITC Trade Map have an official developer API?+
ITC Trade Map does not offer a publicly documented, self-service developer API. Programmatic access to its data is generally not available without institutional arrangements. This Parse API provides structured endpoint access to the data Trade Map publishes.
What does `get_bilateral_trade` return beyond simple trade values?+
For each product in the bilateral relationship, the endpoint returns the product code and label, the bilateral import or export value, the partner country's exports to the entire world, and the reporter country's imports from the entire world. This lets you calculate the reporter's dependency on a specific partner for a given product.
What do the numeric codes in `get_data_availability` mean?+
Each code indicates the data source type for a country-year pair: whether the figures are directly reported by that country or are mirror data derived from what partner countries reported. The distinction matters when reported and mirror figures diverge significantly, which is common for countries with irregular national reporting.
Does the API expose sub-annual (monthly or quarterly) trade data?+
Not currently. The time series endpoints return annual figures only. The get_yearly_time_series and get_products_by_country endpoints both provide values at a yearly granularity. You can fork this API on Parse and revise it to add a monthly trade series endpoint if that granularity is available from the source.
Can I retrieve tariff rates or non-tariff measures alongside the trade flow data?+
Not currently. The API covers trade value flows, growth metrics, market share, and data availability status — it does not include tariff schedules or non-tariff barrier data. You can fork this API on Parse and revise it to add an endpoint targeting tariff or NTM data from Trade Map's related tools.
Page content last updated . Spec covers 5 endpoints from trademap.org.
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.
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.
tradestat.commerce.gov.in API
Analyze India's trade patterns by searching export-import data across commodities, countries, and regions using HS codes and historical records. Track bilateral trade flows and commodity-wise statistics to understand market trends and make informed trade decisions.
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.
tradingeconomics.com API
Access real-time economic calendars, macroeconomic indicators, and commodity prices across global markets including G20 nations and emerging economies. Monitor historical charts, country-specific economic data, and the latest financial news to track economic trends and make informed investment decisions.
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.
kita.net API
Access real-time Korean trade statistics, economic indicators, and market news from KITA to monitor trade volumes by product and country, track economic trends, and stay updated on the latest trade notices and announcements. Get comprehensive trade summaries and check data update status to ensure you're working with the most current information.
turkishexporter.com.tr API
Search and explore Turkish importers, exporters, and companies with detailed business profiles and trade requests to find potential trading partners. Browse available categories and databanks to discover new business opportunities in the Turkish trade market.