example-data.com

crypto-holdings

crypto-holdings

Browse 498 crypto-holdings records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.

curl -sS \
  "https://example-data.com/api/v1/crypto-holdings?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/crypto-holdings?limit=25"
);
const { data, meta } = await res.json();
import type { CryptoHolding, ListEnvelope } from "https://example-data.com/types/crypto-holdings.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/crypto-holdings?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<CryptoHolding>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/crypto-holdings",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 1,
      "userId": 1,
      "cryptoId": 13,
      "quantity": 85.07869486,
      "costBasis": 0.00000492,
      "purchasedAt": "2025-03-11T09:55:17.870Z"
    },
    {
      "id": 2,
      "userId": 1,
      "cryptoId": 6,
      "quantity": 20.66360485,
      "costBasis": 0.63058925,
      "purchasedAt": "2026-05-06T19:59:24.785Z"
    },
    {
      "id": 3,
      "userId": 2,
      "cryptoId": 29,
      "quantity": 30.96952154,
      "costBasis": 208.03298733,
      "purchasedAt": "2025-07-31T02:06:45.168Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 498,
    "totalPages": 20
  },
  "links": {
    "self": "/api/v1/crypto-holdings?page=1",
    "first": "/api/v1/crypto-holdings?page=1",
    "last": "/api/v1/crypto-holdings?page=20",
    "next": "/api/v1/crypto-holdings?page=2",
    "prev": null
  }
}

View full response →

Draftbit