Capital Distribution
GET/api/v1.0/quote/{symbol}/capital-distributionGet the current day's capital flow distribution by order size (super-large, large, medium, small) for an individual stock.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
symbol | string | path | yes | Symbol code, e.g. SZ.000001. |
Request Example
bash
curl 'https://webapi.moomoo.com/api/v1.0/quote/SZ.000001/capital-distribution' | jqResponse Fields
Top-level data (object, not array; single intraday snapshot only):
| Field | Type | Description |
|---|---|---|
capital_in_super | double | Inflow - super-large orders cumulative (in security's local currency). |
capital_in_big | double | Inflow - large orders cumulative. |
capital_in_mid | double | Inflow - medium orders cumulative. |
capital_in_small | double | Inflow - small orders cumulative. |
capital_out_super | double | Outflow - super-large orders cumulative. |
capital_out_big | double | Outflow - large orders cumulative. |
capital_out_mid | double | Outflow - medium orders cumulative. |
capital_out_small | double | Outflow - small orders cumulative. |
update_time | int64 | Data update time (millisecond timestamp). |
Net inflow =
capital_in_*-capital_out_*(calculated by the caller as needed).
Supported Markets
| Dimension | Supported | Not Supported / No Data Currently |
|---|---|---|
| Market (Stocks / ETFs) | HK · US · SH · SZ · SG · JP · CA · AU | MY · BJ (some codes parseable but no data currently) |
| Category | Stocks, ETFs | Indices, warrants, options, futures (valid symbol but no distribution data, returns no_data); cryptocurrencies (not supported) |
| Time Range | Intraday cumulative snapshot only | No time series; for intraday time series use Capital Flow (Intraday), for historical aggregation use Capital Flow (History) |
When a symbol is valid but has no capital distribution data (indices / warrants / options / futures / suspended / pre-listing, etc.), the API returns ret_code=-10, error.code=no_data.
Error Codes
| ret_code | error.code | Trigger Scenario | Suggested Handling |
|---|---|---|---|
| 0 | — | Success | Consume data directly |
| -3 | invalid_parameter | symbol does not match MARKET.CODE format / required field missing | Correct parameters and retry |
| -7 | invalid_symbol | Symbol format is valid but not found in security cache (does not exist / typo / unsupported market) | Verify symbol actually exists |
| -10 | no_data | Symbol is valid but no capital distribution data currently (indices / warrants / options / futures / suspended / pre-listing / non-trading hours) | Treat as "no data" branch, no need to retry |
| -5 | internal_error | Backend call failure / response conversion failure or other internal exceptions | Retry or escalate |
Response Example
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"capital_in_super": 33258999.22,
"capital_in_big": 538273730.406,
"capital_in_mid": 717644215.485,
"capital_in_small": 1293213140.084,
"capital_out_super": 81854403.005,
"capital_out_big": 615472467.736,
"capital_out_mid": 801663840.013,
"capital_out_small": 1426845341.759,
"update_time": 1780531198000
}
}