---
title: "Get US Market Clock"
method: GET
path: "/v1/clock"
tags: ["Calendar"]
---

# Get US Market Clock

`GET /v1/clock`

## Request

- Base URL: `https://broker-api.giftcity.sandbox.in.alpaca.markets`
- URL: `https://broker-api.giftcity.sandbox.in.alpaca.markets/v1/clock`
- Auth: HTTP basic

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.

## Response `200`

OK

- LegacyClock
  - `is_open` boolean, required: Whether or not the market is open.
  - `next_close` string, date-time, required: Next market close timestamp.
  - `next_open` string, date-time, required: Next market open timestamp.
  - `timestamp` string, date-time, required: Current timestamp.

## Other responses

- `429`: Too many requests. You hit the rate limit. Use the X-RateLimit-... response headers to make sure you're under the rate limit.
- `500`: Internal server error. We recommend retrying these later. If the issue persists, please contact us on Slack or on the Community Forum.

---

[API](https://skmtc.dev/alpacahq/apis/broker-api.md) - [All operations](https://skmtc.dev/alpacahq/apis/broker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alpacahq/apis/broker-api/revisions/381b1ecb3ccc?raw)
