[GNC] Yahoo JSON - throwing unauthorized error

Bruce Schuck bschuck at asgard-systems.com
Tue May 9 00:28:19 EDT 2023


On 5/8/23 8:56 PM, john wrote:

> The api docs indicate only one symbol per request. I tried 
> https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=IBM&symbol=AAPL&apikey=XXXXX <https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=IBM&symbol=AAPL&apikey=XXXXX> and got a quote only for AAPL so it seems the implication is valid.

I've been looking at a bunch of the modules lately. Some sources have 
that ability and I thought AV did too. I tried the same quick curl test. 
Bummer.

> The throttling is done in F::Q's Alphavantage module 

Yep, exactly what I said. 'Unfortunately the AlphaVantage module 
throttles the requests regardless of API type (free or premium). Alpha 
Vantage should have an API that given an API key returns "free" or 
"premium".'

If there was a way to determine the key type, it would be trivial to 
remove the throttling. Maybe I'll shoot an email to their support.

- Bruce S.


More information about the gnucash-user mailing list