Overview
The Holdings API provides read-only access to security holdings in investment and cryptocurrency accounts. Holdings represent point-in-time snapshots of positions, including quantity, market value, and cost basis information.- List
- Get
List holdings
Query parameters
Page number for pagination
Number of holdings per page (max 100)
Filter by single account ID
Filter by multiple account IDs
Filter by security ID
Filter holdings for a specific date (YYYY-MM-DD)
Filter holdings on or after this date (YYYY-MM-DD)
Filter holdings on or before this date (YYYY-MM-DD)
Response
Array of holding objects
Pagination metadata
Cost basis sources
Holdings may have cost basis information from different sources:| Source | Description | Priority |
|---|---|---|
manual | User-entered cost basis | Highest |
calculated | Calculated from trade history | Medium |
provider | Provided by financial institution | Lowest |
cost_basis_source field indicates where the average cost data originated. Higher priority sources take precedence when multiple sources are available.
Understanding holdings
Snapshots over time
Holdings represent point-in-time snapshots of security positions. Each holding record shows:- Date: The date of the snapshot
- Quantity: Number of shares held on that date
- Price: Market price per share on that date
- Amount: Total market value (qty × price)
- Average cost: Cost basis per share (if known)
Gain/loss calculation
To calculate unrealized gain/loss for a holding:avg_cost may be null if cost basis information is not available.
Read-only resource
Holdings are automatically calculated from trades and account syncs. They cannot be created, updated, or deleted directly through the API. To modify holdings:- Create or update trades for the security
- Sync the account with your financial institution
- The system will automatically recalculate holdings
Error responses
Error code identifier
Human-readable error description