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 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.
A
402 payment_required means your credit balance is exhausted rather than anything being wrong
with the request. See API Credits for how much a call costs, how to top up,
and when your plan credits reset.