example-data.com

crypto-holdings / #134

userId
Autumn Bartell @autumn.bartell95
cryptoId
22
quantity
45.65300219
costBasis
177.21633167
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/134"
)
crypto_holding = res.json()
{
  "id": 134,
  "userId": 58,
  "cryptoId": 22,
  "quantity": 45.65300219,
  "costBasis": 177.21633167,
  "purchasedAt": "2025-07-04T01:40:17.202Z"
}
Draftbit