example-data.com

crypto-holdings / #36

userId
Zachariah Herzog @zachariah_herzog42
cryptoId
50
quantity
34.28093832
costBasis
38.56271545
purchasedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/crypto-holdings/36" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/crypto-holdings/36"
);
const cryptoHolding = await res.json();
import type { CryptoHolding } from "https://example-data.com/types/crypto-holdings.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/crypto-holdings/36"
);
const cryptoHolding = (await res.json()) as CryptoHolding;
import requests

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/36"
)
crypto_holding = res.json()
{
  "id": 36,
  "userId": 15,
  "cryptoId": 50,
  "quantity": 34.28093832,
  "costBasis": 38.56271545,
  "purchasedAt": "2025-08-07T23:14:05.516Z"
}
Draftbit