# REST object has no attribute 'polygon

**URL:** <https://forum.alpaca.markets/t/rest-object-has-no-attribute-polygon/7060>\
**Category:** App-Integration\
**Created:** [October 9, 2021, 3:58pm UTC](https://forum.alpaca.markets/t/rest-object-has-no-attribute-polygon/7060 "2021-10-09T15:58:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tekton](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@Tekton](https://forum.alpaca.markets/u/Tekton)\
**Post date:** [October 9, 2021, 3:58pm UTC](https://forum.alpaca.markets/t/rest-object-has-no-attribute-polygon/7060/1 "2021-10-09T15:58:50Z")

</div>

Hi, my first post here. Is api.polygon.historic\_agg\_v2 working? Here is the full code liine:

minute\_bars = api.polygon.historic\_agg\_v2(symbol, 1, ‘minute’, \_from=‘2017-10-29’, to=‘2017-10-29’).df

Thanks

John

---

<div class="post-metadata">

**Author:** ![oleg.rakhmatulin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/oleg.rakhmatulin/32/559_2.png) [@oleg.rakhmatulin](https://forum.alpaca.markets/u/oleg.rakhmatulin)\
**Post date:** [October 11, 2021, 5:29pm UTC](https://forum.alpaca.markets/t/rest-object-has-no-attribute-polygon/7060/2 "2021-10-11T17:29:53Z")

</div>

[Polygon.io](http://Polygon.io) support was removed from all Alpaca SDKs several months ago. You are unable to use Alpaca key/secret pair for accessing [Polygon.io](http://Polygon.io) API anymore. You have to use separate [Polygon.io](http://Polygon.io) subscription and their SDKs for accessing this data.

---

<div class="post-metadata">

**Author:** ![Tekton](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@Tekton](https://forum.alpaca.markets/u/Tekton)\
**Post date:** [October 11, 2021, 6:11pm UTC](https://forum.alpaca.markets/t/rest-object-has-no-attribute-polygon/7060/3 "2021-10-11T18:11:02Z")

</div>

Thanks much. I must be seeing old documentation.

John
