Discover/beta.trademap.org API
live

beta.trademap.org APIbeta.trademap.org

Access ITC Trade Map goods and services trade statistics, HS/EBOPS codes, time series, and trade indicators for 200+ countries via 8 structured endpoints.

Endpoints
8
Updated
2mo ago
Try it

No input parameters required.

api.parse.bot/scraper/9f9021d2-26de-464e-a412-80acf4d30519/<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/9f9021d2-26de-464e-a412-80acf4d30519/get_countries' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 8 totalclick to expand

Get list of all countries/territories with their trade data coverage periods for goods and services.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "total": "integer total number of countries",
    "countries": "array of country objects with countryCd, label, and coverage period info"
  },
  "sample": {
    "data": {
      "total": 254,
      "countries": [
        {
          "ti": false,
          "nes": false,
          "label": "World",
          "countryCd": "000",
          "yearly246": {
            "lastPeriod": 2025,
            "firstPeriod": 2001
          },
          "yearlyServices": {
            "lastPeriod": 2024,
            "firstPeriod": 2000
          }
        }
      ]
    },
    "status": "success"
  }
}

About the beta.trademap.org API

The ITC Trade Map API provides 8 endpoints covering international goods and services trade data, including yearly time series, trade indicators (value, balance, growth rates), and full HS and EBOPS product classifications. The goods_time_series endpoint returns paginated import/export values by reporter country, partner, and HS code across a configurable year range, while goods_trade_indicators delivers VAL, BAL, GV5, and GV2 metrics for a given reference year.

Coverage and Classification

The API exposes the full ITC Trade Map dataset. The get_countries endpoint returns every country and territory with its trade data coverage period for both goods and services. The get_country_groups endpoint lists economic groupings (BRICS, OECD, LDCs), geographic regions (Africa, Asia), and customs unions (EU, MERCOSUR, ASEAN) with id, label, type, and note fields. Product classification is handled by two separate endpoints: get_products_hs delivers HS codes at the 2-digit (chapter), 4-digit (heading), and 6-digit (subheading) levels including revision metadata, while get_services_ebops returns EBOPS codes with productCd, label, displayCd, and maxLevel.

Goods Trade Data

The goods_time_series endpoint accepts a 3-digit reporter country code (country), a partner code (partner, use 000 for all partners), an HS product code or ALL, and a by parameter to pivot results either byProduct or byCountry. The hs_level parameter controls granularity at 2, 4, or 6 digits. Responses include paginated records arrays where each record carries reporterCd, partnerCd, productCd, and a data array of period/value pairs, alongside aggregateRecords for totals. Note that country=000 (World) is not supported as a reporter; a specific country code is required. The goods_trade_indicators endpoint follows the same parameter pattern and adds a refYear field to the response, with indicator codes VAL (trade value), BAL (trade balance), GV5 (5-year growth), GV2 (2-year growth), and GV5W (world 5-year growth).

Services Trade Data

The services_time_series endpoint mirrors the goods time series structure but uses EBOPS service codes instead of HS codes and a byService pivot option. A page_size parameter (max 500) controls response volume. The sort_dir parameter accepts desc or asc; using asc on large datasets is documented to cause timeouts, so desc or omitting the parameter is recommended. The get_coverage endpoint queries either goods or services via the data_type parameter and returns the number of reporting countries and the latest available period for each data frequency (yearly, quarterly, monthly).

Common use cases
  • Build an export market dashboard showing a country's top trade partners using goods_time_series filtered by reporter and byCountry.
  • Track bilateral trade balances over time by pairing goods_trade_indicators BAL values for a specific country-partner-product combination.
  • Generate HS chapter-level trade breakdowns by querying goods_time_series with hs_level=2 and by=byProduct.
  • Identify fast-growing product categories by sorting goods_trade_indicators on GV5 (5-year growth rate) for a given reporter country.
  • Map services trade flows across EBOPS categories using services_time_series with by=byService for a specific country.
  • Populate a country-selector UI with trade coverage dates from get_countries so users know which periods are available.
  • Filter analysis to EU or ASEAN members by retrieving group membership from get_country_groups and cross-referencing with trade records.
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 publish a general-access developer API. Programmatic access to its data is available through this Parse API.
What does `goods_trade_indicators` return, and how is it different from `goods_time_series`?+
goods_trade_indicators returns summary metrics for a single reference year (refYear): trade value (VAL), trade balance (BAL), 5-year value growth (GV5), 2-year value growth (GV2), and world 5-year growth (GV5W). goods_time_series returns annual period/value pairs across a range of years without computed growth indicators — it's for raw trend data rather than pre-calculated performance metrics.
Can I use `country=000` to retrieve aggregate World-level trade data as the reporter?+
No. Both goods_time_series and goods_trade_indicators require a specific 3-digit reporter country code. The World aggregate (000) is only valid as a partner code meaning all partners combined. You can fork this API on Parse and revise it to add a dedicated world-aggregate endpoint if your use case requires it.
Does the API expose quarterly or monthly trade data, not just yearly figures?+
The get_coverage endpoint reports that quarterly and monthly data frequencies exist in the source (dataType codes Q and M alongside Y for yearly), but the time series endpoints (goods_time_series and services_time_series) return yearly figures. Sub-annual granularity is not currently served. You can fork this API on Parse and revise it to add endpoints targeting those frequencies.
Are there any known timeout or performance issues to be aware of?+
Yes. The services_time_series endpoint is documented to timeout when sort_dir=asc is used on large result sets. The recommended approach is to omit the parameter or set sort_dir=desc. Using page_size (max 500) and requesting specific service codes rather than ALL also reduces response size and latency.
Page content last updated . Spec covers 8 endpoints from beta.trademap.org.
Related APIs in Government PublicSee all →
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.
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.
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.
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.