Skip to main content

Status object

Every response includes the status object which indicates if the request was successful. If it is not successful, message specifies the cause of the error.
{
  "status": {
    "code": 200,
    "message": "success"
  }
}

Status and error codes

The CryptoQuant API uses standard HTTP status codes to indicate success or failure. 200 represents success, 4xx represents a user error (such as a problem with your key), and 5xx represents a problem with our API. In the status object, the code field contains the status code and the message field contains the type of response.
CodeTypeDescription
200successRequest was successful.
200deprecatedA resource is deprecated and will be removed in the future.
400bad_requestSome required parameter is missing or has the wrong value.
401unauthorizedInternal authorization failed. It might mean missing or wrong credentials.
403forbiddenYou don’t have access to the requested endpoint.
404not_foundURI is not valid or the resource ID does not correspond to an existing resource.
405not_allowedHTTP method not allowed, such as attempting to use a POST request with an endpoint that only accepts GET requests, or vice versa.
429too_many_requestsThe user has sent too many requests in a given amount of time.
500internal_server_errorUnexpected error occurred. Please report this when you see it.