stock-holdings / #162
- userId
-
Stephan Heller @stephan.heller
- stockId
- stocks/19
- quantity
- 736.7797
- costBasis
- 4338.95
- purchasedAt
Component variants
Medium
#162
#162
Small
stock-holdings/162 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/162" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/162"
);
const stockHolding = await res.json();import type { StockHolding } from "https://example-data.com/types/stock-holdings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/162"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/162"
)
stock_holding = res.json() {
"id": 162,
"userId": 82,
"stockId": 19,
"quantity": 736.7797,
"costBasis": 4338.95,
"purchasedAt": "2026-02-05T15:43:57.932Z"
}