Skip to main content
Version: 2025-11-12.1

Holdings

Data Model

Holding

Holding value on a specific date.

  • ccyCode (string): ISO 4217 code for the currency in which the holding is reported.
  • date (string): ISO 8601 representation of the date where the data holds.
  • marketValue (number): Market value of the holding.

Relationships

  • reportingEntity (required)
  • depository (optional)
  • portfolio (optional)
  • asset (optional)
  • assetClass (optional)
  • assetClassDetailed (optional)

Asset Holding

Holding value on a specific date for a specific asset.

  • ccyCode (string): ISO 4217 code for the currency in which the holding is reported.
  • date (string): ISO 8601 representation of the date where the data holds.
  • marketValue (number): Market value of the holding.
  • unitsInHolding (number): The number of units of the asset owned.

Relationships

  • reportingEntity (required)
  • depository (optional)
  • portfolio (required)
  • asset (required)
  • assetClass (optional)
  • assetClassDetailed (optional)

Endpoints

GET /holdings/reporting-entities/:id

Get holding values for a specific reporting entity in a given period. The default behavior of the endpoint is to aggregate holdings of the entire reporting entity. More granular data can be retrieved by using the expand parameter.

Parameters

  • expand (query): Allows for expansion of the data from the total reporting entity level to lower levels. Possible values: "portfolios", "depositories", "assets", "assetClasses", "assetClassesDetailed". Multiple values can be passed as a comma separated list, e.g. "portfolios,assets". When choosing "depositories" all holdings without a depository can be identified as those not including depository in the "relationships" object.
Deprecation Notice

expand=assets is being deprecated. Use GET /asset-holdings/reporting-entities/:id to fetch holding data on asset level.

  • fromDate (query, required): ISO 8601 representation of the first date in period.
  • id (path, required): Identifier for the reporting entity.
  • include (query, optional): Allows for inclusion of related data. Multiple values can be passed as a comma separated list. Possible values: "asset".
  • toDate (query, required): ISO 8601 representation of the last date in the period.

Examples

200 OK
Total Reporting Entity Holdings
# Request
GET /api/v2/holdings/reporting-entities/649ad926fc1a10be9e2ea241
?fromDate=2024-06-03
&toDate=2024-06-04 HTTP/1.1

Accept: application/vnd.json+api
Authorization: Bearer <access token>
Host: platform.aleta.io


# Response
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
"data": [
{
"type": "holding",
"id": "ZDAzNDhiNjVmYWUzMTdhZGVmMWZmOGNk",
"attributes": {
"date": "2024-06-03",
"ccyCode": "DKK",
"marketValue": 144091629
},
"relationships": {
"reportingEntity": {
"type": "reporting-entity",
"id": "649ad926fc1a10be9e2ea241"
}
}
},
{
"type": "holding",
"id": "OWVjOWRmMmM1YTg2MWY5ZGQ2OWNlYTk3",
"attributes": {
"date": "2024-06-04",
"ccyCode": "DKK",
"marketValue": 144860105
},
"relationships": {
"reportingEntity": {
"type": "reporting-entity",
"id": "649ad926fc1a10be9e2ea241"
}
}
}
]
}
Holdings By Portfolios

Passing expand=portfolios to the endpoint results in per-portfolio holdings data.

200 OK
# Request
GET /api/v2/holdings/reporting-entities/649ad926fc1a10be9e2ea241
?fromDate=2024-06-03
&toDate=2024-06-04
&expand=portfolios HTTP/1.1

Accept: application/vnd.json+api
Authorization: Bearer <access token>
Host: platform.aleta.io


