Get complete stock list for specific index

17,919

Solution 1

I just came across this service. You can download complete listings for the popular exchanges.

http://www.eoddata.com/symbols.aspx

You must register (free plan) to download.

Thanks for the link driis but i'm not sure you can get complete listings. I looked at that before and it seems that it is just for managing your Google Finance portfolio.

Solution 2

Other than doing the hard work, like downloading the symbols for the various exchanges from NASDAQ, then is a way to get Google Finance to display all of the stocks and/or companies listed on an exchange. Here is a sample url for obtaining the list of companies on NASDAQ:

https://www.google.com/finance?start=0&num=3000&q=%5B(exchange%20%3D%3D%20%22NASDAQ%22)%20%26%20(last_price%20%3E%200.1)%20%26%20(last_price%20%3C%201500)%5D&restype=company&noIL=1

if you notice the word 'NASDAQ' in the url, you can change that for the exchange you want. In addition, the num parameter can be changed to an amount that allows displaying all of the symbols to a single view. Finally, the last_price shown (which is also used for the criteria) has an upper limit of 1500 - that may need to be changed as well. Run it once as is, and if the view paginates and you want to display all in a single view, then increase that number accordingly.

When you use this URL, you may discover another benefit. The ability to retrieve a list of stocks from Google Finance simply as a search criteria statement. I personally have only uncovered a few of the possible fieldnames, and Google does NOT publish them anywhere that I have found. However, once you use the criteria to build the list, it is a simple matter to consolidate the pages into one view.

Solution 3

Google Finance API, i think, is the best free one.

Share:
17,919
jim
Author by

jim

Alt-rock, ninj...

Updated on June 04, 2022

Comments

  • jim
    jim about 2 years

    Just wondering what kind of free finance API's are out there. I'm looking for something where I can specify the index and get a list of all the companies, by ticker symbol, that are included in that index.

    Currently I'm only interested in NYSE-listed company stocks. I'd really appreciate any suggestions on API's or methods.

  • jim
    jim about 13 years
    I'm going to use EODData to get full index listings.. Then i'll use the Google Finance API to get quotes etc. Thanks.
  • Martin at Mennt
    Martin at Mennt about 10 years
    Google Finance is now deprecated. stackoverflow.com/questions/10040954/…
  • Jepessen
    Jepessen almost 10 years
    is there a way to obtain the complete list in form of xml, json or other type format?
  • Joe Huang
    Joe Huang almost 7 years
    the last price criteria is not working... I change it to (last_price > 50), still the same result.