# Base url 400 (Bad Request)

**URL:** <https://forum.alpaca.markets/t/base-url-400-bad-request/10702>\
**Category:** Alpaca Trading\
**Created:** [September 27, 2022, 8:26am UTC](https://forum.alpaca.markets/t/base-url-400-bad-request/10702 "2022-09-27T08:26:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chatofking](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@chatofking](https://forum.alpaca.markets/u/chatofking)\
**Post date:** [September 27, 2022, 8:26am UTC](https://forum.alpaca.markets/t/base-url-400-bad-request/10702/1 "2022-09-27T08:26:10Z")

</div>

when i try [Historical Data | Alpaca Docs](https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/#bars)  
`https://data.alpaca.markets/v1beta2/crypto/bars? symbols=ETH/USD&exchanges=CBSE&timeframe=1Min&start=`  
it shows  
`gridbot.js:48 GET https://data.alpaca.markets/v1beta2/crypto/bars?symbols=ETH/USD&exchanges=CBSE&timeframe=1Min&start=2022-09-28T03:47:52.227Z 400 (Bad Request)`  
how do i avoid this exchanges error ?

---

<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:** [September 28, 2022, 11:01am UTC](https://forum.alpaca.markets/t/base-url-400-bad-request/10702/2 "2022-09-28T11:01:50Z")

</div>

The Alpaca crypto historical data endpoint version `v1beta2` doesn’t support the `exchange` request parameter. If you’ll check your link you see it in docs. This parameter is not just ignored but instead generates HTTP 400 status code.  
If you want to request per-exchange bars you can still use the `v1beta1` endpoints but AFAIK, they will be deprecated and won’t be accessible very soon.
