The Trading Economics Application Programming Interface (API) provides direct access to our data. The API offers several methods to query our databases and many code samples available for different programming languages - Python, R, Java, C# PHP, etc. The API allows users to download millions of rows of historical data, to query our real-time economic calendar and to subscribe to updates. The API is the best way to export data in XML, CSV or JSON format. Users with a professional subscription plan can use the API to request and analyse millions of time series. Users with an enterprise subscription can use the API to distribute our data, to feed a custom developed application, a mobile app or a website.