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
1mo 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 →
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.
ITC Trade Map API – International Trade Data · Parse