I'm looking for a dataset of import and export trade (goods and services) between all combination of nations globally, by year, i.e.:
Afghanistan > Albania (import $XXX, export $YYY)
Afghanistan > Algeria (import $XXX, export $YYY)
Zambia > Zimbabwe (import $XXX, $YYY)

MIT's OEC (http://atlas.media.mit.edu/en/resources/about/) has a vast dataset, but at a product level, which I'm worried might not aggregate correctly to sources that are more authoritative (and seems an unfair use of their API as I'd need to get all their data).

I've had a look through OECD and World Bank but haven't managed to identify in more granularity than 'Country > World (import $XXX, export $YYY)'.

1 Answer 1


It might take quite a few queries, but all trade data should be available here: https://comtrade.un.org/data/

You can select up to 5 countries (either as reporter or as partner) to view their trade with all other countries (select all in the other box). So in about 50 queries you should be done. There's also a bulk download option which I haven't tried.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.