UN Comtrade Data API
REST API for extracting international merchandise and services trade statistics. Provides access to final trade data, tariffline data, data availability, metadata, live updates, and bulk file downloads. Requires a free B2C account and API subscription key for full access.
Documentation
Documentation
https://uncomtrade.org/docs/un-comtrade-api/
Authentication
https://uncomtrade.org/docs/api-subscription-keys/
RateLimits
https://raw.githubusercontent.com/api-evangelist/un-comtrade/refs/heads/main/rate-limits/rate-limits.yml
Specifications
Other Resources
DeveloperPortal
https://comtradedeveloper.un.org/
Plans
https://raw.githubusercontent.com/api-evangelist/un-comtrade/refs/heads/main/plans/plans.yml
FinOps
https://raw.githubusercontent.com/api-evangelist/un-comtrade/refs/heads/main/finops/finops.yml
Signup
https://comtradeplus.un.org/
Pricing
https://shop.un.org/databases
Python SDK
https://github.com/uncomtrade/comtradeapicall
R Package
https://docs.ropensci.org/comtradr/
APIsJSON
https://raw.githubusercontent.com/api-evangelist/un-comtrade/refs/heads/main/apis.yml