I am trying to fetch Brazilian stock prices with Alpha Vantage API. For this example, I'll talk about PETR4. I have used Alpha Vantage Search Endpoint. It returns the symbol of the currency:

{ "bestMatches": [ { "1. symbol": "PETR4.SAO", ... } }

Nevertheless, the TIME_SERIES_DAILY endpoint (or any other as a matter of fact) returns an error:

"Error Message": "Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for TIME_SERIES_DAILY."

Notice that it works with GOOG ticker, for example.

What is the correct way to fetch prices of Brazilian stocks from Alpha Vantage API?

  • 1
    What is your question? – Chris W. Rea Mar 22 at 14:12
  • I've edited the question and added it. I would like to know how to fetch the stock prices correctly. – pedrovgp Mar 25 at 17:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.