Company logo: Granite slab with DM Bespoke Computer
                Solutions written on it.

DMBCS Kraken API C++ Client Library

At DMBCS we take an active interest in cryptocurrency and all things blockchain: the gold and payment tokens of the future, and the ultimate ledger of all things that need recording.

As part of this interest we found a need for an interface library to the Kraken API which took away the need to have deep knowledge of the API protocol to use the API, and ended up developing our own (for reasons you can see in the documentation). Since it costs us nothing to give it away, here it is!

Kraken is a virtual currency exchange, which also handles fiat (real) currency amounts. Subscribers to the service have an account with associated funds attached. The web site ( provides the user with an account overview (i.e., current balance), currency-pair exchange market status (history of prices and current order book), and the means to place entries on the order book; bids for a currency which can be immediately met with orders to sell the currency are automatically transacted.

The current code was prepared in 2020; there have been some substantial (but backwards-compatible) developments to the Kraken API since then, and these are not currently incorporated into this wrapper.

We also have a Rust version of this library here.


The dmbcs-kraken-api source code is managed with GIT (configured with autotools, built with make and a good C++17 compiler). Type

git clone dmbcs-kraken-api

at the command line to obtain a copy.


The documentation comes with the source, and you can also read it here.


Please click here if you wish to send us a message.

Mailing list

If you would like to receive e-mail notices of matters arising about this library, you may request this through the contact form.

Contribution to development

We will happily consider contributions to the source code if you provide the address of a GIT repository we can pull from, and will consider all bug reports and feature requests, although onward development of this library is not a primary concern of ours.

UK tax calculation service

You should also enquire here if you would like us to calculate the capital gains for UK tax purposes arising from your own Kraken activities.


If you use this library please consider a bitcoin donation if you can. A small amount informs us that there is interest and that we are providing a useful service to the community; it will keep us motivated to continue to make open source software. Donations can be made by bitcoin to the address 1PWHez4zT2xt6PoyuAwKPJsgRznAKwTtF9.

This web page Copyright © 2020 DM Bespoke Computer Solutions Ltd.

This page was last modified June, 2022

This page is