example-data.com

crypto-holdings / #208

userId
Ethyl Auer @ethyl_auer89
cryptoId
25
quantity
45.71959845
costBasis
71.96107129
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/208"
)
crypto_holding = res.json()
{
  "id": 208,
  "userId": 95,
  "cryptoId": 25,
  "quantity": 45.71959845,
  "costBasis": 71.96107129,
  "purchasedAt": "2025-06-16T21:34:34.520Z"
}
Draftbit