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 the valuation distribution histogram for the symbol's industry.
Request
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | Required | Security symbol, e.g. `AAPL.US` |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
pe | object | Optional | P/E ratio distribution |
└ low | string | Optional | 5-year low |
└ high | string | Optional | 5-year high |
└ median | string | Optional | 5-year median |
└ value | string | Optional | Indicator value as a string; empty when unavailable. |
└ ranking | string | Optional | Ranking position. |
└ rank_index | string | Optional | Rank index (position). |
└ rank_total | string | Optional | Total number in the ranking. |
pb | object | Optional | P/B ratio distribution |
└ low | string | Optional | 5-year low |
└ high | string | Optional | 5-year high |
└ median | string | Optional | 5-year median |
└ value | string | Optional | Indicator value as a string; empty when unavailable. |
└ ranking | string | Optional | Ranking position. |
└ rank_index | string | Optional | Rank index (position). |
└ rank_total | string | Optional | Total number in the ranking. |
ps | object | Optional | P/S ratio distribution |
└ low | string | Optional | 5-year low |
└ high | string | Optional | 5-year high |
└ median | string | Optional | 5-year median |
└ value | string | Optional | Indicator value as a string; empty when unavailable. |
└ ranking | string | Optional | Ranking position. |
└ rank_index | string | Optional | Rank index (position). |
└ rank_total | string | Optional | Total number in the ranking. |
Response JSON example
{
"code": 0,
"message": "success",
"data": {
"pe": {
"value": "28.5",
"high": "120.0",
"low": "5.0",
"median": "22.0",
"ranking": "35",
"rank_index": "12",
"rank_total": "30"
},
"pb": {
"value": "45.2",
"high": "200.0",
"low": "1.0",
"median": "8.0",
"ranking": "85",
"rank_index": "25",
"rank_total": "30"
},
"ps": {
"value": "7.8",
"high": "30.0",
"low": "0.5",
"median": "4.0",
"ranking": "70",
"rank_index": "21",
"rank_total": "30"
}
}
}Error code
See the Error Codes page for the full list of error codes.