example-data.com

accounts / #219

userId
Abdul Rau @abdul.rau
name
Investment Portfolio
type
investment
balance
56381.47
currency
AUD
isActive
true
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/accounts/219" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/accounts/219"
);
const account = await res.json();
import type { Account } from "https://example-data.com/types/accounts.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/accounts/219"
);
const account = (await res.json()) as Account;
import requests

res = requests.get(
    "https://example-data.com/api/v1/accounts/219"
)
account = res.json()
{
  "id": 219,
  "userId": 108,
  "name": "Investment Portfolio",
  "type": "investment",
  "balance": 56381.47,
  "currency": "AUD",
  "isActive": true,
  "createdAt": "2026-05-01T11:18:37.802Z"
}
Draftbit