GGATH Developers

Bearer authentication

Public GET routes: /, /docs, /health. GET /rates and /rates/stats require an exact, case-sensitive Bearer prefix and a valid key.

Authorization: Bearer YOUR_API_KEY

Only the Authorization header is implemented. X-API-Key, query-string keys and portal session cookies are not supported by this service. Request an authorized key through GATH; this documentation does not issue keys.

Missing or invalid credentials

HTTP 401; the same response is returned for unknown protected paths before route matching:

{"success":false,"code":"unauthorized","message":"Invalid or missing API key."}

Safety

Use server-side environment variables or a secret manager and HTTPS. Do not paste keys into public clients or logs. A browser CORS preflight is not authorization.