List All Stock Exchanges
Retrieve the complete list of stock exchanges covered by the ROIC.ai API. Each entry includes the exchange code, full exchange name, and the number of ticker symbols available on that exchange. Use this endpoint to discover which exchanges are available, populate exchange filter dropdowns, or validate exchange codes before passing them to other endpoints.
The response includes major US exchanges like NASDAQ, NYSE, and AMEX, as well as international exchanges. Results are live.
GET
https://api.roic.ai/v2/exchanges/listParameters
Query Parameters
apikeystringrequiredYour API key for authentication.
formatstringoptionalResponse format. Use `json` for JSON (default) or `excel` for tab-separated values compatible with Google Sheets and Excel.
Default:
jsonValues: json, excelCode Examples
curl "https://api.roic.ai/v2/exchanges/list?apikey=YOUR_API_KEY"Response
Response200 OK
[
{
"exchange": "NASDAQ",
"exchange_name": "NASDAQ Global Select",
"ticker_count": 3500
},
{
"exchange": "NYSE",
"exchange_name": "New York Stock Exchange",
"ticker_count": 2800
}
]Use Cases
- Build a stock screener with an exchange filter dropdown populated from live data
- Discover all available exchanges and their ticker coverage before querying other endpoints
- Validate exchange codes entered by users in your application
- Display exchange coverage statistics on a data provider landing page
- Filter the List All Tickers response by exchange for region-specific applications
Related Endpoints
- List by Exchange - Get all tickers listed on a specific exchange
- List Sectors - Browse all market sectors with company counts
- List Countries - See all countries represented in the API