example-data.com

crypto-holdings / #148

userId
Tiara Wilderman @tiara_wilderman
cryptoId
38
quantity
12.03549447
costBasis
29.34807404
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/148"
)
crypto_holding = res.json()
{
  "id": 148,
  "userId": 66,
  "cryptoId": 38,
  "quantity": 12.03549447,
  "costBasis": 29.34807404,
  "purchasedAt": "2026-05-10T20:19:25.581Z"
}
Draftbit