post https://openapiv1.coinstats.app/portfolio/transaction
4 credits per request
Add a new transaction to your manual portfolio:
- Support for buy, sell, and transfer operations
- Automatically updates your portfolio holdings
- Validates transaction data before recording
- Returns the details of the created transaction
Required:
- shareToken: Get this from your CoinStats portfolio page
- Transaction details in request body:
- coinId: The cryptocurrency's identifier
- count: Amount (negative for sells)
- date: Transaction timestamp (optional)
- price: Price at time of transaction (optional)
Optional:
- notes: Add personal notes to the transaction
- currency: Specify currency for price (default: USD)
Note: This endpoint is only available for users with a Degen plan subscription.