Market data for paper trading

Hi guys,
May name is Evyatar and I’m new here, nice to meet you all…

Iv’e started to play with the API and for some reason I get a 500 server error when trying to get the market data.
I can get though my account data for example.

the following code returns 500:

but if I change the url to “” I get a 200.

Am I using an incorrect url?

Are you missing “/bars” at the end of url?

Yes I was.
I thought these are two different endpoints. didn’t realize that this is just the base url.
Thanks for the quick response.
And if we are already here, can I ask if there’s a way to get let say the top X symbols by volume?
Is it possible using the alpaca api (not using the polygon so far).
Thanks again,