# Switching IEX only to all market data

**URL:** <https://forum.alpaca.markets/t/switching-iex-only-to-all-market-data/7238>\
**Category:** Alpaca Market Data\
**Created:** [October 28, 2021, 4:07pm UTC](https://forum.alpaca.markets/t/switching-iex-only-to-all-market-data/7238 "2021-10-28T16:07:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harjot\_Singh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/harjot_singh/32/1515_2.png) [@Harjot\_Singh](https://forum.alpaca.markets/u/Harjot_Singh)\
**Post date:** [October 28, 2021, 4:07pm UTC](https://forum.alpaca.markets/t/switching-iex-only-to-all-market-data/7238/1 "2021-10-28T16:07:39Z")

</div>

I have the unlimited data plan and I am using the rest api on Python to get historical bar data. Do you know how to get data from all exchanges instead of the default?

---

<div class="post-metadata">

**Author:** ![Uzena](https://avatars.discourse-cdn.com/v4/letter/u/3bc359/32.png) [@Uzena](https://forum.alpaca.markets/u/Uzena)\
**Post date:** [October 28, 2021, 6:03pm UTC](https://forum.alpaca.markets/t/switching-iex-only-to-all-market-data/7238/2 "2021-10-28T18:03:10Z")

</div>

Do you use “get\_barset()”? This uses the v1 api and will not give you all the data. Use get\_bars instead.

---

<div class="post-metadata">

**Author:** ![Harjot\_Singh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/harjot_singh/32/1515_2.png) [@Harjot\_Singh](https://forum.alpaca.markets/u/Harjot_Singh)\
**Post date:** [October 29, 2021, 7:30am UTC](https://forum.alpaca.markets/t/switching-iex-only-to-all-market-data/7238/3 "2021-10-29T07:30:54Z")

</div>

Oooh. Thank You so much I can’t believe I didn’t even think about that.

---

<div class="post-metadata">

**Author:** ![bless.dube77](https://avatars.discourse-cdn.com/v4/letter/b/8797f3/32.png) [@bless.dube77](https://forum.alpaca.markets/u/bless.dube77)\
**Post date:** [October 31, 2021, 10:13pm UTC](https://forum.alpaca.markets/t/switching-iex-only-to-all-market-data/7238/4 "2021-10-31T22:13:58Z")

</div>

@Harjot_Singh did you manage to get data from all the exchanges?? I signed up for the unlimited plan and used get\_bars() and i still dont get data from the other exchanges. Is there something that I should do?

---

<div class="post-metadata">

**Author:** ![Harjot\_Singh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/harjot_singh/32/1515_2.png) [@Harjot\_Singh](https://forum.alpaca.markets/u/Harjot_Singh)\
**Post date:** [November 8, 2021, 3:12am UTC](https://forum.alpaca.markets/t/switching-iex-only-to-all-market-data/7238/5 "2021-11-08T03:12:50Z")

</div>

@bless.dube77 Yeah using get\_bars() it is working for me and I’m getting all the data. The way I can tell is to compare the volume it shows to other charts. I honestly don’t know what you could do if it really still isn’t all the data.
