stock-holdings / #101
- userId
-
Darian Schaden @darian_schaden36
- stockId
- stocks/82
- quantity
- 20.5173
- costBasis
- 715.34
- purchasedAt
Component variants
Medium
#101
#101
Small
stock-holdings/101 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/101" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/101"
);
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/101"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/101"
)
stock_holding = res.json() {
"id": 101,
"userId": 53,
"stockId": 82,
"quantity": 20.5173,
"costBasis": 715.34,
"purchasedAt": "2025-06-10T19:51:52.208Z"
}