Base url 400 (Bad Request)

when i try Historical Data | Alpaca Docs symbols=ETH/USD&exchanges=CBSE&timeframe=1Min&start=
it shows
gridbot.js:48 GET 400 (Bad Request)
how do i avoid this exchanges error ?

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.

1 Like