Fundamental

Valuation History

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

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 historical valuation metric time series (PE, PB, PS, dividend yield).

Request

Query parameters

NameTypeRequiredDescription
symbolstringRequiredSecurity symbol, e.g. `AAPL.US`

Response

Response properties

NameTypeRequiredDescription
overviewobjectRequiredCurrent-valuation summary
overview.metricsobjectOptionalMetrics map keyed by indicator (pe/pb/ps)
overview.metrics.peobjectOptionalMetric block for the requested indicator
overview.metrics.pe.metricstringOptionalCurrent value, e.g. 14.85x
overview.metrics.pe.industry_medianstringOptionalIndustry median
overview.metrics.pe.descstringOptionalHuman-readable summary
overview.indicatorstringOptionalRequested indicator key
overview.rangeintegerOptionalLookback range in years
overview.datestringOptionalAs-of date
overview.ccy_symbolstringOptionalCurrency symbol
historyobjectRequiredHistorical time series
history.metrics.peobjectOptionalHistory block for the indicator
history.metrics.pe.lowstringOptionalHistorical low
history.metrics.pe.medianstringOptionalHistorical median
history.metrics.pe.highstringOptionalHistorical high
history.metrics.pe.listobject[]OptionalTime-series points
history.metrics.pe.list[].timestampstringOptionalUnix seconds (string)
history.metrics.pe.list[].valuestringOptionalValue at this point
peersobjectOptionalIndustry peers comparison
peers.pe.industry_medianstringOptionalPeer-group median
peers.pe.listobject[]OptionalPeer companies
peers.pe.list[].symbolstringOptionalSecurity symbol, e.g. 9626.HK
peers.pe.list[].namestringOptionalSecurity name
peers.pe.list[].valuestringOptionalMetric value
layoutsobjectOptionalDistribution buckets for charting
symbolsobjectOptionalMap keyed by symbol -> { name, market_cap }

Response JSON example

{
  "code": 0,
  "message": "success",
  "data": {
    "history": {
      "metrics": {
        "pe": {
          "desc": "P/E Ratio",
          "high": "35.2",
          "low": "18.1",
          "median": "26.5",
          "list": [
            {
              "timestamp": "1622520000",
              "value": "28.5"
            }
          ]
        },
        "pb": null,
        "ps": null
      }
    }
  }
}

Error code

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