/shorts.v1alpha1.StockService/GetStockGetStock
Provides an overview of a specific stock based on PRODUCT_CODE.
Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
Request for GetStockSummary RPC, specifying the product code.
(proto string)
Responses
A Stock represents a single stock's metadata.
20-session mean of close x volume, in AUD. 0 when unknown. (proto double)
Average daily VOLUME in shares over the same 20 sessions, and the short position expressed in days of that volume. Percent-of-issue and days-to-cover are the two standard measures of short interest, and they answer different questions. 5% short in a name that turns over 2% of its register a day is a 2.5-day unwind; 5% short in a name that turns over 0.1% a day is a 50-day unwind, and that is where squeezes come from. Percent-of-issue treats those as identical. days_to_cover = reported_short_positions / average_daily_volume_20d, and is 0 when the volume is unknown or zero — never a division artefact. Note this is share VOLUME, not the traded VALUE in average_daily_value_20d: dividing a share count by dollars would produce a number with no meaning. Shares per session. 0 when unknown. (proto double)
Sessions of average volume. 0 when not computable. (proto double)
The last close held for this code and the session it belongs to — the terminal value, where one exists. Zero and empty for the ~48% of codes (936 of 1,941 over 2013-2026) carrying no price history at all; for those the position remains uncloseable and no terminal value is recoverable from data we hold. Saying so explicitly is the point: a caller can now separate "closed at $X" from "cannot be closed" instead of having both arrive as absence. (proto double)
(proto string)
The GICS SECTOR the `industry` label above rolls up to (#557). Cross-sectional short-interest signals are normally sector-neutralised — raw short interest is heavily sector-clustered, so a naive "long the least-shorted" book is a large implicit sector bet — and the caller asked for a GICS level so they could choose the neutralisation granularity. `industry` is already one: the values are the 25 real GICS INDUSTRY GROUP names, level 2 of the hierarchy, pinned against the database by the 2026-07-22 probe the economy pipeline depends on. Industry group → sector is fixed published structure, not licensed data, so this field costs a lookup and gives a second, coarser granularity. Level 3 (industry) and level 4 (sub-industry) are genuinely below what we hold and no mapping can invent them. Empty when the label is not one of the 25 — an upstream vocabulary change, or a stock we have no classification for. Deliberately empty rather than bucketed into a plausible sector: silently placing unclassified names in a sector is the implicit bet this field exists to let a caller avoid. Derived from `industry`, so it inherits that field's as-of caveats exactly: read industry_source before trusting it for a historical cross-section. (proto string)
Whether this security can be PRICED as of the date being asked about. A point-in-time universe that is survivorship-free while the price data behind it is survivor-only is more dangerous than one biased in both, because the bias becomes invisible: the caller does the right thing, selects the delisted names, and then silently drops exactly the acquisitions and failures when returns are computed. A company taken over at a 30% premium and one that went to zero are then treated identically — as though the position never existed. Measured on the 2020-04-06 universe, 255 of 547 constituents (47%) are gone by 2026, and only about half of a sample of those could be priced — Adelaide Brighton, Australian Pharmaceutical, Cabcharge and Asaleo Care among the missing. This does not fix that hole. It makes it measurable before a backtest is run rather than discovered afterwards. False means we hold no usable price on or before this date, so any return computed for this row would be fabricated. It is deliberately as-of rather than lifetime: a name priced only in 2010-2012 is not priceable in a 2020 cross-section, and a lifetime flag would say it was. (proto bool)
(proto string)
(proto string)
Where the `industry` label above came from, relative to the date being asked about. "observed" — a classification change we recorded on or before that date "seed" — the label as it stood when capture began "current" — no history covers that date, so this is TODAY'S label "current" is the one that matters, and it is the common case for any historical cross-section: sector history did not exist before capture started and cannot be reconstructed, so ranking a 2014 cross-section by these labels is lookahead. Mild, but real, and previously invisible — the field was returned with nothing to say which date it described. industry_as_of is the date the label was observed from, empty when the source is "current". (proto string)
── The delisting record (#576) ──────────────────────────────────────── has_price_history above says a position can be OPENED. These three say when and at what value it can be CLOSED, which is the half that was missing: a constituent that leaves the universe currently just stops appearing, so a company acquired at a 30% premium and one wound up at zero are both simply absent, and the position silently never existed. UNLIKE every other field on this message, these are LIFETIME values, not as-of the requested date. That is deliberate and it is the only thing they are for: "when does this position close" is inherently a question about the future relative to the cross-section being built. The direct consequence is that feeding any of them into a signal is LOOKAHEAD. They belong on the exit leg and nowhere else. last_reported_date is the last ASIC report date this code appears on, ever. It is NOT a delisting date and is not named one: the ASIC short-position report covers securities with reportable positions, roughly 700 of ~2,000 listed entities on any day, so a code can leave it by being delisted OR by simply ceasing to be shorted. What it does say exactly is the last date this name is in THIS universe — which is the date a book built from this endpoint has to close it, either way. (proto string)
Coarse liquidity bucket derived from average_daily_value_20d: "mega", "large", "mid", "small" or "micro"; empty when unknown. Present because a band is usable for filtering even where the underlying value is missing or stale, and it is what most callers actually want. (proto string)
(proto string)
Size and liquidity. Without these a short-interest universe cannot be filtered or a position sized: a sweep across ~740 names is dominated by micro-caps where short interest is both noisy and untradeable, and the standard remedy — a floor on traded value — was not expressible. They also change what the headline percentage MEANS: 5% short on a mega-cap and 5% on a micro-cap are not the same signal, and with no size attached they are the same number. double, not the float used above, because a market capitalisation in dollars exceeds float32's exact-integer range by five orders of magnitude. Market capitalisation in AUD. 0 when unknown. (proto double)
The full name of the stock. (proto string)
(proto float)
Whether the price gap on this row is FINAL or merely not filled yet (#576). has_price_history is a boolean and answers "can I price this". It cannot answer the question a caller actually has to act on, which is whether waiting would help: "priced" — a usable close exists on or before this date. "unattempted" — no price, and no provider has ever been asked for this code. Might still be recoverable; do not treat the gap as permanent. "unavailable" — no price, and a provider WAS asked and had nothing. The gap is as final as our current sources make it, and a backtest should code around it rather than wait. The distinction is not hypothetical. Until the backfill's universe was widened, every stock list it used was derived from stock_prices itself, so a code with no prices was never requested — and 936 of 1,941 codes sat in "unattempted" while looking exactly like "unavailable". The standing explanation for the gap went unexamined for as long as it did precisely because the response could not tell those apart. Measured 2026-09-06 against the 13 codes #576 names, Yahoo returned `{"code":"Not Found","description":"No data found, symbol may be delisted"}` for all 13 while three live controls returned 3,040 records each. So for those, "unavailable" is the true state and no amount of re-running helps. (proto string)
The stock code, e.g., "CBA", "ZIP", "PLS". (proto string)
(proto float)
Coarse instrument class: "ordinary", "etf", "debt" or "other". Short interest is reported as a percent of shares on issue, and that quantity does not mean the same thing across instrument types. A warrant, an ETF unit and a bond line each have a denominator, and dividing by it yields a number that looks exactly like an ordinary share's short percentage while not being comparable to one. The visible symptom is a position over 100% — GSBW34 at 132.54%, UYLD at 102.61% — but those are only the tip; the real problem is the ETF sitting at a plausible single digit, indistinguishable from an ordinary share in the response. Derived from the product name, code shape and shares on issue — the same rules mv_top_shorts and mv_screener_data already filter on — not from an authoritative instrument register, which we do not hold. Deliberately coarse for that reason: it does not attempt warrant-versus-stapled, which the data cannot support. (proto string)
(proto string)
(proto float)
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/GetStock" \
-H "Content-Type: application/json" \
-d '{
"productCode": "string"
}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.StockService/GetStock" \
-H "Content-Type: application/json" \
-d '{
"productCode": "string"
}'