Skip to content
Virtual Asset Rankings

Get Virtual Asset Ranking

Lists the virtual asset ranking sorted by last price or change rate, with page support, for the ranking section and ranking page of the virtual asset market. Fewer than limit items means there is no more data. Intraday data is usually not included; query it by counter_id when you need a mini chart.

GEThttps://api.lbkrs.com/v1/newmarket/va/rank

Parameters

indicatorstringqueryRequired

Sort indicator:

  • chg - Change rate
  • last_done - Last price

chglast_done

orderstringquery

Sort direction:

  • desc - Descending
  • asc - Ascending

descasc

offsetintegerqueryRequired

Page offset starting at 0

limitintegerqueryRequired

Number of items per page

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Virtual Asset Ranking” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>

Ranked assets ordered by the sort indicator; use counter_id, name, code, last_done, prev_close, and chg

Child attributes
counter_idstring

Security ID

namestring

Security name

codestring

Ticker symbol, for example AAPL

marketstring

Market, for example US

indicatorsarray<string>

Values of the indicator columns, in the same order as indicators in the ranking configuration; format each value by the format of its indicator

last_donestring

Last price

prev_closestring

Previous close, used as the baseline of the mini intraday chart

chgstring

Price change rate as a decimal, for example 0.0523 for +5.23%

extend_stateinteger

Current trading session, used to show a session label during US pre-market, post-market, and overnight sessions:

  • 0 - Regular session
  • 1 - Pre-market
  • 2 - Post-market
  • 3 - Overnight
Values
0
1
2
3
extend_pricestring

Last price in the pre-market, post-market, or overnight session; ignore it when extend_state is 0

extend_chgstring

Price change rate in the pre-market, post-market, or overnight session, as a decimal

minutesarray<object>

Mini intraday chart points in ascending time order

Child attributes
pricestring

Price at this point

timestampstring

Unix timestamp of this point

minutes_countinteger

Total number of points in a full trading day, used to size the x-axis of the mini chart; when 0, derive it from the market's trading hours

Whale Docs