last_quote API keeps returning "Not found" regardless of the symbol

last_quote API keeps returning “Not found” regardless of the symbol

This is likely due to the fact that today is Thanksgiving. Markets are closed.

I mean, there should still be a last quote, right? There must be a most recent price that is being referenced when the buying power decreases following an order placed when markets are closed. Simply getting “Not Found” is kind of dubious.

On further trials and observations, it looks like the “Not Found” response may not be coming from Alpaca, but from the curl connection. Could someone please verify that this is the correct uri to get the last quote for GOOG ?
Thank you.

The Data API endpoint is different from the Trading API endpoint. The URL for data requests such as last and last_quote is So the following should work

The URL is for account things like submitting orders, account status, etc. It’s easy to overlook, but check out the docs under “Endpoint”.

Thank you. Very helpful.