Capital Flow
Stock Market APIs
Capital Flow
Retrieve capital flow data for stocks, including inflow and outflow of main funds, large orders, medium orders, and small orders.
GET
Capital Flow
Notes
- Capital flow data is calculated based on volume and price changes
- Update frequency depends on market trading activity
Supported Markets
US Stocks, HK Stocks, A-Shares Examples:- US Stocks: AAPL.US, TSLA.US, MSFT.US
- HK Stocks: 700.HK, 9988.HK, 3690.HK
- A-Shares: 000001.SH, 000001.SZ
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| symbol | Yes | Stock symbol code |
| type | No | Symbol type, optional. Not required when the symbol is unambiguous; if the API returns an AMBIGUOUS_SYMBOL error, pass the value as indicated. Values: stock, indices, crypto, forex |
Response Fields
| Field Name | Description |
|---|---|
| symbol | Trading Symbol |
| timestamp | Data update timestamp |
| intraday_flow | Capital flow data |
| └─ timestamp | Minute start timestamp |
| └─ inflow | Net inflow |
| distribution | Capital distribution |
| └─ timestamp | Data update timestamp |
| └─ capital_in | Inflow capital |
| └─ large | Large orders |
| └─ medium | Medium orders |
| └─ small | Small orders |
| └─ capital_out | Outflow capital |
| └─ large | Large orders |
| └─ medium | Medium orders |
| └─ small | Small orders |
Authorizations
Query Parameters
Stock symbol
Example:
"700.HK"
Symbol type, optional. Not required when the symbol is unambiguous; if the API returns an AMBIGUOUS_SYMBOL error, pass the value as indicated
Available options:
stock, indices, crypto, forex Example:
"stock"
Response
200 - application/json
Successful response
Example:
0
Example:
"success"
Example:
{
"symbol": "700.HK",
"timestamp": 1773306211,
"intraday_flow": [
{
"timestamp": 1773279000,
"inflow": "-12199.34"
},
{
"timestamp": 1773279060,
"inflow": "-15137.59"
}
],
"distribution": {
"timestamp": 1773303000,
"capital_in": {
"large": "173056.31",
"medium": "164958.55",
"small": "83945.69"
},
"capital_out": {
"large": "179434.39",
"medium": "176045.91",
"small": "92979.74"
}
}
}