Fundamental
Authorization
Signed mode: every request is signed with your App Key/Secret. Header set:
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string · header | Required | The account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation. |
X-Api-Key | string · header | Required | Your App Key. |
X-Timestamp | string · header | Required | Request timestamp in seconds (Unix epoch). |
X-Api-Signature | string · header | Required | HMAC-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.
Request
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | Required | Security symbol, e.g. `AAPL.US` |
indicator | string | Optional | Indicator filter: `pe`, `pb`, `ps`, `dvd_yld` |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
metrics | object | Required | Valuation metrics map |
└ pe | object | Optional | P/E ratio data |
└ ∟ current | string | Required | Current value |
└ ∟ high | string | Required | 5-year high |
└ ∟ low | string | Required | 5-year low |
└ ∟ median | string | Required | 5-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.