Yahoo Finance may not help you with this. You can get the entire stock symbol from the exchange, and then use the standard stock symbol in the Yahoo Finance API or any other financial API to get the required data.
You can use the following link to download the list as a CSV http://www.nasdaq.com/screening/company-list.aspx .
You may need to read the Terms and Conditions before using them.
source
share