API
Introduction
Welcome to the OEC API, your gateway to accessing one of the most comprehensive sources of international and subnational trade data. The API enables developers, researchers, journalists, and businesses to programmatically access a wide variety of economic data, including trade flows, product classifications, and country-level or region-level statistics.
The OEC API is designed to be:
- Easy to use, with simple endpoints and query parameters
- Flexible, supporting a range of use cases from data visualization to academic analysis
- Accessible, with a generous free tier for exploration
Access Tiers
Free Access: Many endpoints are available without authentication, allowing users to experiment, test, and build prototypes. These include access to historical international trade data and metadata.
Pro & Premium Access: For more advanced usage, including access to the latest data, subnational breakdowns, higher frequency updates, and larger query volumes, users will need to authenticate using a Pro or Premium API token. Subscription plans are available for individuals and organizations here: https://oec.world/subscription.
Whether you're building a custom dashboard, integrating trade data into your application, or conducting in-depth analysis, the OEC API is built to support your needs.