example-data.com

crypto-holdings / #225

userId
Elva Roberts @elva.roberts48
cryptoId
24
quantity
86.88047913
costBasis
153.03528751
purchasedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/crypto-holdings/225" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/crypto-holdings/225"
);
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/225"
);
const cryptoHolding = (await res.json()) as CryptoHolding;
import requests

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/225"
)
crypto_holding = res.json()
{
  "id": 225,
  "userId": 107,
  "cryptoId": 24,
  "quantity": 86.88047913,
  "costBasis": 153.03528751,
  "purchasedAt": "2025-03-09T14:11:22.825Z"
}
Draftbit