Aftermarket Endpoints
The Aftermarket Endpoints provide extended-hours (pre/post-market) trade and quote data for a symbol — the latest aftermarket trade and the latest aftermarket bid/ask.
All endpoints return responses with a consistent structure: { success: boolean, data: T | null, error: string | null, status: number }.
Available Methods
| Method | Endpoint | Description |
|---|---|---|
| GET | /stable/aftermarket-trade | Get the latest extended-hours trade for a symbol |
| GET | /stable/aftermarket-quote | Get the latest extended-hours bid/ask quote for a symbol |
Get Aftermarket Trade
Retrieve the most recent extended-hours trade, including price, trade size, and timestamp.
TypeScriptTypeScript
| Parameter | Type | Description | |
|---|---|---|---|
| symbol | string | required | Stock symbol (e.g., "AAPL") |
Example Response
TypeScriptTypeScript
Get Aftermarket Quote
Retrieve the most recent extended-hours bid/ask quote, including bid/ask prices and sizes, volume, and timestamp.
TypeScriptTypeScript
| Parameter | Type | Description | |
|---|---|---|---|
| symbol | string | required | Stock symbol (e.g., "AAPL") |
Example Response
TypeScriptTypeScript
Response Types
AftermarketTrade
TypeScriptTypeScript
AftermarketQuote
TypeScriptTypeScript
Looking for regular-session data? See the Quote Endpoints and Stock Endpoints.