Skip to content

Error Status Catalog & Wallet Rules ​

DataBee SiteAtlas API uses conventional HTTP status codes to indicate the success or failure of API requests.


HTTP Status Codes Summary ​

Status CodeError CodeDescriptionCredit Action
400 Bad RequestMISSING_PARAMETER / INVALID_DOMAINRequired parameter missing or domain format invalidNo charge
401 UnauthorizedUNAUTHORIZEDInvalid or missing API key headerNo charge
402 Payment RequiredINSUFFICIENT_CREDITSWallet balance is zero or insufficientNo charge
404 Not FoundNOT_FOUNDEndpoint route or resource not foundNo charge
405 Method Not AllowedMETHOD_NOT_ALLOWEDHTTP verb not supported for this pathNo charge
429 Too Many RequestsRATE_LIMIT_EXCEEDEDExceeded maximum requests per second (RPS) limitNo charge
502 Bad GatewayUPSTREAM_ERRORUpstream provider connection failedAutomatically Refunded
504 Gateway TimeoutGATEWAY_TIMEOUTUpstream request timed outAutomatically Refunded

Detailed Error Payload Examples ​

400 Bad Request ​

json
{
  "status": "error",
  "error": {
    "code": "MISSING_PARAMETER",
    "message": "The 'url' query parameter is required.",
    "status": 400
  }
}

401 Unauthorized ​

json
{
  "status": "error",
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid API key or missing Bearer token in Authorization header. Generate a free API key at https://console.databee.dev.",
    "status": 401
  }
}

402 Payment Required ​

json
{
  "status": "error",
  "error": {
    "code": "INSUFFICIENT_CREDITS",
    "message": "Your DataBee credit wallet has insufficient funds. Please top up at https://console.databee.dev.",
    "status": 402
  }
}

429 Too Many Requests ​

json
{
  "status": "error",
  "error": {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "Exceeded maximum allowed requests per second. Please retry after 1000ms.",
    "status": 429
  }
}

Credit Refund Guarantees ​

Automatic Refund Policy

If an API request fails with a 502 Bad Gateway or 504 Gateway Timeout, the DataBee Gateway automatically restores the deducted credit back to your account wallet instantaneously. No manual support ticket is required.

DataBee SiteAtlas API — Turn any domain into traffic, SEO, and AI referral intelligence.