crypto-holdings / #128
- userId
-
Jo Haag-Mayer @jo_haag-mayer
- cryptoId
- 29
- quantity
- 35.26952656
- costBasis
- 49.30431305
- purchasedAt
Component variants
Medium
#128
#128
Small
crypto-holdings/128 Related
References
curl -sS \
"https://example-data.com/api/v1/crypto-holdings/128" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/128"
);
const cryptoHolding = await res.json();import type { CryptoHolding } from "https://example-data.com/types/crypto-holdings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/128"
);
const cryptoHolding = (await res.json()) as CryptoHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings/128"
)
crypto_holding = res.json() {
"id": 128,
"userId": 54,
"cryptoId": 29,
"quantity": 35.26952656,
"costBasis": 49.30431305,
"purchasedAt": "2025-04-09T00:56:58.404Z"
}