Skip to content

Introduction

dTax Developer Hub

dTax is an open-core crypto tax platform. The core calculation engine is AGPL-3.0 licensed and available as an npm package — so you can integrate professional-grade crypto tax calculations into your own applications.

What’s here

@dtax/tax-engine

A zero-dependency TypeScript library for parsing exchange CSVs and computing capital gains using any cost-basis method.

REST API

A managed API for importing transactions, running tax calculations, and generating Form 8949 / TXF reports — no infrastructure required.

23 Exchange Parsers

Built-in parsers for Coinbase, Binance, Kraken, Gemini, Etherscan, Solscan, OKX, Bybit, and 15 more.

8 Cost-Basis Methods

FIFO, LIFO, HIFO, Specific ID, Germany FIFO, PMPA, Total Average, UK Share Pooling.

Open Core model

LayerLicenseAccess
@dtax/tax-engineAGPL-3.0Public on GitHub + npm
REST APICommercialgetdtax.com
Web AppCommercialgetdtax.com

If you use the tax engine in a commercial product, you must open-source your changes (AGPL-3.0) or contact us for a commercial license.