Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alpha vantage API Not working for NSE while the same query is giving output for foreign stocks

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}

like image 567
S.Roy Avatar asked Jun 26 '20 06:06

S.Roy


2 Answers

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.

like image 79
PrashantT Avatar answered Sep 27 '22 15:09

PrashantT


Alphavantage has stopped supporting NSE data.

like image 45
Arman Aurobindo Avatar answered Sep 27 '22 15:09

Arman Aurobindo