Clock API

The clock API serves the current market timestamp, whether or not the market is currently open, as well as the times of the next market open and close.

[GET] Get the clock

GET/v2/clock
Returns the market clock.

Response

A Clock object

Clock Entity

Example

{
  "timestamp": "2018-04-01T12:00:00.000Z",
  "is_open": true,
  "next_open": "2018-04-01T12:00:00.000Z",
  "next_close": "2018-04-01T12:00:00.000Z"
}

Properties

timestamp
string<timestamp>
Current timestamp
is_open
boolean
Whether or not the market is open
next_open
string<timestamp
Next market open timestamp
next_close
string<timestamp>
Next market close timestamp

Suggestions or questions?
We're always happy to hear from you. You can contribute to these docs on GitHub, or you can join our Community Forum or Community Slack to get help from other community members and the Alpaca team.