# Clock API and Extended Hours

**URL:** <https://forum.alpaca.markets/t/clock-api-and-extended-hours/118>\
**Category:** Feature Requests\
**Created:** [August 1, 2019, 11:36pm UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118 "2019-08-01T23:36:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![coins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/coins/32/62_2.png) [@coins](https://forum.alpaca.markets/u/coins)\
**Post date:** [August 1, 2019, 11:36pm UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118/1 "2019-08-01T23:36:42Z")

</div>

Will the clock endpoint be updated to show when extended hours trading is active?

> **[Documentation | Alpaca](https://docs.alpaca.markets/api-documentation/web-api/clock/#clock-entity)**
>
> Alpaca API lets you build and trade with real-time market data for free.

---

<div class="post-metadata">

**Author:** ![hitoshi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/hitoshi/32/69_2.png) [@hitoshi](https://forum.alpaca.markets/u/hitoshi)\
**Post date:** [August 3, 2019, 6:58am UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118/2 "2019-08-03T06:58:51Z")

</div>

No, not at this point. What kind of format/values would you expect in the response?

---

<div class="post-metadata">

**Author:** ![coins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/coins/32/62_2.png) [@coins](https://forum.alpaca.markets/u/coins)\
**Post date:** [August 3, 2019, 2:08pm UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118/3 "2019-08-03T14:08:14Z")

</div>

Something like pre\_is\_open and after\_is\_open bools.

---

<div class="post-metadata">

**Author:** ![coins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/coins/32/62_2.png) [@coins](https://forum.alpaca.markets/u/coins)\
**Post date:** [September 27, 2019, 11:25pm UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118/4 "2019-09-27T23:25:57Z")

</div>

**bump**

Any chance of adding this support. Polygon has a market status endpoint which indicates if the market is in extended hours but, it doesn’t support Alpaca API keys.

[https://polygon.io/docs/#!/Reference/get\_v1\_marketstatus\_now](https://polygon.io/docs/#!/Reference/get_v1_marketstatus_now)

Response Can be `open` , `closed` or `extended-hours`

---

<div class="post-metadata">

**Author:** ![jakesiebers](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/jakesiebers/32/260_2.png) [@jakesiebers](https://forum.alpaca.markets/u/jakesiebers)\
**Post date:** [March 6, 2020, 6:42am UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118/5 "2020-03-06T06:42:33Z")

</div>

I am also in need of this feature.  
Current response is:  
{ timestamp: ‘2020-03-06T01:37:37.902630648-05:00’,  
is\_open: false,  
next\_open: ‘2020-03-06T09:30:00-05:00’,  
next\_close: ‘2020-03-06T16:00:00-05:00’ }  
Proposed change:  
{ timestamp: ‘2020-03-06T01:37:37.902630648-05:00’,  
is\_open: false,  
next\_open: ‘2020-03-06T09:30:00-05:00’,  
next\_close: ‘2020-03-06T16:00:00-05:00’,  
extended\_hours\_is\_open: false,  
extended\_hours\_next\_open: ‘2020-03-06T09:30:00-05:00’,  
extended\_hours\_next\_close: ‘2020-03-06T16:00:00-05:00’ }

---

<div class="post-metadata">

**Author:** ![bobmcrae](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/bobmcrae/32/1023_2.png) [@bobmcrae](https://forum.alpaca.markets/u/bobmcrae)\
**Post date:** [July 18, 2020, 5:22pm UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118/6 "2020-07-18T17:22:42Z")

</div>

I second the need for such a feature. My current strategy will involve extended hours trading (exclusively). Because such an endpoint does not currently exist, I will need to “hard-code” in hours based on your current extended hours trade policies.

Further, I suggest the following response for the clock endpoint:  
{ timestamp: ‘2020-03-06T01:37:37.902630648-05:00’,  
is\_open: open | closed | extended }

Notice I am suggesting removing next\_open & next\_close, as those values are already in the calendar endpoint and as currently redundant.

---

<div class="post-metadata">

**Author:** ![birdmankillinem](https://avatars.discourse-cdn.com/v4/letter/b/7ab992/32.png) [@birdmankillinem](https://forum.alpaca.markets/u/birdmankillinem)\
**Post date:** [March 16, 2022, 3:20pm UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118/7 "2022-03-16T15:20:19Z")

</div>

Please add support for Extended Hours to the clock!

---

<div class="post-metadata">

**Author:** ![venkateswaran\_p](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/venkateswaran_p/32/4577_2.png) [@venkateswaran\_p](https://forum.alpaca.markets/u/venkateswaran_p)\
**Post date:** [February 10, 2023, 1:44pm UTC](https://forum.alpaca.markets/t/clock-api-and-extended-hours/118/8 "2023-02-10T13:44:31Z")

</div>

need this feature. Please add support for Extended Hours to the clock!
