example-data.com

stock-holdings

stock-holdings

Page 6 of 10.

userId
Tiara Wilderman @tiara_wilderman
stockId
stocks/13
quantity
586.0337
costBasis
3406.09
purchasedAt
userId
Tiara Wilderman @tiara_wilderman
stockId
stocks/91
quantity
9.3048
costBasis
2759.37
purchasedAt
userId
Tiara Wilderman @tiara_wilderman
stockId
stocks/41
quantity
644.1917
costBasis
1093.21
purchasedAt
userId
Tiara Wilderman @tiara_wilderman
stockId
stocks/49
quantity
785.8368
costBasis
1431.83
purchasedAt
userId
Kaden Brekke @kaden_brekke
stockId
stocks/10
quantity
602.7384
costBasis
2554.83
purchasedAt
userId
Kaden Brekke @kaden_brekke
stockId
stocks/69
quantity
799.1123
costBasis
2905.76
purchasedAt

Showing first 6 of 24 on this page.

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

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

res = requests.get(
    "https://example-data.com/api/v1/stock-holdings",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 121,
      "userId": 66,
      "stockId": 13,
      "quantity": 586.0337,
      "costBasis": 3406.09,
      "purchasedAt": "2025-11-28T17:44:50.017Z"
    },
    {
      "id": 122,
      "userId": 66,
      "stockId": 91,
      "quantity": 9.3048,
      "costBasis": 2759.37,
      "purchasedAt": "2026-02-03T10:04:41.004Z"
    },
    {
      "id": 123,
      "userId": 66,
      "stockId": 41,
      "quantity": 644.1917,
      "costBasis": 1093.21,
      "purchasedAt": "2025-01-11T23:38:13.382Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 512,
    "totalPages": 22
  },
  "links": {
    "self": "/api/v1/stock-holdings?page=6",
    "next": "/api/v1/stock-holdings?page=7",
    "prev": "/api/v1/stock-holdings?page=5"
  }
}
Draftbit