# Ticker Exchange Mapping `GET` `https://api.unusualwhales.com/api/stock-directory/ticker-exchanges` Returns a mapping of all tickers to their exchanges. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Response (200) | Field | Type | Description | |-------|------|-------------| | `exchange` | string | The exchange where the ticker is listed. | | `ticker` | string | The ticker symbol. | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/stock-directory/ticker-exchanges" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json" ``` ### Python ```python import http.client conn = http.client.HTTPSConnection("api.unusualwhales.com") headers = {"Authorization": "Bearer YOUR_API_KEY", "Accept": "application/json"} conn.request("GET", "/api/stock-directory/ticker-exchanges", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [ { "exchange": "nasdaq", "ticker": "AAPL" }, { "exchange": "nasdaq", "ticker": "MSFT" }, { "exchange": "nyse", "ticker": "JPM" }, { "exchange": "nyse", "ticker": "BAC" } ] } ```