Get Monthly Summary

GET https://api.sfox.com/v1/users/reports/tax-currency-summary

Monthly summary of transactions for a selected currency

Request

Query Parameters

Name
Type
Description

end required

timestamp

The unix timestamp (seconds) of the last datapoint returned

start required

timestamp

The unix timestamp (seconds) of the first datapoint returned

currency

string

Currency code for the requested report. If left blank, response will include all applicable currencies.

Example Request

curl 'https://api.sfox.com/v1/users/reports/tax-currency-summary?currency=usd&end=1676102399999&start=1673337600000'

Response

CSV formatted 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.94148758

Last updated