example-data.com

crypto-holdings / #212

userId
Tabitha McKenzie @tabitha_mckenzie
cryptoId
39
quantity
90.55481793
costBasis
11.3334965
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/212"
)
crypto_holding = res.json()
{
  "id": 212,
  "userId": 98,
  "cryptoId": 39,
  "quantity": 90.55481793,
  "costBasis": 11.3334965,
  "purchasedAt": "2025-07-29T23:14:47.380Z"
}
Draftbit