Alpha Vantage API not working for Brazilian stocks

Viewed 1974

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.

2 Answers

I'm facing the same issue. This is the outcome when I pass function=SYMBOL_SEARCH and keywords=TOTVS, for instance:

{'1. symbol': 'TOTS3.SAO', '2. name': 'TOTVS S.A',

However, when trying to reach function=OVERVIEW for symbol TOTS3.SAO, the query returns empty. Same is true for TOTS3, TOTS.SA, TOTS%2ESAO, TOTS%2ESA, TOTS\.SA and TOTS\.SAO

Related