example-data.com

crypto-holdings / #14

userId
Webster Skiles @webster_skiles39
cryptoId
12
quantity
43.39100244
costBasis
9.2088864
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/14"
)
crypto_holding = res.json()
{
  "id": 14,
  "userId": 5,
  "cryptoId": 12,
  "quantity": 43.39100244,
  "costBasis": 9.2088864,
  "purchasedAt": "2026-04-05T02:25:27.031Z"
}
Draftbit