Skip to content

Index Component Valuation ​

GET /api/v1.0/quote/valuation/index-stocks

Get valuation list of index constituents, with pagination, sorting and optional plate filter.

Parameters ​

NameTypeInRequiredDescription
symbolstringqueryyesIndex symbol (query parameter), e.g. HK.800000 (Hang Seng Index) Max length 32; Pattern ^[A-Z0-9_]+\.[A-Za-z0-9_.\-]+$
valuation_typeintquerynoValuation type, default 1. 1=PE / 2=PB / 3=PS / 4=ROE / 5=PEG (aligned with ValuationType) Default 1; Values 1, 2, 3, 4, 5
next_keystringquerynoPagination cursor; leave empty for the first page, then use pagination.next_key returned previously. Stop when pagination.has_more=false Max length 1000; Pattern ^$|^(-?[0-9]+)?$
limitintquerynoNumber of records for this request, default 10, max 50 ≤ 50; Default 10
sort_typeintquerynoSort direction, default 2. 1=Desc / 2=Asc Default 2; Values 1, 2
sort_idintquerynoSort field, default 51. 51=MarketCap / 52=Valuation / 53=ForwardValuation / 54=HistoricalPercentile Default 51; Values 51, 52, 53, 54
filter_securitystringquerynoFilter index constituents by plate; pass the plate symbol (candidates can be obtained from quote.valuation_index_stock_plate_list); leave empty when not filtering. e.g. HK.LIST1001 Max length 32; Pattern ^$|^[A-Z0-9_]+\.[A-Za-z0-9_.\-]+$

Request Example ​

bash
curl "https://webapi.moomoo.com/api/v1.0/quote/valuation/index-stocks?symbol=HK.800000&limit=2&valuation_type=1" | jq

Response Fields ​

NameTypeDescription
dataobject
data.stock_listobject[]
data.stock_list[].symbolstringStock symbol (with market prefix), e.g. HK.00881 / HK.00968
data.stock_list[].namestringEnglish name
data.stock_list[].sc_namestringSimplified Chinese name
data.stock_list[].tc_namestringTraditional Chinese name
data.stock_list[].valuation_valnumberValuation value, e.g. -10.376 / 29.509
data.stock_list[].forward_valuenumberForward valuation, e.g. 8.767 / 12.876
data.stock_list[].valuation_percentilenumberHistorical valuation percentile (0-100), e.g. 0.8045052 / 94.4622792
data.stock_list[].market_capnumberTotal market cap, e.g. 19231825136.875 / 27532601281.15
paginationobject
pagination.totalint
pagination.has_morebool
pagination.next_keystring

Limits ​

  • Instrument: index only.
  • Page size: max 50 per request; use next_key for more.

Error Codes ​

ret_codeerror.codeWhenAction
0—Success—
-3invalid_parameterInvalid paramsFix per ret_msg
-7invalid_symbolIndex not foundCheck symbol
-10no_dataNo valuation dataConfirm index symbol

Response Example ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "stock_list": [
      {
        "forward_value": 8.767,
        "market_cap": 19231825136.875,
        "name": "Zhongsheng Group",
        "sc_name": "中升控股",
        "tc_name": "中升控股",
        "symbol": "HK.00881",
        "valuation_percentile": 0.8045052,
        "valuation_val": -10.376
      }
    ]
  },
  "pagination": {
    "has_more": true,
    "next_key": "2",
    "total": 87
  }
}