Walletguide
DevelopersAPIReferencedata

CryptoHoldingsValue

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

POST
/wallets/{walletId}/data/cryptoHoldingsValue

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
assetIds?array<string>

Scope the holdings to these asset uuids; omit for the whole wallet.

Response Body

cryptoHoldingsValue result

application/json
  1. response

Crypto holdings keyed by ${assetId}:${cryptoCurrency}.

[key: string]?
Example Request
curl -X POST 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/data/cryptoHoldingsValue' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "property1": {    "assetId": "string",    "cryptoCurrency": "BTC",    "name": "string",    "quantity": 0,    "value": 0,    "currency": "EUR",    "nativeValue": 0,    "nativeCurrency": "string",    "averageCostPerShareInBaseCurrency": 0,    "currentPricePerShareInBaseCurrency": 0  },  "property2": {    "assetId": "string",    "cryptoCurrency": "BTC",    "name": "string",    "quantity": 0,    "value": 0,    "currency": "EUR",    "nativeValue": 0,    "nativeCurrency": "string",    "averageCostPerShareInBaseCurrency": 0,    "currentPricePerShareInBaseCurrency": 0  }}