UnifyAPI
← Back to catalog

wto.trade_data

mock data$0.002 / call

Query WTO Trade and Tariff Data

Retrieve official World Trade Organization time-series data for trade and tariff indicators by reporting economy and year. Covers 58 indicators across three domains: tariff profiles (MFN applied/bound tariff averages, HS-level ad valorem duties by product), merchandise trade values (exports and imports by product group, quarterly and monthly), and commercial services trade (exports and imports by sector and partner). Returns structured data rows with indicator code, reporting economy, partner economy (for bilateral flows), product/sector classification, year, value, and unit. Example queries: US MFN applied tariff in 2022 (indicator TP_A_0010, reporter 840), China merchandise exports 2018-2022 (ITS_MTV_AX, reporter 156), EU commercial services exports (ITS_CS_AX6, reporter 097). Use wto.trade.indicators to discover indicator codes with their categories, units, and year ranges. Use wto.trade.reporters to look up 3-digit economy codes. Data is updated annually/quarterly by WTO Statistics Division. Free tier: 10 req/s.

Financeprovider: Wto#wto#finance

Input schema

years

Comma-separated year(s) or year-ranges to retrieve (e.g. "2022", "2020,2021,2022", "2015-2022"). Omit to get all available years for the indicator. Most tariff/trade indicators cover 2005–2024.

string
max_rows

Maximum number of data rows to return (1–500, default 100). Lower values are faster; raise for multi-year/multi-country queries.

integer
partner_codes

Comma-separated partner economy code(s) for bilateral trade data. Only applicable to indicators that have partner dimension (bilateral trade flows). Use "000" for world total. Omit for indicators without partner dimension (e.g. tariffs).

string
reporter_codesrequired

Comma-separated WTO reporter economy code(s). Use the 3-digit numeric codes from wto.trade.reporters — e.g. "840" for USA, "276" for Germany, "156" for China, "392" for Japan, "000" for World aggregate. Multiple codes accepted (e.g. "840,276,156").

string
indicator_codesrequired

Comma-separated WTO indicator code(s) to retrieve data for. Examples: "TP_A_0010" (MFN applied tariff, all products), "ITS_MTV_AX" (merchandise exports by product group, annual), "ITS_CS_AX6" (commercial services exports by sector). Use wto.trade.indicators to discover available codes.

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/wto.trade_data \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"years":"<years>","max_rows":0,"partner_codes":"<partner_codes>","reporter_codes":"<reporter_codes>","indicator_codes":"<indicator_codes>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.