API referencev1

Errors

The real response shape, and what each code means.

Every error has the same envelope.

401 Unauthorized
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or revoked API key"
  },
  "timestamp": "2026-10-19T08:27:01.722Z",
  "path": "/api/v1/session",
  "correlationId": "a4cc87c6bf160f30"
}

correlationId is the useful field

Quote it when you report a problem. It is how a single request is found in the logs, and it turns "ranking looked wrong yesterday" into one lookup.

Codes

CodeHTTPWhat it usually means
BAD_REQUEST400Malformed body, or an empty body with a JSON content type
UNAUTHORIZED401Missing, wrong, or revoked key. Check the header is x-api-key
FORBIDDEN403The key is valid but not for this organization's data
NOT_FOUND404No such route. Check the /api/v1 prefix
TOO_MANY_REQUESTS429Rate limited at the gateway
SERVICE_UNAVAILABLE503A downstream service is failing fast behind its circuit breaker

Two that are worth knowing apart

On this page