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/v1/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