stock-holdings / #212
- userId
-
Jermain Kshlerin @jermain_kshlerin51
- stockId
- stocks/70
- quantity
- 580.5027
- costBasis
- 4177.95
- purchasedAt
Component variants
Medium
#212
#212
Small
stock-holdings/212 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/212" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/212"
);
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/212"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/212"
)
stock_holding = res.json() {
"id": 212,
"userId": 104,
"stockId": 70,
"quantity": 580.5027,
"costBasis": 4177.95,
"purchasedAt": "2025-06-30T13:15:37.360Z"
}