CoinTracking mobile

Register For Free to get access to all features.

arrow

CoinTracking Data API

The CoinTracking API allows you to access your account data. You need an API key and secret to use the API.
Please find all relevant information in the documentation below.

Please login into your account to create API keys

CoinTracking API Documentation


Information


All API requests must be send to the following URL via POST: https://cointracking.info/api/v1/
API responses are in JSON.
All requests needs an authentication.



Authentication


Send your key and sign as http header.
The sign is a HMAC-SHA512 message of the method, the nonce and the POST data, signed with your API secret.
The nonce must be increasing for each call. We recommend to use UNIX time or microtime.



Request limits


In most situations one call per hour is enough.
Maximum API requests:
- FREE users: No API access yet
- PRO & EXPERT users: 20 calls per hour
- UNLIMITED users: 60 calls per hour

Please don't exeed these limits or you will be blocked.



Successful calls


Array
(
	[success] => 1
	[method] => getTrades
)



Errors


Array
(
	[success] => 0
	[method] => getTrades
	[error] => NO_METHOD
	[error_msg] => ERROR: Method not set
)



CoinTracking API code examples






Postman Collection (v2.1)

NodeJs example by bpirson (GitHub)

Python example by tbl42 (GitHub)


Integration for non-developers


Cryptosheets provides add-ins with which your CoinTracking data can be imported into Excel and Google Sheets and gets automatically updated.
This is the ideal solution to create your own reports and charts with your CoinTracking data.
No coding knowledge required.

- Instruction: How to connect your CoinTracking account with Cryptosheets
- Examples: Cointracking.info data in Excel & Google Sheets using Cryptosheets
- More details: Manage Your Crypto Portfolio with Cryptosheets & Cointracking.info

Methods


Please find all methods below.

getTrades

Returns all your CoinTracking trades and transactions. Similar to the Trade List.

getBalance

Returns your current CoinTracking account and coin balance. Similar to the Current Balance.

getHistoricalSummary

Returns all historical values for all your coins, currencies, commodities, and the total account value. Similar to the Daily Balance or the Trade Statistics.

getHistoricalCurrency

Returns all historical amounts and values for a specific currency/coin or for all currencies/coins. Similar to the Daily Balance or the Trade Statistics.

getGroupedBalance

Returns the current balance grouped by exchange, trade-group or transaction type. Similar to the Balance by Exchange.

getGains

Returns your current realized and unrealized gains data. Similar to the Realized and Unrealized Gains.

getLedger

Returns all your CoinTracking transactions as Ledger incl. balances and values before and after the transaction as well as the price & tx growth . Similar to the Double-Entry / Ledger List.