Walletguide
DevelopersAPIReferencedata

NetWorthByAsset

NetWorthByAsset (data endpoint) in the Walletguide REST API. Parameters, response fields, and a playground you can run.

POST
/wallets/{walletId}/data/netWorthByAsset

Authorization

bearerAuth
headerAuthorization<token>

A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.

Path Parameters

walletId*string

The wallet id (row uuid)

Formatuuid

Request Body

application/json
  1. body
period*|

Window the net-worth snapshot is computed for.

assetIds?array<string>

Scope the snapshot + KPIs to these asset uuids; omit for whole-wallet.

Response Body

netWorthByAsset result

application/json
  1. response
byAsset*
kpis*
Example Request
curl -X POST 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/data/netWorthByAsset' \  -H 'Content-Type: application/json' \  -d '{  "period": "today"}'
Example Response
{  "byAsset": {    "property1": {      "asset": {        "name": "string",        "access": "fixed",        "assetGroupId": "string",        "archived": true,        "expectedAnnualReturn": 0,        "order": 0,        "createdTime": "2019-08-24T14:15:22Z",        "createdUserId": "string",        "lastUpdatedTime": "2019-08-24T14:15:22Z",        "lastUpdatedUserId": "string",        "defaultCurrency": "EUR",        "defaultCategoryId": "string",        "type": "manualBank",        "accountNumber": "string",        "importSettings": {          "csv": null        },        "id": "string"      },      "value": 0,      "valuePreviousPeriod": 0,      "valueChange": 0,      "valuePreviousPeriodWithTransfersAndBalancesAdded": 0    },    "property2": {      "asset": {        "name": "string",        "access": "fixed",        "assetGroupId": "string",        "archived": true,        "expectedAnnualReturn": 0,        "order": 0,        "createdTime": "2019-08-24T14:15:22Z",        "createdUserId": "string",        "lastUpdatedTime": "2019-08-24T14:15:22Z",        "lastUpdatedUserId": "string",        "defaultCurrency": "EUR",        "defaultCategoryId": "string",        "type": "manualBank",        "accountNumber": "string",        "importSettings": {          "csv": null        },        "id": "string"      },      "value": 0,      "valuePreviousPeriod": 0,      "valueChange": 0,      "valuePreviousPeriodWithTransfersAndBalancesAdded": 0    }  },  "kpis": {    "total": 0,    "totalPreviousPeriod": 0,    "totalChange": 0,    "emergencyFund": 0,    "emergencyFundPreviousPeriod": 0,    "emergencyFundChange": 0  }}