Skip to content
ETFs and Topics

List ETFs in an ETF ranking

Returns a page of ETFs in the ranking with the specified ID, for the More list of an ETF ranking. Request again when the sort order or page changes. Stop paginating when the loaded count reaches total.

The result contains only security IDs and names. Get prices and change rates separately by counter_id.

GEThttps://api.lbkrs.com/v1/discovery/etf/stocks

Parameters

idstringqueryRequired

ETF ranking ID from ranklists[].id of GET /v1/discovery/etf/categories

marketstringqueryRequired

Market code, such as US

offsetintegerqueryRequired

Pagination offset, starting from 0

limitintegerqueryRequired

Page size. The Broker App passes 50

sort_typeintegerqueryRequired

Sort type:

  • 0 - Change rate, descending
  • 1 - Change rate, ascending
  • 2 - Last price, descending
  • 3 - Last price, ascending

0123

Responses

HTTP 200The request succeeded. The response body contains the result of the “List ETFs in an ETF ranking” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
totalinteger

Total number of ETFs in the ranking

stocksarray<object>

ETFs on the current page, sorted by sort_type

Child attributes
counter_idstring

Security ID, such as ST/HK/2800

namestring

Security name

Whale Docs