example-data.com

crypto-holdings / #111

userId
Green Kozey @green_kozey22
cryptoId
7
quantity
53.31336337
costBasis
0.24887842
purchasedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings/111"
)
crypto_holding = res.json()
{
  "id": 111,
  "userId": 49,
  "cryptoId": 7,
  "quantity": 53.31336337,
  "costBasis": 0.24887842,
  "purchasedAt": "2024-06-01T11:21:12.775Z"
}
Draftbit