# Response
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
"data": [
{
"type": "holding",
"id": "ZDAzNDhiNjVmYWUzMTdhZGVmMWZmOGNk",
"attributes": {
"date": "2024-06-03",
"ccyCode": "DKK",
"marketValue": 144091629
},
"relationships": {
"portfolio": {
"data": {
"type": "portfolio",
"id": "649ada0dfc1a10be9e2ea249"
}
},
"reportingEntity": {
"data": {
"type": "reporting-entity",
"id": "649ad926fc1a10be9e2ea241"
}
}
}
},
{
"type": "holding",
"id": "OWVjOWRmMmM1YTg2MWY5ZGQ2OWNlYTk3",
"attributes": {
"date": "2024-06-04",
"ccyCode": "DKK",
"marketValue": 144860105
},
"relationships": {
"portfolio": {
"data": {
"type": "portfolio",
"id": "649ada0dfc1a10be9e2ea249"
}
},
"reportingEntity": {
"data": {
"type": "reporting-entity",
"id": "649ad926fc1a10be9e2ea241"
}
}
}
}
]
}
Holdings By Assets
200 OK
# Request
GET /api/v2/holdings/reporting-entities/649ad926fc1a10be9e2ea241
?fromDate=2024-06-03
&toDate=2024-06-04
&expand=assets HTTP/1.1

Accept: application/vnd.json+api
Authorization: Bearer <access token>
Host: platform.aleta.io


# Response
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
"data": [
{
"type": "holding",
"id": "ZDAzNDhiNjVmYWUzMTdhZGVmMWZmOGNk",
"attributes": {
"date": "2024-06-03",
"ccyCode": "DKK",
"marketValue": 144091629
},
"relationships": {
"asset": {
"data": {
"type": "asset",
"id": "649ada0dfc1a10be9e2ea249"
}
}
"reportingEntity": {
"data": {
"type": "reporting-entity",
"id": "649ad926fc1a10be9e2ea241"
}
}
}
},
{
"type": "holding",
"id": "OWVjOWRmMmM1YTg2MWY5ZGQ2OWNlYTk3",
"attributes": {
"date": "2024-06-04",
"ccyCode": "DKK",
"marketValue": 144860105
},
"relationships": {
"asset": {
"data": {
"type": "asset",
"id": "649ada0dfc1a10be9e2ea249"
}
}
"reportingEntity": {
"data": {
"type": "reporting-entity",
"id": "649ad926fc1a10be9e2ea241"
}
}
}
}
]
}
Holdings By Portfolios and Assets
200 OK
# Request
GET /api/v2/holdings/reporting-entities/649ad926fc1a10be9e2ea241
?fromDate=2024-10-01
&toDate=2024-10-01
&expand=assets,portfolios HTTP/1.1

Accept: application/vnd.json+api
Authorization: Bearer <access token>
Host: platform.aleta.io


# Response
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
"data": [
{
"type": "holding",
"id": "zIWYr8EuJRo9odnTHYD5SQ",
"attributes": {
"date": "2024-10-01",
"marketValue": 702926.90187541,
"ccyCode": "DKK"
},
"relationships": {
"portfolio": {
"data": {
"id": "666ae70b272d21815633c902",
"type": "portfolio"
}
},
"asset": {
"data": {
"id": "0e496ca224b76c4d9bdbfc7b",
"type": "asset"
}
},
"reportingEntity": {
"data": {
"id": "649ad926fc1a10be9e2ea241",
"type": "reporting-entity"
}
}
}
},
{
"type": "holding",
"id": "Q0xX9JQhEizBCLUBOjbtKw",
"attributes": {
"date": "2024-10-01",
"marketValue": 700569.24008607,
"ccyCode": "DKK"
},
"relationships": {
"portfolio": {
"data": {
"id": "666ae70b272d21815633c903",
"type": "portfolio"
}
},
"asset": {
"data": {
"id": "0e496ca224b76c4d9bdbfc7b",
"type": "asset"
}
},
"reportingEntity": {
"data": {
"id": "649ad926fc1a10be9e2ea241",
"type": "reporting-entity"
}
}
}
}
]
}
Holdings By Asset Class and Detailed Asset Class
200 OK
# Request
GET /api/v2/holdings/reporting-entities/649ad926fc1a10be9e2ea241
?fromDate=2024-10-01
&toDate=2024-10-01
&expand=assetClasses,assetClassesDetailed HTTP/1.1

Accept: application/vnd.json+api
Authorization: Bearer <access token>
Host: platform.aleta.io


