example-data.com

crypto-holdings / #216

userId
Norbert Jacobi @norbert_jacobi92
cryptoId
11
quantity
54.2535272
costBasis
1.21570509
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/216"
)
crypto_holding = res.json()
{
  "id": 216,
  "userId": 101,
  "cryptoId": 11,
  "quantity": 54.2535272,
  "costBasis": 1.21570509,
  "purchasedAt": "2026-01-22T03:54:27.107Z"
}
Draftbit