POST/shorts.v1alpha1.OwnershipService/ListStockRegisters

ListStockRegisters

Every stock with a current substantial holder, filtered and sorted for the register explorer: what its notices disclose (each interest counted once, not a share of the company), the investors, banks and index funds among its holders, and its short interest.

Parameters

Connect-Protocol-VersionheaderRequired
number [1]

Define the version of the Connect protocol

Connect-Timeout-Msheader
number

Define the timeout, in ms

Request Body

application/json
object
ascendingboolean

(proto bool)

industrystring

"" or one of the response's industries, matched exactly after trim. (proto string)

kindstring

A kind that must disclose 5% or more in the stock; "" for any. (proto string)

limitinteger <int32>

0 means 50; above 100 is 100. (proto int32)

minInterestsinteger <int32>

Interests counted once; 0 means 1. (proto int32)

minShortPctnumber <double>

One of 0, 1, 3, 5, 10; another value snaps DOWN to the nearest served step. (proto double)

offsetinteger <int32>

0 to 5000. (proto int32)

querystring

A code prefix or a name substring, at most 24 characters. (proto string)

sortstring

disclosed (default), investors, banks, hedge_active, short, index, super_value, super_options, interests, latest_notice, code. A stock without the figure sorts last whatever the direction; ties are broken by code. (proto string)

Responses

200Success
application/json
object
asOfstring

(proto string)

industriesarray

The distinct industries, sorted, for the filter. (proto shorts.v1alpha1.IndustryCount)

Array Items:
stocksarray

(proto shorts.v1alpha1.OwnershipStock)

Array Items:
totalinteger <int32>

Stocks matching the filters. (proto int32)

universeinteger <int32>

Stocks with at least one current holder, before the filters. (proto int32)

defaultError
application/json
object

Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation

codestring [canceled, unknown, invalid_argument, deadline_exceeded, not_found, already_exists, permission_denied, resource_exhausted, failed_precondition, aborted, out_of_range, unimplemented, internal, unavailable, data_loss, unauthenticated]

The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].

detailsarray

A list of messages that carry the error details. There is no limit on the number of messages.

Array Items:
messagestring

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.OwnershipService/ListStockRegisters" \
  -H "Content-Type: application/json" \
  -d '{
  "ascending": true,
  "industry": "string",
  "kind": "string",
  "limit": 0,
  "minInterests": 0,
  "minShortPct": 0,
  "offset": 0,
  "query": "string",
  "sort": "string"
}'