---
title: "Aftermarket Prices"
method: POST
path: "/v1/price/aftermarket/query"
tags: ["Market Data"]
---

# Aftermarket Prices

`POST /v1/price/aftermarket/query`

Returns the latest extended-hours (aftermarket) trade and quote for one or more companies. Each record includes the last aftermarket trade (price, size, timestamp) and quote (best bid/ask price and size, cumulative volume, timestamp).

## Request body

- AftermarketQuery
  - `identifier` Identifier, required
    - `type` 'rp_entity_id', required
    - `value` union, required — Bigdata uses the RavenPack Entity identifier (RP_Entity_ID) to uniquely reference entities such as companies. This identifier is a 6-character alphanumeric code (letters and numbers only). Example: Alphabet Inc. (`4A6F00`)
      - string
      - string[]

## Response `200`

Successful Response

- AftermarketResponse — Company aftermarket trades & quotes response model.
  - `results` AftermarketRecord[], required — The main data result
    - `rp_entity_id` string, nullable, required — RavenPack internal entity identifier.
    - `target_identifier_id` string, nullable, required — The target identifier provided in the request, e.g., stock symbol.
    - `trade` AftermarketTrade — Latest extended-hours (aftermarket) trade.
      - `price` number, nullable — The last extended-hours trade price.
      - `trade_size` integer, nullable — The size (number of shares) of the last extended-hours trade.
      - `timestamp` string, date-time, nullable — The time of the last extended-hours trade (UTC).
    - `quote` AftermarketQuote — Latest extended-hours (aftermarket) quote.
      - `bid_price` number, nullable — The best extended-hours bid price.
      - `bid_size` integer, nullable — The size available at the best bid.
      - `ask_price` number, nullable — The best extended-hours ask price.
      - `ask_size` integer, nullable — The size available at the best ask.
      - `volume` integer, nullable — The cumulative extended-hours volume.
      - `timestamp` string, date-time, nullable — The time of the last extended-hours quote (UTC).
  - `errors` ErrorDetail[], nullable
    - `message` string, nullable
  - `metadata` Metadata
    - `request_id` string, required
    - `timestamp` string

---

[API](https://skmtc.dev/bigdata/apis/bigdata-structured-data-api.md) · [All operations](https://skmtc.dev/bigdata/apis/bigdata-structured-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bigdata/bigdata-structured-data-api/revisions/18082de268c4/schema)
