crypto-holdings / #181
- userId
-
Stephan Heller @stephan.heller
- cryptoId
- 38
- quantity
- 22.55139202
- costBasis
- 47.85154225
- purchasedAt
Component variants
Medium
#181
#181
Small
crypto-holdings/181 Related
References
curl -sS \
"https://example-data.com/api/v1/crypto-holdings/181" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/181"
);
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/181"
);
const cryptoHolding = (await res.json()) as CryptoHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings/181"
)
crypto_holding = res.json() {
"id": 181,
"userId": 82,
"cryptoId": 38,
"quantity": 22.55139202,
"costBasis": 47.85154225,
"purchasedAt": "2024-10-20T02:00:51.882Z"
}