example-data.com

crypto-holdings / #238

userId
Dovie Gorczany @dovie.gorczany
cryptoId
46
quantity
65.95020366
costBasis
126.28128152
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/238"
)
crypto_holding = res.json()
{
  "id": 238,
  "userId": 111,
  "cryptoId": 46,
  "quantity": 65.95020366,
  "costBasis": 126.28128152,
  "purchasedAt": "2026-03-29T03:01:00.760Z"
}
Draftbit