Skip to content

Historical market breadth ​

GET /api/v1.0/quote/{symbol}/plate-indicator

Retrieve historical constituent indicators for a plate or index in ascending bar order, including total constituents, advances/declines, 52-week highs/lows, and stocks above MA200. Requires login and real-time quote permission for the target market.

Request parameters ​

ParameterTypeInRequiredDescription
symbolstringpathYesPlate or index symbol in MARKET.CODE format, e.g. US..SPX (up to 32 bytes); coverage varies by instrument
ktypeintegerqueryNoBar interval, defaulting to 2 (day): 1 1m, 2 day, 3 week, 4 month, 5 year, 6 5m, 7 15m, 8 30m, 9 60m, 10 3m, 11 quarter, 14 120m, 15 240m, 26 10m, 29 180m
begin_timeintegerqueryYesInclusive start in Unix microseconds (1–9007199254000000), rounded up to whole seconds
end_timeintegerqueryYesInclusive end in Unix microseconds (1–9007199254000000), rounded down to whole seconds; returns -3 if the rounded interval is empty
page_flagstringqueryNoPagination cursor (whole-second Unix microsecond string); omit on the first page, then pass back the previous page_flag unchanged with identical filters (up to 16 bytes)
page_sizeintegerqueryNoMaximum bars per page, 1–1000, default 100
fieldsstring[]queryNoIndicators to return, repeated by key (e.g. fields=rise_count&fields=fall_count), 1–6 items from total_stock, rise_count, fall_count, new_high_52w, new_low_52w, stock_ma200; omit for all six

Request example ​

bash
curl -s "https://webapi.futunn.com/api/v1.0/quote/US..SPX/plate-indicator?begin_time=1793332800000000&end_time=1793854800000000&ktype=2&page_size=2" \
  -H "Authorization: Bearer <AccessToken>"

Response fields ​

Fields under data. This endpoint uses the code / message response envelope (code=0 indicates success).

FieldTypeDescription
codestringRequested plate or index symbol
itemsobject[]Indicator bars ordered by time ascending; empty array when no data
items[].timeintegerBar time in Unix microseconds
items[].time_zoneintegerUTC offset in hours, e.g. -4 or -5
items[].total_stockstringTotal constituents as an integer string; omitted when unsupported or absent, "0" for a measured zero
items[].rise_countstringRising constituents as an integer string; omitted when unsupported or absent, "0" for a measured zero
items[].fall_countstringFalling constituents as an integer string; omitted when unsupported or absent, "0" for a measured zero
items[].new_high_52wstringConstituents at 52-week highs as an integer string; omitted when unsupported or absent, "0" for a measured zero
items[].new_low_52wstringConstituents at 52-week lows as an integer string; omitted when unsupported or absent, "0" for a measured zero
items[].stock_ma200stringConstituents above MA200 as an integer string; omitted when unsupported or absent, "0" for a measured zero
completedbooleanWhether all pages have been returned; stop paging when true
page_flagstringNext-page cursor (microsecond cursor string); empty string when completed is true, otherwise pass back unchanged

Response example ​

json
{
  "code": 0,
  "message": "success",
  "data": {
    "code": "US..SPX",
    "completed": false,
    "items": [
      {
        "fall_count": "275",
        "new_high_52w": "0",
        "new_low_52w": "0",
        "rise_count": "228",
        "stock_ma200": "308",
        "time": 1793332800000000,
        "time_zone": -4,
        "total_stock": "503"
      },
      {
        "fall_count": "155",
        "new_high_52w": "0",
        "new_low_52w": "0",
        "rise_count": "347",
        "stock_ma200": "331",
        "time": 1793595600000000,
        "time_zone": -5,
        "total_stock": "503"
      }
    ],
    "page_flag": "1793682000000000"
  }
}

Errors ​

codeDescription
-3Missing or invalid parameter, page_flag not a whole-second cursor within the requested range, or empty interval after second rounding
-5Backend query or service error
-7symbol does not resolve to a known plate or index
-8Unsupported market prefix, instrument, or bar interval
-9Not logged in or missing real-time quote permission for the target market
-11Rate limit exceeded

Notes ​

  • Because the backend operates at second precision, the effective inclusive range is [ceil(begin_time / 1e6), floor(end_time / 1e6)].
  • Error responses return {code, message, trace_id} without data.