ExanomicDocs
OverviewAuthenticationEnvironments
OverviewInflationLabor MarketInterest RatesGDP & OutputSeries EndpointsObservationsTreasury APICorrelation API
ExanomicDocs
Getting Started

Authentication

Protected data endpoints require an API key. Send the raw key in the X-API-Key header (no Bearer prefix, no quotes, no encoding/decoding).


Data endpoints (API key)

Use your API key to read protected datasets (series, observations, curves, analytics).

curl -i "https://api.exanomic.com/v2/series" \
  -H "X-API-Key: YOUR_API_KEY"

Common mistakes

  • Sending Authorization: Bearer ... to a data endpoint like /v2/series(it requires X-API-Key).
  • Using a key created in one environment (prod) against another (dev). Keys are environment-scoped.
  • Mutating the key string: trimming whitespace, dropping a trailing =, URL-encoding/decoding, or copying a masked/id value instead of the plaintext.

Next steps

Confirm you are using the right environment and header format.

EnvironmentsDocs overview