Capital Flow (Intraday)
GET/api/v1.0/quote/{symbol}/capital-flowGet intraday (minute-level) capital flow in/out data for an individual stock.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
symbol | string | path | yes | Symbol code, MARKET.CODE format, e.g. HK.00700 / US.AAPL / SZ.000001. |
section | string | query | no | Trading session, default NORMAL. See Naming Dictionary. |
Request Example
bash
curl 'https://webapi.moomoo.com/api/v1.0/quote/SZ.000001/capital-flow' | jqResponse Fields
Top-level data:
| Field | Type | Description |
|---|---|---|
flow_list | array | Data point list, sorted by time ascending; empty array when no data for current day. |
last_valid_time | int64 | Data last valid time (millisecond timestamp); null when no data. |
flow_list[i]:
| Field | Type | Description |
|---|---|---|
capital_flow_item_time | int64 | Data time point (millisecond timestamp). |
in_flow | double | Overall net inflow (in security's local currency; positive = net inflow, negative = net outflow). |
super_in_flow | double | Super-large orders net inflow. |
big_in_flow | double | Large orders net inflow. |
mid_in_flow | double | Medium orders net inflow. |
sml_in_flow | double | Small orders net inflow. |
in_flow = super_in_flow + big_in_flow + mid_in_flow + sml_in_flow. This API does not return main force net inflow or per-point price change; for historical data use Capital Flow (History) API.
Supported Markets
| Dimension | Supported | Not Supported / No Data Currently |
|---|---|---|
| Market (Stocks / ETFs) | HK · US · SH · SZ · SG · JP · KR · CA · AU | MY · BJ (some codes parseable but no capital flow data currently) |
| Category | Stocks, ETFs | Indices, warrants (valid symbol but flow_list always empty); options / futures / cryptocurrencies (not supported) |
| Time Range | Intraday only (no cross-day) | For historical day / week / month data use Capital Flow (History) API |
| Trading Session | Switch between 4 sessions via section parameter | — |
When a symbol is valid but has no capital flow data (warrants / indices / suspended / non-trading hours / pre-listing), the API returns ret_code=0, flow_list=[], last_valid_time=null.
Error Codes
| ret_code | error.code | Trigger Scenario | Suggested Handling |
|---|---|---|---|
| 0 | — | Success (including valid symbol with no data, flow_list=[]) | Check flow_list length to determine if data exists |
| -3 | invalid_parameter | symbol does not match MARKET.CODE format / section not in enum values / required field missing | Validate parameters and retry |
| -7 | invalid_symbol | Symbol format is valid but no matching security was found (does not exist / typo / unsupported market like MY) | Verify symbol actually exists |
Response Example
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"flow_list": [
{
"capital_flow_item_time": 1780536660000,
"in_flow": 9154605,
"super_in_flow": -3213282,
"big_in_flow": 15359851,
"mid_in_flow": -2914110,
"sml_in_flow": -77854
}
],
"last_valid_time": 1780541862000
}
}