See this answer first: https://quant.stackexchange.com/a/1862/38968

NASDAQ makes this information available via FTP and they update it every night. Log into ftp.nasdaqtrader.com anonymously. Look in the directory SymbolDirectory. You'll notice two files: nasdaqlisted.txt and otherlisted.txt. These two files will give you the entire list of tradeable symbols, where they are listed, their name/description, and an indicator as to whether they are an ETF.

Given this list, which you can pull each night, you can then query Yahoo to obtain the necessary data to calculate your statistics.

Also: New York's Stock Exchange provides a search-function:

https://www.nyse.com/listings_directory/stock

.. and this page seems to have a lot as well - it has Nikola/NKLA at least ;)

https://www.advfn.com/nasdaq/nasdaq.asp?companies=N

Answer from Morten Jensen on Stack Overflow
🌐
GitHub
github.com › shilewenuw › get_all_tickers
GitHub - shilewenuw/get_all_tickers: Get all publicly traded tickers with this library · GitHub
Returns a list of tickers with given filters (so far filters market cap only, feel free to give suggestions). Minimum and maximum market caps are set through mktcap_min and mktcap_max, respectively (numbers are in millions). You can have no upper bound for market cap if you leave mktcap_max as its default value, so get_tickers_filtered(mktcap_min=200) will get tickers of market caps 200 million and up.
Starred by 287 users
Forked by 124 users
Languages   Python
🌐
Yahoo! Finance
finance.yahoo.com › lookup
Yahoo! Finance - Ticker Symbol Lookup
Search for ticker symbols for Stocks, Mutual Funds, ETFs, Indices and Futures on Yahoo! Finance.
Discussions

Python get all stock Tickers - Stack Overflow
This question have been asked to death but none of the answers provide an actual workable solution. I had found one previously in get-all-tickers: pip install get-all-tickers Recently, for whatever More on stackoverflow.com
🌐 stackoverflow.com
Where can I find a comprehensive list of all U.S. stock market tickers?
SEC: https://www.sec.gov/file/company-tickers More on reddit.com
🌐 r/algotrading
22
17
August 5, 2023
List of stock tickers from yahoo
You can download a csv file of all the tickers currently listed on NASDAQ, AMEX, and NYSE. I used it in my program. NASDAQ https://old.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nasdaq&render=download AMEX https://old.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=amex&render=download NYSE https://old.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nyse&render=download More on reddit.com
🌐 r/algotrading
23
68
November 30, 2019
finance - Download all stock symbol list of a market - Stack Overflow
There does not seem to be a ... list of tickers. One possible 'brute force' way to get it is to query their APIs for every possible combinations of letters and save only those that return valid results. As silly as it may seem there are people who actually do it (ie. check this: http://investexcel.net/all-yahoo-finance-stock-tick... More on stackoverflow.com
🌐 stackoverflow.com
🌐
StockAnalysis
stockanalysis.com › home › stocks
List of All Stock Ticker Symbols
An overview of all the stock ticker symbols listed. Explore the stock pages to learn about the company's price history, financials, key stats, and more.
🌐
EODHD
eodhd.com › home › exchanges api: get list of supported exchanges
Financial Exchanges API. Get Stock Market Ticker Lists | Free plan
December 24, 2025 - You can retrieve either the list of supported exchanges or all the tickers available on each exchange (active or delisted). Data is available in both JSON and CSV formats, making it easy to integrate into your workflows. Use this endpoint to retrieve the full list of supported stock exchanges along with basic metadata.
🌐
SEC
sec.gov › file › company-tickers
SEC.gov | Company Tickers
An official website of the United States government · Here’s how you know
🌐
TipRanks
tipranks.com › stocks
List of All Stock Ticker Symbols - TipRanks.com
April 26, 2026 - Welcome to TipRanks Stocks page, where you will find a comprehensive list of all stock tickers we cover on our site. From financials to energy to industrials, we have a diverse selection of stocks to choose from. Click on an a stock ticker to learn more about earnings and analyst forecast, ...
Find elsewhere
🌐
YouTube
youtube.com › watch
Download All US stock tickers currently listed using FTP / Python - YouTube
We download a complete list of all stock tickers that are currently trading on US exchanges, including the NASDAQ, NYSE and AMEX. We use FTP to connect direc...
Published   October 20, 2022
🌐
Reddit
reddit.com › r/algotrading › list of stock tickers from yahoo
r/algotrading on Reddit: List of stock tickers from yahoo
November 30, 2019 -

Hello there,

newbie here and my question is as follows: Is there a way to get an (relatively) exhaustive list of all stock tickers for which I can download data from yahoo finance? I use this python package to download data from yahoo https://pypi.org/project/yahoo-historical/ so it would be beneficial if the format of the tickers would work with this package, but I am also happy about other suggestions. Given my inexperience, I am pretty sure that there are better solutions out there

Background:

Currently, I am working on a small private project in which I want to enhance my hand-built stock portfolio based on a small number of stocks (<10), based on portfolio optimization and ML predictions about their future performance. In order to find such stocks, I want to try out a large number of stocks and find those that minimize risk when incorporated in my portfolio.

The final selection would then still be performed manually, meaning that I only want to use the indications from the optimization/predictions as a helping measure. Hence, this is not a real algotrading problem, but I still thought that this would be the right subreddit to ask this question - any input is appreciated!:)

