Account

Risk Assessment

GEThttps://openapi.longbridge.com/v1/members/me/risk-assessment

Authorization

Signed mode: every request is signed with your App Key/Secret. Header set:

NameTypeRequiredDescription
Authorizationstring · headerRequiredThe account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation.
X-Api-Keystring · headerRequiredYour App Key.
X-Timestampstring · headerRequiredRequest timestamp in seconds (Unix epoch).
X-Api-Signaturestring · headerRequiredHMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=.

Get the risk assessment profile of the account the access token belongs to: the risk level and score of the latest assessment, the professional investor (PI) status, and the approval state of each item.

This API takes no parameters; it always describes the account the access token belongs to.

The vocabularies of several fields are defined by the account system, not by this API, and are returned as-is:

  • risk is the risk level string of the latest assessment (e.g. A5). This API does not define the set of levels or any ordering between them, so do not infer that one level means a higher or lower risk tolerance than another.
  • pi is a professional investor status code. This API does not define its code values; treat it as an opaque identifier.
  • pi_end_at and deadlines are the raw integers returned by the server. This API does not define their unit (seconds or milliseconds), so confirm the unit before converting a non-zero value into a timestamp.

approvals and deadlines are keyed by item. The values of approvals are strings, not booleans: is_corporate_client arrives as "false" / "true", so compare the string instead of testing it for truthiness.

Integer fields may arrive as JSON strings (e.g. "pi_end_at": "0"), which is how the gateway serialises int64 in proto3 JSON. The official SDKs accept both forms and expose integers.

>_ CLI
longbridge risk-assessment

Request

This endpoint takes no request parameters.

Response

Response properties

NameTypeRequiredDescription
riskstringOptionalRisk level of the latest assessment, e.g. `A5`. Returned as-is; this API does not define the set of levels or an ordering between them. May be empty.
piint32OptionalProfessional investor (PI) status code, returned as-is. This API does not define its code values.
approvalsobjectOptionalApproval state per item, keyed by item name with string values, e.g. `car` / `cka` / `risk_audit` → `pass`. The values are strings, not booleans: `is_corporate_client` arrives as `"false"` / `"true"`.
re_authenticationstringOptionalRe-authentication flag, returned as-is. May be empty.
pi_end_atint64OptionalEnd time of the professional investor status, returned as the raw integer; `0` when not set. This API does not define the unit (seconds or milliseconds). May arrive as a JSON string, e.g. `"0"`.
deadlinesobjectOptionalThe `deadlines` entries, as raw integers with the same undefined unit as `pi_end_at`.
risk_assessment_atstringOptionalDate of the latest assessment as returned by the server, e.g. `2026-10-14`. May be empty.
scoreint32OptionalQuestionnaire score.
strategy_risk_levelsstring[]OptionalStrategy risk levels of the account.

Response JSON example

{
  "code": 0,
  "data": {
    "risk": "A5",
    "pi": 0,
    "approvals": {
      "car": "pass",
      "cka": "pass",
      "is_corporate_client": "false",
      "risk_audit": "pass"
    },
    "re_authentication": "",
    "pi_end_at": "0",
    "deadlines": {},
    "risk_assessment_at": "2026-10-14",
    "score": 0,
    "strategy_risk_levels": []
  }
}

Error code

See the Error Codes page for the full list of error codes.