stock-holdings / #205
- userId
-
Norbert Jacobi @norbert_jacobi92
- stockId
- stocks/57
- quantity
- 484.981
- costBasis
- 163.79
- purchasedAt
Component variants
Medium
#205
#205
Small
stock-holdings/205 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/205" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/205"
);
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/205"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/205"
)
stock_holding = res.json() {
"id": 205,
"userId": 101,
"stockId": 57,
"quantity": 484.981,
"costBasis": 163.79,
"purchasedAt": "2025-08-26T23:08:35.447Z"
}