stock-holdings / #102
- userId
-
Darian Schaden @darian_schaden36
- stockId
- stocks/57
- quantity
- 685.3981
- costBasis
- 205.38
- purchasedAt
Component variants
Medium
#102
#102
Small
stock-holdings/102 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/102" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/102"
);
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/102"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/102"
)
stock_holding = res.json() {
"id": 102,
"userId": 53,
"stockId": 57,
"quantity": 685.3981,
"costBasis": 205.38,
"purchasedAt": "2026-01-24T14:54:05.755Z"
}