Skip to content

US overnight ​

GET /api/v1.0/quote/rank/us-overnight

US overnight (24h / 524) movers ranked by overnight change ratio. Filters and pagination match quote.rank.us_pre_market.

Parameters ​

NameTypeInRequiredDescription
sort_dirstringquerynoSort direction. DESCENDING=gainers (default) / ASCENDING=losers
page_flagstringquerynoPage cursor. Omit or pass empty on the first page; pass back pagination.page_flag. Stop only when pagination.completed is true
page_sizeintquerynoPage size, default 10, max 200
price_filterstringquerynoPrice filter, same values as quote.rank.us_pre_market
market_cap_minnumberquerynoMinimum market cap; omit for no lower bound
market_cap_maxnumberquerynoMaximum market cap; omit for no upper bound
pe_minnumberquerynoMinimum PE; omit for no lower bound
pe_maxnumberquerynoMaximum PE; omit for no upper bound

Example ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/rank/us-overnight' \
  -H 'Authorization: Bearer <AccessToken>' | jq

Response parameters ​

NameTypeDescription
data.itemsobject[]
data.items[].codestringSymbol, e.g. US.AAPL
data.items[].namestringSecurity name
data.items[].overnight_pricestringOvernight price
data.items[].overnight_change_ratiostringOvernight change ratio in percent
data.items[].overnight_change_amountstringOvernight change amount
data.items[].overnight_turnoverstringOvernight turnover
data.items[].overnight_volumestringOvernight volume
data.items[].close_pricestringRegular-session last price
data.items[].change_ratiostringRegular-session change ratio in percent
data.items[].change_amountstringRegular-session change amount
pagination.totalint
pagination.completedboolTrue when this is the last page. Stop paging only when completed is true
pagination.page_flagstringNext page cursor. Pass it back as page_flag while completed is false; empty on the last page

Errors ​

ret_codeerror.codeDescription
0—Success
-3invalid_parameterMissing or invalid parameter
-8unsupportedNot supported
-10no_dataNo data

Response example ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "items": [
      {
        "code": "US.AAPL",
        "name": "example",
        "overnight_price": "example",
        "overnight_change_ratio": "example",
        "overnight_change_amount": "example",
        "overnight_turnover": "example",
        "overnight_volume": "example",
        "close_price": "example",
        "change_ratio": "example",
        "change_amount": "example"
      }
    ]
  },
  "pagination": {
    "page_flag": "",
    "completed": true,
    "total": 0
  }
}