stock-holdings / #187
- userId
-
Filiberto Fay @filiberto.fay59
- stockId
- stocks/92
- quantity
- 243.6562
- costBasis
- 3160.39
- purchasedAt
Component variants
Medium
#187
#187
Small
stock-holdings/187 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/187" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/187"
);
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/187"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/187"
)
stock_holding = res.json() {
"id": 187,
"userId": 92,
"stockId": 92,
"quantity": 243.6562,
"costBasis": 3160.39,
"purchasedAt": "2025-08-06T21:47:18.597Z"
}