example-data.com

crypto-holdings / #22

userId
Alvena Emmerich @alvena_emmerich52
cryptoId
46
quantity
94.74706356
costBasis
153.22495185
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/22"
)
crypto_holding = res.json()
{
  "id": 22,
  "userId": 8,
  "cryptoId": 46,
  "quantity": 94.74706356,
  "costBasis": 153.22495185,
  "purchasedAt": "2025-04-17T08:25:58.255Z"
}
Draftbit