Comtrade
GET /comtrade/country/{country1}/{country2}
Request
- Base URLhttps://api.tradingeconomics.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in query parameter c
Path parameters
country1string required
First country, e.g. china
country2string required
Second country, e.g. portugal
Query parameters
typestring
Trade type: export or import
f'json' | 'csv' | 'html'
Response format: json (default), csv, or html
Response
OK
Changes
No recorded changes to this operation across all 6 revisions of this API.