问题
I was trying to get JSON for a company by calling API of alphavantage. For some company data it works and for some company it's failing. For example, for this query it works:
https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=IBM&outputsize=full&apikey={API_KEY}
But for example this query fails:
https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=NSE:TATAMOTORS&outputsize=full&apikey={API_KEY}
回答1:
go to link and search exact code for your stock. https://www.alphavantage.co/query?function=SYMBOL_SEARCH&keywords=tatamotors&apikey=ZZZZZZZZZZZZ
Hope this will help u.
回答2:
Alphavantage has stopped supporting NSE data.
来源:https://stackoverflow.com/questions/62589253/alpha-vantage-api-not-working-for-nse-while-the-same-query-is-giving-output-for