
South Africa's leading home-grown crypto exchange, AltCoinTrader, has launched a comprehensive new API and it's clear they've built it with serious developers in mind. Available at api.altcointrader.co.za and fully documented at docs.altcointrader.co.za, the new API gives developers everything they need to build trading bots, portfolio tools and real-time crypto applications — all against a regulated, ZAR-native exchange.
Two APIs in one: REST and WebSocket
What immediately sets this release apart is that it's not just a basic REST API. AltCoinTrader has shipped both a REST API and a WebSocket API together.
The REST API is designed for your classic request/response workflows: placing and cancelling orders, checking account balances, retrieving order history and pulling market data. The WebSocket API, on the other hand, is built for real-time streaming like ticker changes, live order book updates, public trade feeds, private order status updates and balance changes as they happen. For anyone building a trading bot or a live dashboard, the WebSocket streams are a game-changer that removes the need for constant polling.
Security done right
Authentication on private endpoints uses a robust three-header HMAC-SHA256 signing scheme. Every private request must include your API key (X-API-KEY), a Unix timestamp (X-TIMESTAMP) and an HMAC-SHA256 signature (X-SIGNATURE) built from the timestamp, HTTP method, request path, and request body. All signed with your API secret and hex-encoded. Timestamps must fall within ±30 seconds of server time, which protects against replay attacks.
Public market data endpoints require no authentication at all, making it easy to start exploring without needing an account.
What you can build with it
The API is organised into four clean sections:
Market data - Public endpoints cover everything you need for market intelligence: list all trading markets and their fee structures, retrieve supported currencies with deposit and withdrawal details, pull 24-hour ticker stats (last price, open, high, low, volume, percentage change), fetch a live order book snapshot with up to 200 price levels per side and list up to 500 recent public trades per market.
Account and balances - Private endpoints let you retrieve account information and wallet balances across all supported assets.
Trading - Place limit orders or market orders, view open orders, browse order history, look up a specific order by ID and cancel orders. The market details endpoint even returns maker and taker fee rates per market, so your bot can calculate costs accurately before execution.
Wallet - Generate deposit addresses per currency, submit withdrawals and retrieve full deposit and withdrawal history.
Developer experience
The API follows consistent, predictable conventions throughout. Error responses always return a structured JSON object with a code and message field. Rate limiting returns a standard 429 TOO_MANY_REQUESTS response and the docs explicitly recommend exponential backoff. A sign that this was designed by people who've thought about production use cases. List endpoints support straightforward page-based pagination with limit and page parameters.
An OpenAPI document is available for download, meaning you can generate client libraries in virtually any language instantly.
A growing ecosystem
As crypto adoption increases in South Africa, tools like APIs will play a major role in expanding innovation around digital assets. Exchanges are no longer just places to buy and sell crypto. They are becoming technology platforms that support developers, fintech builders, and advanced traders.
Combined with access to more than 150 cryptocurrencies through the Easy Buy/Sell product, the launch of the AltCoinTrader API signals a move toward a more connected and developer-friendly crypto ecosystem in South Africa.To explore the documentation and start building, visit the official AltCoinTrader API Docs.
