Skip to content

Read server time#


Returns server time for a specified MetaTrader account

GET /users/current/accounts/:accountId/server-time

For more information see Swagger documentation. Note, that this URL is valid for new-york region only. You can find URLs for other regions on API access page.


Name Type Required Description
auth-token string Yes authorization token. See Authentication & authorization

Path parameters#

Name Type Required Description
accountId string Yes MetaTrader account id. You can retrieve account id from Web application after you add your MetaTrader account to our platform. The account id can also be obtained via Provisioning API


  • 200 - Server time for a specified MetaTrader account returned successfully. Response schema: ServerTime
  • 401 - Authorization failed. Response schema: Error
  • 404 - MetaTrader account not found or not provisioned yet. Response schema: Error


Example request:

curl -X GET --header 'Accept: application/json' --header 'auth-token: token' ''

Example response:

  "time": "2022-04-05T12:54:55.345Z",
  "brokerTime": "2022-04-05 15:54:55.345",
  "lastQuoteTime": "2022-04-05T12:54:55.145Z",
  "lastQuoteBrokerTime": "2022-04-05 15:54:55.145"