# How to receive real time bars from Polygon

**URL:** https://forum.alpaca.markets/t/how-to-receive-real-time-bars-from-polygon/416
**Category:** Alpaca Market Data
**Created:** [November 3, 2019, 6:46am UTC](https://forum.alpaca.markets/t/how-to-receive-real-time-bars-from-polygon/416 "2019-11-03T06:46:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Trader\_Joe](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@Trader\_Joe](https://forum.alpaca.markets/u/Trader_Joe)
#### Post date: [November 3, 2019, 6:46am UTC](https://forum.alpaca.markets/t/how-to-receive-real-time-bars-from-polygon/416/1 "2019-11-03T06:46:24Z")

</div>

I need 1 minute bars in real time during the market hours. How do I do that through Polygon API ? Is there a subscription channel to a 1 minute real time bar to receive as a stream?

It seems there are only 2 ways, neither of which is ideal: (1) subscribe to last trade channel and aggregate in real time; (2) call for 1 min historic\_aggs every minute on the minute for all symbols. Both are prone to synchronization issue with the server, also too many API calls through the day.

(This was easy with the IB API I used a while ago, I would subscribe to a stream of 5 sec real time bars, which I would then aggregate to 1 minute)

---

<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: [November 5, 2019, 7:19am UTC](https://forum.alpaca.markets/t/how-to-receive-real-time-bars-from-polygon/416/2 "2019-11-05T07:19:42Z")

</div>

There is a channel called AM. with which you can subscribe to the real time minute bar.

---

<div class="post-metadata">

### Author: ![Trader\_Joe](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@Trader\_Joe](https://forum.alpaca.markets/u/Trader_Joe)
#### Post date: [November 5, 2019, 8:21am UTC](https://forum.alpaca.markets/t/how-to-receive-real-time-bars-from-polygon/416/3 "2019-11-05T08:21:39Z")

</div>

Thank you Hitoshi. Tried and made it work.
