Get Monthly Summary
Request
Query Parameters
Name
Type
Description
Example Request
curl 'https://api.sfox.com/v1/users/reports/tax-currency-summary?currency=usd&end=1676102399999&start=1673337600000'const axios = require('axios');
axios({
method: 'get',
url: 'https://api.sfox.com/v1/users/reports/tax-currency-summary',
params: {
currency: 'btc',
startTime: 1657217002,
endTime: 1665165809
}
}).then(response => {
console.log(response)
}).catch(err => {
console.error(err)
});import requests
data = requests.get(
"https://api.sfox.com/v1/users/reports/tax-currency-summary",
headers={
"Authorization": "Bearer <API_KEY>",
},
params={
"currency": "btc",
"startTime": 1657217002,
"endTime": 1665165809
}
)
print(data)Response
Example Response
CurrencyYear,CurrencyMonth,Currency,Deposits,DepositsUSD,Credits,Withdrawals,WithdrawalsUSD,Charges,Buys,BuysTotalUSD,BuysTotalFeesUSD,Sells,SellsTotalUSD,SellsTotalFeesUSD,BuysForCrypto,BuysForCryptoUSD,SellsForCrypto,SellsForCryptoUSD
2023,1,usd,0,0,0,0,0,0,0,0,0,0,0,0,14.11887974,14.11887974,9.98003992,9.98003992
2023,2,usd,25,25,0,0,0,0,0,0,0,0,0,0,0,0,17.94148758,17.94148758Last updated