curl --request GET \
--url https://openapiv1.coinstats.app/portfolio/transactions \
--header 'X-API-KEY: <api-key>'{
"data": [
{
"transactionType": "Roll In",
"date": "2025-08-28T08:35:50.384Z",
"profitLoss": {
"profit": -0.21637050600000052,
"profitPercent": -3.5658153241650377,
"currentValue": 5.851540654
},
"fee": {
"coin": {
"rank": 2,
"identifier": "ethereum",
"symbol": "ETH",
"name": "Ethereum",
"icon": "https://static.coinstats.app/coins/1650455629727.png",
"priceChange24h": -5.74,
"priceChange1h": 0.1,
"priceChange7d": 1.12,
"volume": 61315198931.43572,
"isFake": false,
"isFiat": false
},
"count": 0.001,
"totalWorth": 25.5,
"price": 25500,
"toAddress": "0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f",
"fromAddress": "0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e"
},
"portfolioInfo": {
"name": "KuCoin Spot",
"icon": "https://static.coinstats.app/portfolio_images/kucoin_dark.png"
},
"coinData": {
"identifier": "pepe",
"count": 596062,
"symbol": "PEPE",
"totalWorth": 6.06791116,
"currentValue": 5.851540654
},
"transfers": [
{
"transferType": "Received",
"items": [
{
"coin": {
"rank": 2,
"identifier": "ethereum",
"symbol": "ETH",
"name": "Ethereum",
"icon": "https://static.coinstats.app/coins/1650455629727.png",
"priceChange24h": -5.74,
"priceChange1h": 0.1,
"priceChange7d": 1.12,
"volume": 61315198931.43572,
"isFake": false,
"isFiat": false
},
"count": -0.00000544,
"toAddress": "0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f",
"fromAddress": "0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e",
"totalWorth": 0.0000054389555199999995,
"price": 0.999808
}
]
}
]
}
],
"meta": {
"page": 1,
"limit": 10
}
}Get a detailed history of all transactions in your portfolio
curl --request GET \
--url https://openapiv1.coinstats.app/portfolio/transactions \
--header 'X-API-KEY: <api-key>'{
"data": [
{
"transactionType": "Roll In",
"date": "2025-08-28T08:35:50.384Z",
"profitLoss": {
"profit": -0.21637050600000052,
"profitPercent": -3.5658153241650377,
"currentValue": 5.851540654
},
"fee": {
"coin": {
"rank": 2,
"identifier": "ethereum",
"symbol": "ETH",
"name": "Ethereum",
"icon": "https://static.coinstats.app/coins/1650455629727.png",
"priceChange24h": -5.74,
"priceChange1h": 0.1,
"priceChange7d": 1.12,
"volume": 61315198931.43572,
"isFake": false,
"isFiat": false
},
"count": 0.001,
"totalWorth": 25.5,
"price": 25500,
"toAddress": "0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f",
"fromAddress": "0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e"
},
"portfolioInfo": {
"name": "KuCoin Spot",
"icon": "https://static.coinstats.app/portfolio_images/kucoin_dark.png"
},
"coinData": {
"identifier": "pepe",
"count": 596062,
"symbol": "PEPE",
"totalWorth": 6.06791116,
"currentValue": 5.851540654
},
"transfers": [
{
"transferType": "Received",
"items": [
{
"coin": {
"rank": 2,
"identifier": "ethereum",
"symbol": "ETH",
"name": "Ethereum",
"icon": "https://static.coinstats.app/coins/1650455629727.png",
"priceChange24h": -5.74,
"priceChange1h": 0.1,
"priceChange7d": 1.12,
"volume": 61315198931.43572,
"isFake": false,
"isFiat": false
},
"count": -0.00000544,
"toAddress": "0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f",
"fromAddress": "0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e",
"totalWorth": 0.0000054389555199999995,
"price": 0.999808
}
]
}
]
}
],
"meta": {
"page": 1,
"limit": 10
}
}You will get
Required
Optional
API key needed to access the endpoints. Example: 'demo-api-key'
Passcode for accessing protected portfolio data
"123456"
Page number to retrieve (1-based indexing)
1
Number of items to return per page
20
The fiat currency to return values in
"USD"
Coin ID to filter transactions for a specific coin
"bitcoin"
Passcode for accessing protected portfolio data
"123456"
Transactions
Array of transaction items
Show child attributes
Type of transaction performed
Sent, Dust Convert, Roll In, Received, Swap, Buy, Sell "Roll In"
ISO 8601 timestamp of when the transaction occurred
"2025-08-28T08:35:50.384Z"
Profit and loss information for the transaction
Show child attributes
Profit or loss amount in USD (positive for profit, negative for loss)
-0.21637050600000052
Profit or loss percentage (positive for profit, negative for loss)
-3.5658153241650377
Current market value of the position in USD
5.851540654
Transaction fee information
Show child attributes
Information about the coin used for transaction fees
Show child attributes
Market rank of the coin
2
Unique identifier for the coin
"ethereum"
Trading symbol of the coin
"ETH"
Full name of the coin
"Ethereum"
URL to the coin icon image
"https://static.coinstats.app/coins/1650455629727.png"
Price change percentage in the last 24 hours
-5.74
Price change percentage in the last 1 hour
0.1
Price change percentage in the last 7 days
1.12
Trading volume in the last 24 hours (USD)
61315198931.43572
Whether the coin is identified as fake
false
Whether the coin is a fiat currency
false
Amount of fee paid
0.001
Total worth of the fee in USD
25.5
Price per unit of the fee coin in USD
25500
Destination address for the fee transaction
"0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f"
Source address for the fee transaction
"0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e"
Information about the portfolio where the transaction occurred
Main coin data for the transaction (optional for some transaction types)
Show child attributes
Unique identifier for the coin in the transaction
"pepe"
Amount of coins involved in the transaction (can be negative)
596062
Trading symbol of the coin
"PEPE"
Total worth of the coins at transaction time in USD
6.06791116
Current market value of the coins in USD
5.851540654
List of transfers involved in the transaction (e.g., coins received/sent)
Show child attributes
Type of transfer operation
Received, Sent "Received"
List of items involved in the transfer
Show child attributes
Information about the coin being transferred
Show child attributes
Market rank of the coin
2
Unique identifier for the coin
"ethereum"
Trading symbol of the coin
"ETH"
Full name of the coin
"Ethereum"
URL to the coin icon image
"https://static.coinstats.app/coins/1650455629727.png"
Price change percentage in the last 24 hours
-5.74
Price change percentage in the last 1 hour
0.1
Price change percentage in the last 7 days
1.12
Trading volume in the last 24 hours (USD)
61315198931.43572
Whether the coin is identified as fake
false
Whether the coin is a fiat currency
false
Amount of coins transferred (can be negative for outgoing transfers)
-0.00000544
Destination wallet address
"0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f"
Source wallet address
"0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e"
Total worth of the transferred amount in USD
0.0000054389555199999995
Price per unit of the coin in USD at the time of transfer
0.999808
Was this page helpful?