Skip to main content

Error response format

All errors follow this structure:
{
  "error": {
    "code": "INVALID_PARAMS",
    "message": "Parameter 'maxPrice' must be a positive integer.",
    "status": 400
  }
}

Error codes

CodeHTTP StatusDescription
INVALID_PARAMS400Invalid or missing query parameters
MISSING_API_KEY401No Authorization header on a protected endpoint
INVALID_API_KEY401API key not recognized
EXPIRED_API_KEY401Subscription has ended
TIER_RESTRICTED403Endpoint requires a higher tier
NOT_FOUND404Resource not found
QUOTA_EXCEEDED429Monthly request quota exceeded
RATE_LIMIT_EXCEEDED429Per-minute rate limit exceeded
INTERNAL_ERROR500Unexpected server error
UPSTREAM_ERROR502Data source temporarily unavailable
SERVICE_DISABLED503API temporarily disabled via kill switch

Retry guidance

StatusAction
400Fix the request parameters and retry
401Check your API key
403Upgrade your tier
404Verify the resource ID exists
429Wait for Retry-After seconds, then retry
500Retry with exponential backoff
502Retry after a brief delay
503Service is temporarily down; retry later

Request tracing

Every response includes an X-Request-Id header (UUID v4). Include this ID in support requests for log correlation.