Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Set API_TOKEN in .env to match the token configured on the server.

Response

Last error details

MT5 error payload returned on non-2xx responses.

message
string
Example:

"Invalid stops"

retcode
integer

MT5 error code (e.g. 10014 = invalid stops, 10018 = market closed).

Example:

10014