Sesame Data
  • Introduction
  • Authentication
    • Create and manage your API token
    • How to Authenticate
    • IP Whitelisting
  • API Endpoints
    • Entity List
    • Entity Dates
    • Transactions
    • Holdings
    • Sub Portfolio Holdings
    • Entity Risk
    • Asset Risk
    • Entity Performance
  • Sesame Data Developer Portal
  • Data Feeds
  • Tutorials/Recipes
    • How to use pagination
    • Using Sesame Data with Postman
    • Using Sesame Data with Excel
    • Using Sesame Data with PowerBi
  • FAQ and Troubleshooting
    • Viewing Logs
    • Glossary
Powered by GitBook
On this page

Was this helpful?

  1. API Endpoints

Asset Risk

PreviousEntity RiskNextEntity Performance

Last updated 1 year ago

Was this helpful?

Only available for Sesame Enterprise clients

The assetrisk endpoint returns various risk metrics which are provided for the constituent assets of the entity. The request is made per entity. This endpoint does not support the lookThrough parameter, as risk is calculated on either a look-through or non-look-through basis, rather than both. The request can be made for specific dates, or for all dates for which there is data (ie no date filters). Requests are made using the entityId parameter, which is mandatory.

For the full list of parameters accepted as well as which are required, see Parameters below. To view Sample response data, expand the menu under Responses and refer to the Example tab. To see the format of the response fields, as well as which are mandatory (that is, always returned in the response), select the tab Schema, and then expand object followed by content and finally object once more.

Request and Response

You might find it helpful to access our Sesame Data Developer Portal

The format of all Sesame Custodial Data APIs is the same. The user is required to provide their account UUID and token in the authorisation, and then make a GET request to the assetrisk endpoint, specifying the entityId of the entity being requested.

get
Path parameters
entityIdinteger · int64Required

Unique identifier provided by Landytech

Example: 123
Query parameters
fromDatestring · dateOptional

Start of Date Range (Inclusive)

Example: 2025-05-01
toDatestring · dateOptional

End of Date Range (Inclusive)

Example: 2025-05-13
pageNumberinteger · int32Optional

The current page, the first page should be '0'

Default: 0
pageSizeinteger · int32 · max: 100Optional

Number of records per page

Default: 100
Responses
200
OK
application/json
get
GET /api/v1/assetrisk/{entityId} HTTP/1.1
Host: data.api.landytech.net
Accept: */*
200

OK

{
  "content": [
    {
      "entityId": 36402,
      "date": "2025-05-13",
      "entityName": "ACME Multi-Strategy Fund",
      "assetName": "Bajaj Auto",
      "assetId": 13421,
      "assetType": "Common Stock",
      "isin": "INE917I01010",
      "assetRiskMetrics20DMCVaR99": 81397.750301,
      "assetRiskMetrics20DMCConVaR99": 98799.751052,
      "assetRiskMetrics20DMCComVaR99": 52490.102963,
      "assetRiskMetrics1DMCVaR99": 19740.137832,
      "assetRiskMetrics1DMCConVaR99": 24523.894113,
      "assetBarraOne20DMCVaR99": 80690.849733,
      "assetBarraOne1DMCVaR99": 19577.540293,
      "assetRiskMetricsLehmanDefault": -130958.830915,
      "assetRiskMetricsBlackMonday": -46352.090443,
      "assetRiskMetricsRussianDevaluation": -5499.70408,
      "assetRiskMetricsSP20": -41528.698268,
      "assetRiskMetricsBrexitConservative": -7825.16398,
      "assetRiskMetricsGrexit": -40696.457105,
      "assetBarraOne11092001": -75927.628062,
      "assetBarraOneLehmanDefault": -201209.817943,
      "assetBarraOne1994USRateHike": -9035.514197,
      "assetBarraOneEMFM10": -20886.720101,
      "delta": 1
    }
  ],
  "totalPages": 1,
  "totalElements": 1,
  "last": true,
  "size": 100,
  "first": true,
  "number": 0,
  "numberOfElements": 1,
  "empty": false
}
  • Request and Response
  • GET/api/v1/assetrisk/{entityId}