To access the UN Comtrade API, you need to create an UN Comtrade account, obtain an API subscription key, and then use that key to make API requests to retrieve trade data.
To obtain a subscription key, please see the steps below:
- You must be a registered UN Comtrade user before requesting an API subscription key. Please follow the steps outlined in How to create a UN Comtrade account.
- Visit the My API Portal (under My Comtrade) at https://comtradeplus.un.org/MyComtrade/APIPortal
- Click Generate API Key
- Copy the API Key.
- Please review the API documentation for information on how to construct your API requests and explore the available data fields.
- Begin using your API key to place requests and access the data you require.
- You are invited to explore Developer tools for UN Comtrade provided “as-is” by the community:
- UN Comtrade API Python Package For API examples at Github ComtradeAPICall.
- ComtradeR