I know how to get the stock symbols, the company names, and statistics using the API and services such as yahoo finance.
However, I would like to obtain the company's official website from a ticker symbol. Would there be an API or a service that does that ?
Also, I can convert the symbol to a company name (using, lets say yahoo finance), and then do a Google search. However, this is not what I need since I got thousands of company names and Google would not allow an automated search of that kind.
Any ideas on what I can do to obtain the websites from thousands of ticker symbols?
The code below uses duckduckgo to extract urls from the search results pertaining to bloomberg.com. It has a hit rate of about 97%. The sites that it may not pick up are websites that don't have "www." in front, companies with one letter tickers, and private companies. Also, if the company is a merger/acquisition/holding company, the ticker may be missing from bloomberg