I was trying to get JSON for a company by calling API of alphavantage .For some company data is coming and for some company, it's failing. Company for which data are coming - TCS,INFY,MSFT Company for which data are failing - TATAMOTORS,RCOM,SBIN
Link for TCS JSON
LINK for TATAMOTORS
Can anyone please help me why this is happening?
The solution is to include exchange in the symbol as follows:
symbol=EXCHANGE:SYMBOL
For example, for query works : https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=NSE:TATAMOTORS&outputsize=full&apikey={API_KEY}