example-data.com

crypto-holdings / #25

userId
Leonel Hamill @leonel_hamill33
cryptoId
2
quantity
11.01782561
costBasis
2784.5628
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/25"
)
crypto_holding = res.json()
{
  "id": 25,
  "userId": 11,
  "cryptoId": 2,
  "quantity": 11.01782561,
  "costBasis": 2784.5628,
  "purchasedAt": "2026-02-25T22:56:47.015Z"
}
Draftbit