# Response
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
"data": [
{
"type": "holding",
"id": "zIWYr8EuJRo9odnTHYD5SQ",
"attributes": {
"date": "2024-10-01",
"marketValue": 702926.90187541,
"ccyCode": "DKK"
},
"relationships": {
"assetClass": {
"data": {
"id": "666ae70b272d21815633c902",
"type": "asset-class"
}
},
"assetClassDetailed": {
"data": {
"id": "0e496ca224b76c4d9bdbfc7b",
"type": "asset-class-detailed"
}
},
"reportingEntity": {
"data": {
"id": "649ad926fc1a10be9e2ea241",
"type": "reporting-entity"
}
}
}
},
{
"type": "holding",
"id": "Q0xX9JQhEizBCLUBOjbtKw",
"attributes": {
"date": "2024-10-01",
"marketValue": 700569.24008607,
"ccyCode": "DKK"
},
"relationships": {
"assetClass": {
"data": {
"id": "666ae70b272d21815633c903",
"type": "asset-class"
}
},
"assetClassDetailed": {
"data": {
"id": "0e496ca224b76c4d9bdbfc7b",
"type": "asset-class-detailed"
}
},
"reportingEntity": {
"data": {
"id": "649ad926fc1a10be9e2ea241",
"type": "reporting-entity"
}
}
}
}
]
}

GET /asset-holdings/reporting-entities/:id

Get asset holdings for a reporting entity with a specific ID. As opposed to regular holdings fetched with GET /holdings/reporting-entities/:id, where data may be summarized by means of the expand parameter, asset holdings always represent the most detailed reporting level.

Parameters

  • fromDate (query, required): ISO 8601 representation of the first date in the period.
  • id (path, required): Identifier for the reporting entity.
  • include (query, optional): Allows for inclusion of related data. Multiple values can be passed as a comma separated list. Possible values: "asset".
  • toDate (query, required): ISO 8601 representation of the last date in the period.

Examples

200 OK
# Request
GET /api/v2/asset-holdings/reporting-entities/649ad926fc1a10be9e2ea241
?fromDate=2024-06-03
&toDate=2024-06-04 HTTP/1.1

Accept: application/vnd.json+api
Authorization: Bearer <access token>
Host: platform.aleta.io


# Response
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
"data": [
{
"type": "asset-holding",
"id": "LUod8Si5QHtsMEHJCX6g7w",
"attributes": {
"date": "2024-10-01",
"marketValue": 702926.90187541,
"ccyCode": "DKK",
"unitsInHolding": 23542
},
"relationships": {
"portfolio": {
"data": {
"id": "666ae70b272d21815633c902",
"type": "portfolio"
}
},
"asset": {
"data": {
"id": "0e496ca224b76c4d9bdbfc7b",
"type": "asset"
}
},
"depository": {
"data": {
"id": "0e496ca224b76c4d9bdbfc7c",
"type": "depository"
}
},
"reportingEntity": {
"data": {
"id": "649ad926fc1a10be9e2ea241",
"type": "reporting-entity"
}
},
"assetClass": {
"data": {
"id": "68c1689688080d5f4429f6d1",
"type": "asset-class"
}
},
"assetClassDetailed": {
"data": {
"id": "68c1689aa3da1528dc9c1a8f",
"type": "asset-class-detailed"
}
}
}
},
{
"type": "asset-holding",
"id": "WcZ_9l3YdHHT5plvqczy6Q",
"attributes": {
"date": "2024-10-01",
"marketValue": 700569.24008607,
"ccyCode": "DKK",
"unitsInHolding": 6782
},
"relationships": {
"portfolio": {
"data": {
"id": "666ae70b272d21815633c903",
"type": "portfolio"
}
},
"asset": {
"data": {
"id": "0e496ca224b76c4d9bdbfc7b",
"type": "asset"
}
},
"depository": {
"data": {
"id": "0e496ca224b76c4d9bdbfc7c",
"type": "depository"
}
},
"reportingEntity": {
"data": {
"id": "649ad926fc1a10be9e2ea241",
"type": "reporting-entity"
}
},
"assetClass": {
"data": {
"id": "68c1689688080d5f4429f6d1",
"type": "asset-class"
}
},
"assetClassDetailed": {
"data": {
"id": "68c1689aa3da1528dc9c1a8f",
"type": "asset-class-detailed"
}
}
}
}
]
}