Top answer
1 of 4
113

Exchanges will usually publish an up-to-date list of securities on their web pages. For example, these pages offer CSV downloads:

  • http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download
  • http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NYSE&render=download
  • http://www.asx.com.au/asx/research/ASXListedCompanies.csv

NASDAQ Updated their site, so you will have to modify the URLS:

NASDAQ

  • https://old.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nasdaq&render=download

AMEX

  • https://old.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=amex&render=download

NYSE

  • https://old.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nyse&render=download

Depending on your requirement, you could create the map of these URLs by exchange in your own code.

2 of 4
5

There does not seem to be a straight-forward way provided by Google or Yahoo finance portals to download the full list of tickers. One possible 'brute force' way to get it is to query their APIs for every possible combinations of letters and save only those that return valid results. As silly as it may seem there are people who actually do it (ie. check this: http://investexcel.net/all-yahoo-finance-stock-tickers/).

You can download lists of symbols from exchanges directly or 3rd party websites as suggested by @Eugene S and @Capn Sparrow, however if you intend to use it to fetch data from Google or Yahoo, you have to sometimes use prefixes or suffixes to make sure that you're getting the correct data. This is because some symbols may repeat between exchanges, so Google and Yahoo prepend or append exchange codes to the tickers in order to distinguish between them. Here's an example:

Company:  Vodafone
------------------
LSE symbol:    VOD
 in Google:    LON:VOD
 in Yahoo:     VOD.L
NASDAQ symbol: VOD
 in Google:    NASDAQ:VOD
 in Yahoo:     VOD
🌐
Nasdaq
nasdaq.com › market-activity › stocks › screener
Stock Screener | Nasdaq
5 days ago - Use Nasdaq's stock screener to find stocks that meet your investment criteria. Filter by industry, market cap, P/E ratio, and other financial metrics.
🌐
Invest Excel
investexcel.net › home › a list of all yahoo finance stock tickers
A List of All Yahoo Finance Stock Tickers
September 3, 2017 - Get the entire list of Yahoo stock ticker symbols in an Excel spreadsheet. The list covers many international exchanges. Over 58000 tickers for stocks, ETFs, mutual funds and more. Use for stock screening, downloading bulk stock quotes, company research and more
🌐
Massive
massive.com › docs › rest › stocks › tickers › all-tickers
All Tickers | Stocks REST API - Massive
Retrieve a comprehensive list of ticker symbols supported by Massive across various asset classes (e.g., stocks, indices, forex, crypto). Each ticker entry provides essential details such as symbol, name, market, currency, and active status. Use Cases: Asset discovery, data integration, filtering/selection, and application development. ... Specify a ticker symbol. Defaults to empty string which queries all tickers.
🌐
EOD Data
eoddata.com › symbols.aspx
List of Symbols for New York Stock Exchange [NYSE] Starting with A
Download a list of all companies on New York Stock Exchange including symbol and name.
🌐
MarketStack
marketstack.com › search
Search Stock Data API - Real-Time Market Data Solutions
Find the best stock data API for free, covering real-time, historical data, and global markets. Marketstack’s search helps you locate tailored API solutions.
🌐
Medium
medium.com › pythoneers › how-to-get-a-list-of-stock-tickers-519603c818e9
How to Get a List of Stock Tickers | by Jaroslav Šmarda | The Pythoneers | Medium
August 11, 2025 - Ticker symbols are usually short, typically 1–5 letters, and are used to identify a specific company’s stock on a stock exchange. ... The parameter ‘NASDAQ’ means that we are interested in NASDAQ stock exchange. All US exchanges can be retrieved simultaneously using the parameter ‘US’. The result l_t of get_list_of_tickers() is a JSON text file.
🌐
Nasdaq
nasdaq.com › market-activity › stocks
Stock Market Data with Stock Price Feeds | Nasdaq
1 day ago - Find stock quotes, interactive charts, historical information, company news and stock analysis on all public companies from Nasdaq.
🌐
GitHub
github.com › rreichel3 › US-Stock-Symbols
GitHub - rreichel3/US-Stock-Symbols: Full lists of US Securities on the NASDAQ, NYSE, and AMEX powered by GitHub Actions · GitHub
An aggregation of current US Stock Symbols in json and txt formats. Updated nightly at midnight, Eastern. ... This is the raw data from NASDAQ list. It is not a simple list of ticker symbols and contains full company name, etc.
Starred by 553 users
Forked by 111 users