# Simultaneous API calls

**URL:** <https://forum.alpaca.markets/t/simultaneous-api-calls/11889>\
**Category:** Alpaca Integration Applications\
**Created:** [February 20, 2023, 4:37pm UTC](https://forum.alpaca.markets/t/simultaneous-api-calls/11889 "2023-02-20T16:37:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![redcoatwright](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/redcoatwright/32/5022_2.png) [@redcoatwright](https://forum.alpaca.markets/u/redcoatwright)\
**Post date:** [February 20, 2023, 4:37pm UTC](https://forum.alpaca.markets/t/simultaneous-api-calls/11889/1 "2023-02-20T16:37:32Z")

</div>

So I’m running 6-7 different experiments, each of which loop over 250 tickers and pull a price for each ticker.

Is there a limit to how many experiments I can run simultaneously (from the API side)? I’ve read inconsistent reports on limitations on the API so I’m not really sure.

---

<div class="post-metadata">

**Author:** ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)\
**Post date:** [February 20, 2023, 5:55pm UTC](https://forum.alpaca.markets/t/simultaneous-api-calls/11889/2 "2023-02-20T17:55:35Z")

</div>

@redcoatwright The number of **account** REST calls one can make is limited to 200 calls/min. This is per account. If one wanted to test 6-7 different strategies/algos, the simplest is to create 6-7 separate paper accounts. However, one _can_ have multiple algos/computers/instances use the same account, but the sum of all the calls would need to stay below 200 call/min.

If you are referring to the **market data** APIs, the REST calls are limited to 200 calls/min with a Free subscription and 10,000 calls/min with the Unlimited subscription. Similar to the account APIs, the calls can be from a single or multiple algos.

For both the account and market data APIs, the number of streaming websocket connections is limited to one so streaming becomes problematic if running multiple algos.

I would suggest not ‘looping’ over 250 symbols. All the market data endpoints allow fetching multiple symbols (with roughly a max of 4500 symbols/call) which is much more efficient than fetching one at a time.

---

<div class="post-metadata">

**Author:** ![redcoatwright](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/redcoatwright/32/5022_2.png) [@redcoatwright](https://forum.alpaca.markets/u/redcoatwright)\
**Post date:** [February 20, 2023, 5:58pm UTC](https://forum.alpaca.markets/t/simultaneous-api-calls/11889/3 "2023-02-20T17:58:58Z")

</div>

Hi Dan,

Ohhh right, I forgot I’m doing 1 call for the lump 250 tickers then looping over the prices, that happens every 3-4s so I’m doing about 17 calls every min which means I have a LOT more bandwidth there.

Awesome! Wait can we have multiple paper accounts now? I thought that wasn’t available yet.

---

<div class="post-metadata">

**Author:** ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)\
**Post date:** [February 20, 2023, 6:01pm UTC](https://forum.alpaca.markets/t/simultaneous-api-calls/11889/4 "2023-02-20T18:01:01Z")

</div>

@redcoatwright One can have multiple paper accounts but they must each have a unique email associated with it. They aren’t sub-accounts. They would be literally separate accounts.

---

<div class="post-metadata">

**Author:** ![redcoatwright](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/redcoatwright/32/5022_2.png) [@redcoatwright](https://forum.alpaca.markets/u/redcoatwright)\
**Post date:** [February 20, 2023, 6:02pm UTC](https://forum.alpaca.markets/t/simultaneous-api-calls/11889/5 "2023-02-20T18:02:55Z")

</div>

Oh oh I see what you mean.

Honestly, I wonder if the play here is to inculcate the historical data into the experimentation so I can just backtest, I’m guessing the granularity for it isn’t as high, though.

**Edit:** nvm granularity of historical data is insanely high
