Fundamental

Valuations

GEThttps://openapi.longbridge.com/v1/quote/valuation

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 current valuation metrics (P/E, P/B, P/S, dividend yield) with 5-year historical context.

>_ CLI
longbridge valuation TSLA.US --indicator pe
longbridge valuation AAPL.US

Request

Query parameters

NameTypeRequiredDescription
symbolstringRequiredSecurity symbol, e.g. `AAPL.US`
indicatorstringOptionalIndicator filter: `pe`, `pb`, `ps`, `dvd_yld`

Response

Response properties

NameTypeRequiredDescription
metricsobjectRequiredValuation metrics map
└ peobjectOptionalP/E ratio data
└ ∟ currentstringRequiredCurrent value
└ ∟ highstringRequired5-year high
└ ∟ lowstringRequired5-year low
└ ∟ medianstringRequired5-year median

Response JSON example

{
  "code": 0,
  "message": "success",
  "data": {
    "metrics": {
      "pe": {
        "current": "29.5",
        "high": "35.2",
        "low": "18.0",
        "median": "26.0"
      },
      "pb": {
        "current": "45.1",
        "high": "50.0",
        "low": "30.0",
        "median": "42.0"
      }
    }
  }
}

Error code

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