List Assets
The list assets endpoint will return an asset list object containing all asset objects available to your account. Asset lists can be paged to return upto 100 assets at a time
GET /assets/
There are also four asset list filter endpoints which will only return assets of the requested type:
Endpoint | Type | Description |
---|---|---|
equities | list of asset objects | A list of equities |
commodities | list of asset objects | A list of commodities |
indices | list of asset objects | A list of indices |
forex | list of asset objects | A list of forex pairs |
GET /equities/
GET /commodities/
GET /indices/
GET /forex/
It is also possible to request the details for upto 100 specific assets at a time using a comma seperated list of identifier values.
GET /assets/{identifier},{identifier},{identifier}/
Example request/response
GET https://api.knows.is/assets/
Accept: application/json, text/javascript
{
"meta":{
"page":1,
"pagesize": 100,
"items": 2,
"total_items": 2
},
"assets": [
{
"name": "Anglo American PLC",
"type": "Equity"
"identifiers": [
{
"identifier": "AAL:LN",
"type": "Bloomberg"
},
{
"identifier": "AAL.L",
"type": "Reuters"
},
{
"identifier": "GB00B1XZS820",
"type": "ISIN"
}
]
},
{
"name": "ARM Holdings PLC",
"type": "Equity",
"identifiers": [
{
"identifier": "ARM:LN",
"type": "Bloomberg"
},
{
"identifier": "ARMH:US",
"type": "Bloomberg"
}
]
}
]
}