For the complete documentation index, see llms.txt. This page is also available as Markdown.

REST API

Public endpoints

No authentication needed. Use GET.

Market data: pairs list, pair statistics, order book, market history, depth, and candlestick (KLine) data.

Private endpoints

Authenticated with your API key. Use POST.

Trading and account: create a limit order, cancel an order, active orders, balances, order info, trade info and order history.

Authentication in short

Every private request is a POST with:

  • a JSON body containing request (the endpoint path, for example /api/v1/account/balance), a nonce (a 13-digit number, always increasing; use the Unix time in milliseconds) and the endpoint's parameters

  • headers:

    • X-TXC-APIKEY: your public key

    • X-TXC-PAYLOAD: the body, base64-encoded

    • X-TXC-SIGNATURE: hex(HMAC_SHA512(payload, secret_key))

Full reference

Full details and code samples:

Public endpoints | HTTPPrivate endpoints | HTTPAuthentication and API Keys

Last updated