Get started
HTTP 401

Invalid or missing API key

The request did not carry a valid, active API key in an accepted place.

"type": "https://ohlc.io/problems/invalid-api-key"

Why it happens

  • No Authorization: Bearer header, or a malformed one.
  • A revoked, expired or mistyped key, including keys in the original format revoked on 2026-09-27.
  • api_key= used on a non-GET request or from a browser, where only the header is accepted.

How to fix it

  • Send Authorization: Bearer $OHLC_API_KEY.
  • Create a new key in the dashboard if this one was revoked.
  • See authentication.

All problem types