I was able to use the python “alpaca_trade_api” package and also straight “requests”
to use API to interact with Alpaca couple of months ago.
I did not use it since then, and today when I tried, it did not connect.
I tried to get a new API (several times), and try to connect, but I get
“alpaca_trade_api.rest.APIError: account not found for”
do those keys expire?
I used the same keys and base account (the paper account) I use a while ago.
and it did not work.
I created new API keys for both and now it works…