/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" (balance-sheet snapshots) | "ttm". Empty returns every type. (proto string)
ASX code, e.g. "BHP". (proto string)
Responses
Response for GetStockFundamentals.
(proto shorts.v1alpha1.FundamentalsCoverage)
RFC 3339. (proto string)
RFC 3339. (proto string)
Sources of the rows held. (proto string)
"covered" (rows held), "empty" (our providers returned nothing), "pending" (not attempted yet) or "failed" (the last attempt errored). Empty when unknown. (proto string)
(proto shorts.v1alpha1.FundamentalsGrowth)
Series the EPS growth was computed on: "half", "ttm" or "annual". (proto string)
(proto string)
(proto double)
(proto double)
(proto double)
(proto double)
RFC 3339, newest fetch of the growth inputs. (proto string)
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), "ttm" (the latest trailing twelve months vs twelve months earlier, used when it is newer than the latest annual) or "annual". Empty when unknown. (proto string)
"vendor" or "filing": where the rows behind each growth figure came from. "filing" when either side of the pair is a figure extracted from a company filing. 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)
YYYY-MM-DD, the pair revenue_yoy_pct compares. (proto string)
(proto string)
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)
(proto bool)
False when no ratio row exists yet. (proto bool)
(proto shorts.v1alpha1.LatestFilingSummary)
Short summary of the filing. (proto string)
0-1. (proto double)
YYYY-MM-DD, the period the filing reports. (proto string)
"annual" | "half". (proto string)
YYYY-MM-DD. (proto string)
(proto string)
(proto string)
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 shorts.v1alpha1.FundamentalsQuality)
(proto string)
Months between the balance sheet and the flow period. (proto int32)
YYYY-MM-DD; empty when no aligned balance sheet. (proto string)
YYYY-MM-DD. (proto string)
"annual" | "ttm". (proto string)
Reporting currency of the flow period. (proto string)
(proto double)
Free cash flow / net profit (a ratio, not a percentage). (proto double)
(proto double)
(proto double)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
(proto bool)
Operating income / interest expense. (proto double)
Bank, insurer or other financial. (proto bool)
Property trust: profit and EBITDA include revaluations. (proto bool)
AUD: latest close x shares on issue. (proto double)
Excludes leases; negative is net cash. In balance_currency. (proto double)
Normalized EBITDA when published, else statutory. (proto double)
(proto double)
(proto double)
Ratio names withheld because is_financial. (proto string)
Operating cash flow = free cash flow minus capex. (proto bool)
(proto double)
Cash dividends paid / net profit. (proto double)
"diluted" | "basic". (proto string)
YYYY-MM-DD of the EPS used for P/E. (proto string)
Latest close / 12-month EPS; AUD reporters only. (proto double)
YYYY-MM-DD of the close used. (proto string)
Market cap / equity; AUD reporters only. (proto double)
Net profit / average total assets. (proto double)
Net profit / average equity. (proto double)
YYYY-MM-DD of the share count used for market cap. (proto string)
Source of the flow period, e.g. "yahoo-timeseries". (proto string)
Why market cap, P/E or P/B are absent: "non-aud" (statements not in AUD), "listed-unit" (the listed unit is not one ordinary share), "no-shares", "no-price"; empty when present. (proto string)
(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"
}'