example-data.com

crypto-holdings / #110

userId
Maymie Boehm @maymie.boehm90
cryptoId
30
quantity
7.91825249
costBasis
14.96102206
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/110"
)
crypto_holding = res.json()
{
  "id": 110,
  "userId": 48,
  "cryptoId": 30,
  "quantity": 7.91825249,
  "costBasis": 14.96102206,
  "purchasedAt": "2024-08-05T06:10:56.938Z"
}
Draftbit