Skip to main content
GET
/
v1
/
chart
/
time
Get server time
curl --request GET \
  --url https://api.tradearies.dev/v1/chart/time \
  --header 'Authorization: Bearer <token>' \
  --header 'X-API-Key: <api-key>'
1704067200000
This endpoint returns the current server time as a Unix timestamp in milliseconds. Use this for synchronizing chart data timestamps with the server’s clock.

Authorizations

X-API-Key
string
header
required
Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Server time returned successfully

Current server time as Unix timestamp in milliseconds

Example:

1704067200000