Skip to content
K-Lines and Intraday

Get Mini Intraday Data for Multiple Securities

Returns sampled intraday data for today (price and time only) for multiple securities, for mini trend charts in lists or cards, such as the industry trend thumbnail in the security encyclopedia. This read-only endpoint has no side effects.

POSThttps://api.lbkrs.com/v1/quote/stock/sampletimeshares

Request body application/json

all_sessionbooleanrequired

Whether to return intraday data for all trading sessions; when true, data is returned per session in session_data

securitiesarray<object>required

Securities to query

Child attributes
counter_idstringrequired

Security ID

indexintegerrequired

Caller-defined sequence number to identify the request item

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Mini Intraday Data for Multiple Securities” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
securitiesarray<object>

Intraday results per security

Child attributes
counter_idstring

Security ID

timesharesobject

Regular-session intraday data

Child attributes
base_pricestring

Base price (previous close)

minutes_countinteger

Total minutes of a full trading day, which can be used to size the x-axis

minutesarray<object>

Sampled intraday points

Child attributes
pricestring

Price

timestampstring

Unix timestamp in seconds

session_dataarray<object>

Intraday data per trading session; returned when all_session is true

Child attributes
trade_sessioninteger

Trading session of this segment

base_pricestring

Base price

minutes_countinteger

Total minutes of the full session

minutesarray<object>

Sampled intraday points

Child attributes
pricestring

Price

timestampstring

Unix timestamp in seconds

Whale Docs