Export realized gains in TurboTax TXF format
GET
/api/calculate/tax-summary/{address}/export/turbotax
const url = 'https://api.qeychain.xyz/api/calculate/tax-summary/example/export/turbotax?tax_year=1&taxpayer_timezone=America%2FNew_York';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.qeychain.xyz/api/calculate/tax-summary/example/export/turbotax?tax_year=1&taxpayer_timezone=America%2FNew_York'Export all taxable disposals for a tax year in TurboTax TXF format.
TXF (Tax Exchange Format) can be imported directly into TurboTax
and other tax software that supports the TXF standard.
The export includes:
- Short-term transactions (Code 321 - Form 8949 Part I)
- Long-term transactions (Code 323 - Form 8949 Part II)
- Wash sale adjustments
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”address
required
Address
string
Query Parameters
Section titled “Query Parameters”tax_year
required
Tax Year
Tax year (e.g., 2024)
integer
Tax year (e.g., 2024)
taxpayer_timezone
Taxpayer Timezone
Taxpayer’s timezone for tax year boundaries. Use IANA names or shortcuts: ‘ET’, ‘CT’, ‘MT’, ‘PT’, ‘AK’, ‘HI’.
string
Taxpayer’s timezone for tax year boundaries. Use IANA names or shortcuts: ‘ET’, ‘CT’, ‘MT’, ‘PT’, ‘AK’, ‘HI’.
owned_wallets
Any of:
Array<string>
null
All wallet addresses owned by the user (for internal transfer detection)
Responses
Section titled “Responses”TXF file download
Examplegenerated
exampleBad Request
Not Found
Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}Internal Server Error
