POST
/shorts.v1alpha1.ShortedStocksService/GetStockGet Stock Summary
Retrieve a summary of current short positions and basic metadata for a specific stock by its ASX code.
Parameters
Request Body
application/json
object
productCodestring*
Responses
200A successful response containing the stock summary.
application/json
object
productCodestring
namestring
totalProductInIssuenumber
reportedShortPositionsnumber
percentageShortednumber
industrystring
tagsarray
Array Items:
string
logoUrlstring <uri>
404The specified stock code was not found.
application/json
object
codestring [CodeCanceled, CodeUnknown, CodeInvalidArgument, CodeDeadlineExceeded, CodeNotFound, CodeAlreadyExists, CodePermissionDenied, CodeResourceExhausted, CodeFailedPrecondition, CodeAborted, CodeOutOfRange, CodeInternal, CodeUnavailable, CodeDataLoss, CodeUnauthenticated]*
messagestring*
detailobject
curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.ShortedStocksService/GetStock" \
-H "Content-Type: application/json" \
-d '{
"productCode": "CBA"
}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.ShortedStocksService/GetStock" \
-H "Content-Type: application/json" \
-d '{
"productCode": "CBA"
}'