Institutional-Grade Open API for Programmatic Trading
Trade Spot, Stock Tokens, USDT Perpetuals, CFDs, and Lead Trader portfolios programmatically with unified JSON contracts, HMAC-SHA256 signing, and identical business rules to the KDC App.
import hashlib, hmac, json, time, requests
API_KEY, SECRET = "<YOUR_API_KEY>", "<YOUR_API_SECRET>"
BASE = "https:">//api.kdc.exchange"
ts = str(int(time.time() * 1000))
path = "/open/v1/spot/orders"
body = json.dumps({"order": {
"symbol": "BTCUSDT", "side": "buy", "kind": "limit",
"timeInForce": "gtc", "price": "97500.00", "qty": "0.01",
}}, separators=(",", ":"))
sign = hmac.new(SECRET.encode(), (ts + "POST" + path + body).encode(), hashlib.sha256).hexdigest()
res = requests.post(BASE + path, data=body, headers={
"KDC-API-KEY": API_KEY, "KDC-API-TIMESTAMP": ts,
"KDC-API-SIGN": sign, "Content-Type": "application/json",
})
print(res.json())Built for Speed, Consistency, and Asset Safety
100% Parity with App Rules
Requests are verified and forwarded directly to native services—KYC, risk controls, fee tiers, and idempotency stay identical.
Zero Withdrawal Exposure
API keys never grant on-chain withdrawal or external transfer rights. Keys without IP whitelists auto-expire in 90 days.
Batch Execution & Replay Defense
Submit or cancel up to 20 orders per call with sliding receive windows and single-use write signature replay protection.
Tiered GCRA Rate Limiting
Smooth Redis GCRA limits with transparent X-RateLimit headers and dedicated Market Maker throughput tiers.
Explore All 8 Endpoint Categories
General & Batch
Server time synchronization plus high-throughput batch order placement and cancellation (up to 20 per request).
GET /open/v1/timePOST /open/v1/spot/batch-ordersMarket Data (Public)
Unauthenticated real-time tickers, order book depth, klines, trades, funding rates, and instrument metadata.
GET /open/v1/market/catalogGET /open/v1/market/tickersAsset & Transfers
Multi-account balances, ledger bills, transfer history, and intra-account fund transfers.
GET /open/v1/asset/accountsGET /open/v1/asset/billsSpot & Stock Tokens
Order placement, amendment, cancellation, open/historical orders, fills, and stock token holdings.
GET /open/v1/spot/holdingsGET /open/v1/spot/orders/openPerpetual Futures
Full USDT-M perpetual trading lifecycle: orders, positions, TP/SL, margin adjustment, reverse, and funding.
GET /open/v1/contract/accountGET /open/v1/contract/positionsCFD Trading
Trade traditional FX, indices, and commodities with positions, pending orders, deals, swaps, and flows.
GET /open/v1/contract/cfd/accountGET /open/v1/contract/cfd/positionsLead Trader
Complete programmatic execution and monitoring for Lead Trader accounts across Spot, Perpetuals, and CFDs.
GET /open/v1/copy/lead/centerGET /open/v1/copy/lead/positionsCopy Follower (Read-Only)
Monitor active follow relationships, follower positions, and historical copy trading performance.
GET /open/v1/copy/followsGET /open/v1/copy/follows/{followId}Predictable, Transparent Quotas
Public endpoints are rate-limited per IP (or per account when signed). Private read and trade endpoints are metered per account.
20 / s100 / s20 / s100 / s10 / s300 / sIntegrate in Minutes
Everything you need to authenticate requests, test signatures locally, and handle error responses cleanly.
Ready to Connect Your Trading Strategy?
Create your API key in seconds with 2FA protection and optional IP whitelist binding.