example-data.com

crypto-holdings / #135

userId
Merl Jenkins @merl.jenkins6
cryptoId
15
quantity
52.21125511
costBasis
0.16582502
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/135"
)
crypto_holding = res.json()
{
  "id": 135,
  "userId": 60,
  "cryptoId": 15,
  "quantity": 52.21125511,
  "costBasis": 0.16582502,
  "purchasedAt": "2025-12-11T11:52:53.177Z"
}
Draftbit