GET api/market/security/{code}
Get security details for a given security code.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
code |
ASX security code |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Security object
SecurityName | Description | Type | Additional information |
---|---|---|---|
SecurityID | integer |
None. |
|
SecurityCode | string |
None. |
|
ShortName | string |
None. |
|
LongName | string |
None. |
|
SecurityClassType | byte |
None. |
|
HistoricalCodes | Collection of string |
None. |
|
DelistedDate | date |
None. |
|
SecurityType | byte |
None. |
|
Status | enITSSecurityStatus |
None. |
|
PreviousClose | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "SecurityID": 1, "SecurityCode": "sample string 2", "ShortName": "sample string 3", "LongName": "sample string 4", "SecurityClassType": 64, "HistoricalCodes": [ "sample string 1", "sample string 2" ], "DelistedDate": "2025-04-04T12:09:04.5272507+11:00", "SecurityType": 64, "Status": 1, "PreviousClose": 1.0 }
application/xml, text/xml
Sample:
<Security xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <SecurityID>1</SecurityID> <SecurityCode>sample string 2</SecurityCode> <ShortName>sample string 3</ShortName> <LongName>sample string 4</LongName> <SecurityClassType>64</SecurityClassType> <HistoricalCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </HistoricalCodes> <DelistedDate>2025-04-04T12:09:04.5272507+11:00</DelistedDate> <SecurityType>64</SecurityType> <Status>Tradeable</Status> <PreviousClose>1</PreviousClose> </Security>