Cryptacker Python SDK

Python 3.8+ · REST client · v1.4.2

SDK

The official Python client for the Cryptacker Trading API — a thin wrapper over the REST endpoints so you can be trading in a couple of lines. Standard library only, no dependencies.

Install

curl -O https://cryptacker.com/sdk/cryptacker.py

A single file — drop it next to your script and import it.

Quickstart

from cryptacker import Client

api = Client(api_key="ck_live_...")
print(api.account_summary())

tx = api.submit_transaction(
    destination="bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
    amount=0.05,
    asset="BTC",
)
print(api.transaction_status(tx["tx_id"]))

Methods

GETaccount_summary()
Balances, equity and 30-day P&L.
GETlist_transactions()
Ledger history.
POSTsubmit_transaction(destination, amount, asset)
Queue a withdrawal. Returns a tx_id; poll it with transaction_status().
GETtransaction_status(tx_id)
Poll a submitted withdrawal for its outcome.
POSTwhitelist_address(address, asset)
Whitelist a withdrawal address (24h hold).
POSTregister_webhook(url)
Register a callback URL for trade events.
GETlist_bots()
List your AI trading bots and their status.
Download cryptacker.py  ·  API reference