Datamint Docs



In this section all endpoints by which you can get data are listed. The responses has a common format and encoded in JSON.

Response format

The responses are encoded in JSON format and may have any HTTP status except of redirect(they MUST be followed as prescribed in RFC9110). If response is 2xx status it contains the payload otherwise it should contain error and reason. Exceptions may occur for 5xx errors in case of service failure. All responses except 3xx and 5xx are formatted in JSON as per RFC8259. Response with status code 5xx may be optionally formatted as JSON.

Response object

Response is represented as a JSON object always having "status" field. The status is either "ok" or "error". In case of "ok" status response MAY(depending on endpoint) have a "response" field containing an object.