/comtrade/datasets
Get UN Comtrade dataset availability for a reporter and period — record count, checksum, release dates
Price: 1 credit
💡 AI Hint: Check what UN Comtrade trade data is published for a specific reporter and period. Returns the dataset availability record — total number of trade records, dataset checksum, first/last release dates and which extended code dimensions (flow, partner, commodity, customs, mode of transport) are present. Use this to find out whether data exists and how large it is before running a trades search.
⚠️ Common errors: 412: No dataset is available for the requested reporter, period and classification
Authorizations
API token from the dashboard
Headers
Body
Reporter area code (M49/UN numeric)
842
156
Period — year (YYYY) for annual, year-month (YYYYMM) for monthly
"2022"
Max scrapping execution timeout (in seconds)
20 <= x <= 1500Trade type — goods (C) or services (S)
C, S Frequency — annual (A) or monthly (M)
A, M Commodity/service classification scheme
HS, H0, H1, H2, H3, H4, H5, H6, SITC, S1, S2, S3, S4, ST, BEC, B4, B5, EB, EB02, EB10, EB10S Response
Successful Response