API Documentation
Integrate with CryptoX using our comprehensive REST and WebSocket APIs
Overview
REST API
Standard HTTP endpoints for trading, account management, and market data retrieval.
WebSocket
Real-time streaming for order book updates, trades, and ticker data.
Rate Limits
Up to 20 requests per second for REST API with fair usage policies.
Quick Start
Get started with a simple API request. Copy the example below to fetch market data.
const response = await fetch(
"https://api.cryptox.com/v1/market/ticker?symbol=BTC_USDT",
{
headers: {
"X-API-Key": "your-api-key",
"X-Timestamp": Date.now().toString(),
"X-Signature": signature,
},
}
);
const data = await response.json();
// { success: true, data: { price: "67430.50", ... } }API Endpoints
Explore our available API categories and endpoints
Market Data
Ticker, order book, recent trades, and K-line data
Trading
Place orders, cancel orders, and view order history
Account
Balances, deposit/withdrawal, and transaction history
WebSocket
Real-time market data and order update streams
Rate Limiting
API rate limits ensure fair usage for all users
| Tier | Rate Limit | Time Window |
|---|---|---|
| Public | 20 req/s | Per second |
| Authenticated | 50 req/s | Per second |
| Trading | 10 req/s | Per second |
| WebSocket | 5 connections | Per user |
Authentication
Secure your API access with API keys and request signing
API Key Setup
Follow these steps to authenticate your API requests.
Security Best Practices
Follow these tips to keep your API keys secure.