crypto-holdings
crypto-holdings
Browse 498 crypto-holdings records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.
Overview
Cards
Compact
- crypto-holdings/1
- crypto-holdings/2
- crypto-holdings/3
- crypto-holdings/4
- crypto-holdings/5
- crypto-holdings/6
- crypto-holdings/7
- crypto-holdings/8
- crypto-holdings/9
- crypto-holdings/10
- crypto-holdings/11
- crypto-holdings/12
- crypto-holdings/13
- crypto-holdings/14
- crypto-holdings/15
- crypto-holdings/16
- crypto-holdings/17
- crypto-holdings/18
- crypto-holdings/19
- crypto-holdings/20
- crypto-holdings/21
- crypto-holdings/22
- crypto-holdings/23
- crypto-holdings/24
Detailed
crypto-holdings #1
- userId
-
Charlene Roberts @charlene_roberts
- cryptoId
- crypto/13
- quantity
- 85.07869486
- costBasis
- 0.00000492
- purchasedAt
crypto-holdings #2
- userId
-
Charlene Roberts @charlene_roberts
- cryptoId
- crypto/6
- quantity
- 20.66360485
- costBasis
- 0.63058925
- purchasedAt
crypto-holdings #3
- userId
-
Amina King @amina_king41
- cryptoId
- crypto/29
- quantity
- 30.96952154
- costBasis
- 208.03298733
- purchasedAt
crypto-holdings #4
- userId
-
Amina King @amina_king41
- cryptoId
- crypto/27
- quantity
- 23.72315342
- costBasis
- 23.48142197
- purchasedAt
crypto-holdings #5
- userId
-
Amina King @amina_king41
- cryptoId
- crypto/12
- quantity
- 20.56986836
- costBasis
- 4.639572
- purchasedAt
crypto-holdings #6
- userId
-
Amina King @amina_king41
- cryptoId
- crypto/16
- quantity
- 6.07973294
- costBasis
- 19.508724
- purchasedAt
Showing first 6 of 24 on this page.
Request
curl example
curl -sS \ "https://example-data.com/api/v1/crypto-holdings?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/crypto-holdings.d.ts https://example-data.com/types/crypto-holdings.d.ts
import type { CryptoHolding, ListEnvelope } from "./types/crypto-holdings";
const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<CryptoHolding>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings",
params={"limit": 25},
)
data = res.json() Response
{
"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
}
}