stock-holdings / #130
- userId
-
Jewell Olson @jewell_olson2
- stockId
- stocks/52
- quantity
- 62.5565
- costBasis
- 225.35
- purchasedAt
Component variants
Medium
#130
#130
Small
stock-holdings/130 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/130" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/130"
);
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/130"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/130"
)
stock_holding = res.json() {
"id": 130,
"userId": 68,
"stockId": 52,
"quantity": 62.5565,
"costBasis": 225.35,
"purchasedAt": "2025-07-18T13:09:34.573Z"
}