I used to use this link https://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download to download a copy of all the listed stocks on the Nasdaq with some code I wrote. I was using curl in some c++ code but for some reason it no longer works. I am actually using QT and have already tried various QT classes but have no success. I was wondering if anyone could help with this. I even tried wget and curl from the command line it still doesn't work. Does work fine from any web browser.
Try: wget --no-check-certificate "https://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download" -O nasdaq-stocks.csv
wget from command line seems to work fine: wget "https://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download" -0 x.csv Curl is also working fine. However if you are looking for "all the listed stocks on the NASDAQ," then you are not going to get that from the screener. The Naz screener output it incomplete. You are better off downloading the nightly nasdaqlisted file from the Nasdaq ftp site.
I prefer the csv since it includes the IPO year. I only trade IPO stocks that are two years old or young. This is les work for maintaining a list.
I think that the link was mentioned in another thread at ET, with the same question. But it was quite some time ago, so I’m not 100% sure.
Never mind, I found the parent website to the links. It also describes each field in the CSV rows: http://www.nasdaqtrader.com/trader.aspx?id=symboldirdefs#nasdaq