Using Sesame Data with Excel

In this tutorial, the combination of Sesame Data and the power of Excel will be demonstrated. To achieve this it will be used Power Query, the user-friendly technology from Microsoft, will be utilized for data transformation.

Get Entity List (no code)

  1. Open Excel, and navigate: Data > From Web

  2. Insert the URL of the endpoint. In this example, https://data.api.landytech.net/api/v1/entitylist, confirm here.

  3. In the authentication, select "Basic" and inform your username and password (read more). Use "Connect" at the end to confirm.

  4. Upon a successful connection, Excel should show a page similar to the following. Right-click above the column title List, and use the option To Table.

  5. Use the following options: Select or enter delimiter: None How to handle extra columns: Show as errors

  6. The output should be a Column1 with many record lines. Click on the little icon that says Expand, see image below, point 1. This will show the list of columns that should be pulled, which you may change at your best convenience. Uncheck the option Use Original column name as prefix.

  7. Excel will allow you to review the information, click on Close & Load.

  8. All set! Your data should be ready.


Get Holdings (using Advanced Editor)

Dealing with pagination slightly increases the complexity of Power Query. There are two ways of doing it. The first requires to adding a few lines of code, nothing too complex:

  1. Open Excel, and navigate: Data > From Web

  2. Use the following URL Please replace {entityId} with your entityId.

  3. Open the editor: Right-click on the newly created query > Advanced Editor

  1. You can use the following statement. ⚠️ Note, when pasting the below, replace 14422 with your entityId.

  2. Confirm and Close & Load. Your data should be available!

For the 'transactions' endpoint, use this code:

For the 'subportfolioholdings' endpoint, use this code:

The second way of using pagination with Power Query is demonstrated in our tutorial of PowerBi.

Last updated

Was this helpful?