/shorts.v1alpha1.StockService/GetStockFundamentalsGetStockFundamentals
Per-period reported fundamentals (revenue, net income, EPS, cash flow, shares) and year-on-year growth for a stock. Every value carries a has_* flag: a missing figure is absent, never zero.
Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
Request for GetStockFundamentals.
Max periods, newest first (default 12, max 40). (proto int32)
Optional: "annual" | "half" | "quarter" | "ttm". Empty returns every type. (proto string)
ASX code, e.g. "BHP". (proto string)
Responses
Response for GetStockFundamentals.
(proto shorts.v1alpha1.FundamentalsGrowth)
Series the EPS growth was computed on: "half", "ttm" or "annual". (proto string)
(proto double)
(proto double)
(proto double)
(proto double)
YYYY-MM-DD of the latest half-year row; empty when none. (proto string)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
YYYY-MM-DD of the latest period in that series. (proto string)
Latest annual net income above zero. (proto bool)
(proto double)
(proto int32)
Series the revenue growth was computed on: "half" (latest half-year from a company filing vs the same half a year earlier, used when it is newer than the latest annual) or "annual". Empty when unknown. (proto string)
Latest half-year vs the same half a year earlier, from company filings, whether or not the half is the chosen basis. (proto double)
Latest trailing-twelve-month points. (proto double)
Revenue growth on revenue_basis_period_type vs the same series a year earlier. (proto double)
The same growth one period earlier, for acceleration. (proto double)
False when no growth row exists yet. (proto bool)
Newest first. (proto shorts.v1alpha1.FundamentalsPeriod)
One reported period. Values are in `currency` exactly as the source reports them (BHP reports in USD). has_* is false when the source omitted a figure.
(proto string)
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.StockService/GetStockFundamentals" \
-H "Content-Type: application/json" \
-d '{
"limit": 0,
"periodType": "string",
"stockCode": "string"
}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.StockService/GetStockFundamentals" \
-H "Content-Type: application/json" \
-d '{
"limit": 0,
"periodType": "string",
"stockCode": "string"
}'