Skip to content

Open API status codes

About this document

This document defines the status code conventions returned by Open API endpoints, clarifying call results, error types, and causes to help developers diagnose and resolve issues quickly. All API endpoints follow these rules.

Status code ranges

RangeCategory
200Success (call completed normally)
1xxxxGeneral errors (uncategorized)
2xxxxAuthentication and authorization
4xxxxRequest / parameter validation
5xxxxEndpoint-related errors
6xxxxRate limiting
7xxxxBusiness logic errors

Status code details

1. Success

CodeEnumDescription
200SUCCESSCall succeeded

2. General errors (1xxxx)

CodeEnumDescription
10000UNKNOWN_ERRORUnknown error; contact technical support

3. Authentication and authorization (2xxxx)

CodeEnumDescription
20001API_KEY_MISSINGAPI key missing (not provided in the request)
20002API_KEY_INVALIDInvalid API key (disabled, expired, or not approved)
20010TIMESTAMP_MISSINGTimestamp missing (not provided in the request)
20011TIMESTAMP_FORMAT_ERRORInvalid timestamp format (must be 10 or 13 digits)
20012TIMESTAMP_EXPIREDTimestamp expired (request timed out; regenerate and retry)
20020SIGNATURE_MISSINGSignature missing (not provided in the request)
20021SIGNATURE_VERIFY_FAILEDSignature verification failed (wrong signing rules or tampered parameters)

4. Request / parameter validation (4xxxx)

CodeEnumDescription
400INVALID_REQUESTRequest body cannot be parsed (check parameter format per docs)
404NOT_FOUNDEndpoint path does not exist (check the request path)
405REQUEST_METHOD_NOT_ALLOWEDMethod not allowed (check the HTTP method per docs)
40001REQUIRED_PARAMS_EMPTYRequired parameter missing
40002REQUIRED_PARAMS_ILLEGALInvalid parameter (format or value out of range)

5. Endpoint errors (5xxxx)

CodeEnumDescription
50001INTERFACE_NOT_FOUNDAPI endpoint does not exist (wrong path)

6. Rate limiting (6xxxx)

CodeEnumDescription
60001INTERFACE_RATE_LIMITRate limit exceeded; retry later

7. Business logic (7xxxx)

CodeEnumDescription
70001NOT_ENOUGH_CREDITInsufficient account balance; please top up