Skip to Content

Capital Flow

This API is used to obtain the daily capital flow intraday of security.

Quote Permission RequiredBasic

Included with OpenAPI activation — no extra purchase needed.

CLI
# intraday capital flow time series for Tesla
longbridge capital TSLA.US --flow
# intraday capital flow time series for Apple
longbridge capital AAPL.US --flow
# intraday capital flow time series for NVDA
longbridge capital NVDA.US --flow

Request

Parameters

NameTypeRequiredDescription
symbolstringYesSecurity code, in ticker.region format, for example: 700.HK

Protobuf

protobuf
message CapitalFlowIntradayRequest {
  string symbol = 1;
}

Request Example

Response

Response Properties

NameTypeDescription
symbolstringSecurity code
capital_flow_linesobject[]Capital flow data
∟ inflowstringInflow capital data
∟ timestampint64Start time stamp of the minute

Protobuf

protobuf
message CapitalFlowIntradayResponse {
  message CapitalFlowLine {
    string inflow = 1;
    int64 timestamp = 2;
  }
  string symbol = 1;
  repeated CapitalFlowLine capital_flow_lines = 2;
}

Response JSON Example

json
{
  "symbol": "700.HK",
  "capital_flow_lines": [
    { "inflow": "-310255860.000", "timestamp": "1655106960" },
    { "inflow": "-314011220.000", "timestamp": "1655107020" },
    { "inflow": "-314011220.000", "timestamp": "1655107080" },
    { "inflow": "-314011220.000", "timestamp": "1655107140" },
    { "inflow": "-314011220.000", "timestamp": "1655107200" }
  ]
}

Error Code

Protocol Error CodeBusiness Error CodeDescriptionTroubleshooting Suggestions
3301600Invalid requestInvalid request parameters or unpacking request failed
3301606Request rate limitReduce the frequency of requests
7301602Server errorPlease try again or contact a technician to resolve the issue
7301600Symbol not foundCheck that the requested symbol is correct
7301603No quotesSecurity no quote
7301604No accessNo access to security quote