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

MethodEndpointDescription
GET/stable/aftermarket-tradeGet the latest extended-hours trade for a symbol
GET/stable/aftermarket-quoteGet 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
ParameterTypeDescription
symbolstringrequiredStock 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
ParameterTypeDescription
symbolstringrequiredStock 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.