List Gains Cost Basis
Tax
List Gains Cost Basis
Permissions required: Subaccount
List subaccount’s breakdown of combined cost basis, proceeds and gains/losses
GET
List Gains Cost Basis
Authorizations
An API key associated with a security role
Path Parameters
The ID of the subaccount
Query Parameters
ISO-8601 formatted date as a filter start date.
ISO-8601 formatted date as a filter end date.
Response
Successfully returned the subaccount's tax gains cost bases
Example:
[
{
"sold": { "assetType": "BTC", "quantity": "0.1" },
"proceeds": { "assetType": "USD", "quantity": "300" },
"taxYear": "2023",
"saleDate": "2022-06-30T22:15:31.99999Z",
"gainType": "LONG_TERM",
"gain": { "assetType": "USD", "quantity": "20000" },
"cost": { "assetType": "USD", "quantity": "305" }
},
{
"sold": { "assetType": "ETH", "quantity": "1" },
"proceeds": { "assetType": "USD", "quantity": "1850" },
"taxYear": "2023",
"saleDate": "2023-06-30T22:15:31.99999Z",
"gainType": "SHORT_TERM",
"gain": { "assetType": "USD", "quantity": "150" },
"cost": { "assetType": "USD", "quantity": "1880" }
}
]
