example-data.com

stock-holdings

stock-holdings

Page 9 of 10.

userId
Matilde Beahan @matilde_beahan
stockId
stocks/25
quantity
558.1096
costBasis
3775.49
purchasedAt
userId
Matilde Beahan @matilde_beahan
stockId
stocks/97
quantity
824.2337
costBasis
1585.38
purchasedAt
userId
Esperanza Casper @esperanza_casper
stockId
stocks/83
quantity
880.952
costBasis
3037.33
purchasedAt
userId
Tabitha McKenzie @tabitha_mckenzie
stockId
stocks/18
quantity
216.279
costBasis
1587.65
purchasedAt
userId
Tabitha McKenzie @tabitha_mckenzie
stockId
stocks/12
quantity
366.333
costBasis
2712.56
purchasedAt
userId
Whitney O'Reilly @whitney.oreilly
stockId
stocks/63
quantity
645.5162
costBasis
1857.33
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": 193,
      "userId": 96,
      "stockId": 25,
      "quantity": 558.1096,
      "costBasis": 3775.49,
      "purchasedAt": "2025-12-13T08:24:04.545Z"
    },
    {
      "id": 194,
      "userId": 96,
      "stockId": 97,
      "quantity": 824.2337,
      "costBasis": 1585.38,
      "purchasedAt": "2024-10-11T00:33:35.631Z"
    },
    {
      "id": 195,
      "userId": 97,
      "stockId": 83,
      "quantity": 880.952,
      "costBasis": 3037.33,
      "purchasedAt": "2026-01-27T04:51:22.029Z"
    }
  ],
  "meta": {
    "page": 9,
    "limit": 24,
    "total": 512,
    "totalPages": 22
  },
  "links": {
    "self": "/api/v1/stock-holdings?page=9",
    "next": "/api/v1/stock-holdings?page=10",
    "prev": "/api/v1/stock-holdings?page=8"
  }
}
Draftbit