# Stock Quote `GET` `https://api.unusualwhales.com/api/stock/{ticker}/quote` Returns the latest trade, national best bid and ask, derived quote values, and quote change statistics for each market session. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Path Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `ticker` | SingleTicker | Yes | A single ticker | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `last_trade` | object | Latest price forming trade, or null when unavailable. | | `market_time` | Stock Quote Market Time | Current US equity market session. | | `quote` | object | Latest national best bid and ask, or null when unavailable. | | `quote_statistics` | Stock Quote Statistics | Quote change statistics grouped by US equity market session. | | `quote_values` | object | Values derived from the latest quote, or null when no quote is available. | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/stock/{ticker}/quote" \ -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/{ticker}/quote", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": { "last_trade": { "price": "775.645", "time": 1786636349747, "vol": 13548986 }, "market_time": "regular", "quote": { "ask": { "price": "775.660", "size": 240 }, "bid": { "price": "775.650", "size": 80 }, "time": 1786636351248 }, "quote_statistics": { "postmarket": { "midpoint_changes": 0, "quote_changes": 0, "size_only_changes": 0, "spread_tightened": 0, "spread_unchanged": 0, "spread_widened": 0 }, "premarket": { "midpoint_changes": 12540, "quote_changes": 105322, "size_only_changes": 92782, "spread_tightened": 6440, "spread_unchanged": 92782, "spread_widened": 6100 }, "regular": { "midpoint_changes": 145814, "quote_changes": 1255891, "size_only_changes": 1110077, "spread_tightened": 74875, "spread_unchanged": 1110077, "spread_widened": 70939 } }, "quote_values": { "midpoint": "775.655", "quote_age_ms": 89, "size_imbalance": 0.5238095238095238, "size_weighted_midpoint": 775.657619047619, "spread": "0.010", "spread_bps": 0.12892329708428238 } } } ```