TRADING ECONOMICS | GIS Authentication

To access the Trading Economics Geospatial API, you’ll need an API key. Subscribe to a plan at tradingeconomics.com/api/pricing.aspx and retrieve your key at developer.tradingeconomics.com. Since some GIS applications have limitations in how they pass API credentials, we recommend running a lightweight local proxy.

Caddy Proxy

Caddy is a free, open-source web server known for its simplicity — a single binary, no dependencies, and a minimal configuration file. For this use case it acts as a local reverse proxy, sitting between your GIS client and the Trading Economics API and forwarding your credentials automatically so you never have to configure authentication inside QGIS or ArcGIS.

Setup Caddy

1. Install

curl.exe https://webi.ms/caddy | powershell
brew install caddy
curl -sS https://webi.sh/caddy | sh

2. Run Caddy

Replace key:secret with your Trading Economics API credentials.

caddy reverse-proxy --from :8080 --to https://api.tradingeconomics.com --header-up "Authorization: key:secret" 

Indicators  |  Markets  |  FRED  |  COMTRADE  |  QGIS  |  ArcGIS