500 credits per request
You will get
You will get
- Historical coin quantities and balances over time
- Total portfolio balance tracking with changes
- Price changes and quantity changes between snapshots
- Filterable by date range and specific coins
Required
Required
This endpoint is only available for users with a Degen plan subscription.
- shareToken: Get this from your CoinStats portfolio page by clicking “Share” and copying the token from the share URL
Optional
Optional
- from & to: Date range filter (YYYY-MM-DD format)
- coinIds: Comma-separated list of coin IDs to filter by
- page & limit: Pagination controls
- passcode: Passcode for accessing protected portfolio data (can be passed in header or query parameter)
Authorizations
API key needed to access the endpoints. Example: 'demo-api-key'
Headers
Passcode for accessing protected portfolio data
Example:
"123456"
Query Parameters
Page number to retrieve (1-based indexing)
Example:
1
Number of items to return per page
Example:
20
Start date for snapshot data (YYYY-MM-DD format)
Example:
"2024-01-01"
End date for snapshot data (YYYY-MM-DD format)
Example:
"2024-12-31"
Comma-separated list of coin IDs to filter by
Example:
"bitcoin,ethereum,cardano"
Passcode for accessing protected portfolio data
Example:
"123456"
Response
Portfolio Snapshot Items
Array of portfolio snapshots ordered chronologically