Getting started

Errors & rate limits

How errors look, what each code means, and how rate limits work.

Error format

Errors return a non-2xx status and a body with a stable code. Failed calls are never charged. Quote the request_id when you contact support.

422 Unprocessable Entity
{
  "status": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Request validation failed",
    "details": { "errors": [{ "field": "latitude", "message": "…" }] }
  },
  "meta": { "request_id": "req_…" }
}

Error codes

StatusCodeMeaning
401AUTHENTICATION_REQUIRED / INVALID_API_KEYMissing, wrong, revoked or expired key
402INSUFFICIENT_CREDITSWallet balance below the endpoint's credit cost
422VALIDATION_ERRORA missing or invalid field (e.g. latitude out of range)
422COMPANY_DETAILS_REQUIREDKundli Report PDF: save your company details in the dashboard first
400INVALID_IMAGEPalm Reading: no clear open palm in the photo
429RATE_LIMIT_EXCEEDEDToo many requests; wait for the Retry-After seconds
503ENDPOINT_DISABLED / SERVICE_UNAVAILABLETemporarily unavailable; try again shortly

Rate limits

Each key has per-minute, per-hour and per-day limits. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. When a limit is reached you get 429 with a Retry-After header: wait that many seconds, then retry.