Trade Map API
trademap.org
Trade Map - international trade statistics, HS product flows, and country market data.
- Actions
- 9
- Category
- Finance
- Login
- Not required
- Output
- JSON
Call the Trade Map API
Submit a task, then poll the job until it settles. This example runs act_trademap_country_product_trade_listing.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_trademap_country_product_trade_listing",
"params": {
"nvpm": "1|842||||0901|||4|1|1|1|1|1|2|1|1|1"
}
}'9 actions on trademap.org
Read
Country Product Trade Listing
act_trademap_country_product_trade_listingread2 credits / callReturns a country's HS product trade values, balances, and growth rates.
- nvpm
- string · required
Product Importers Listing
act_trademap_product_importers_listingread2 credits / callReturns importing countries for a product with import values and world shares.
- nvpm
- string · required
Trade Concentration Chart
act_trademap_trade_concentration_chartread2 credits / callReturns per-country import concentration and average distance for a product.
- language
- string · required
- product_code
- string · required
- trade_flow
- string · required
Trade Growth Chart
act_trademap_trade_growth_chartread2 credits / callReturns per-country trade growth rates and import values for a product.
- language
- string · required
- product_code
- string · required
- trade_flow
- string · required
Trade Indicators By Country
act_beta_trademap_trade_indicators_by_country_listingread2 credits / callReturns world economies ranked by total export value and trade balance across all products.
- page
- integer
- page_size
- integer
Trade Indicators By Partner
act_beta_trademap_trade_indicators_by_partner_listingread2 credits / callReturns partner-country rankings for a reporter and HS product, with value, balance, quantity, and share.
- trade_flow
- string · required
- hs_product_code
- string · required
- exporter_country_code
- string · required
- page
- integer · required
- indicators
- string · required
- partner
- string
- direct_mirror
- string
- page_size
- integer
- sort_by
- string
- sort_dir
- string
Trade Indicators By Product
act_beta_trademap_trade_indicators_by_product_listingread2 credits / callReturns HS6 product rows for an exporter, with trade indicators sorted by export value.
- trade_flow
- string · required
- hs_product_code
- string · required
- exporter_country_code
- string · required
- page
- integer · required
- indicators
- string · required
- partner
- string
- direct_mirror
- string
- page_size
- integer
- sort_by
- string
- sort_dir
- string
- hs_level
- string
Trade Map Homepage
act_trademap_trade_map_homepageread1 credit / callReturns the homepage overview with product and country navigation options.
Yearly Export Time Series
act_beta_trademap_time_series_yearly_by_productread2 credits / callReturns yearly export value time series for HS products across a given year range.
- hs_product_code
- string · required
- period_from
- string · required
- period_to
- string · required
- page
- integer · required
- sort_by
- string
- hs_level
- string
Trade Map API questions
- Is there an API for Trade Map?
- Trade Map does not offer a public data API for this, but Anakin Wire provides 9 maintained endpoints for trademap.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Trade Map data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when trademap.org changes its markup, Anakin updates the action.
- Do I need a Trade Map account?
- No. Every Trade Map action listed here runs anonymously — no account and no credentials required.
- What does the Trade Map API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Finance APIs
AAII (American Association of Individual Investors)
Individual investors association - stock screener, sentiment surveys, ETF data, and research.
Affirm
Affirm partner directory - store listings, merchant guides, and merchant detail APIs.
Alphavantage.Co
Alpha Vantage public market data APIs for stock quotes, intraday and daily time series, fundamentals, FX, crypto, and technical indicators.
AnnualReports
Public-company profiles and annual reports - by exchange or industry, with filing links.
Artemis
Blockchain metrics dashboards - chain comparisons, active-user trends, and price time-series.
Asian Development Bank
Asian Development Bank data portal - publications, project documents, economic indicators, and financing datasets.