Build on Xtreders
Xtreders provides several APIs that developers can use to integrate with the platform, build trading bots, or extend functionality.
Available APIs
| API | Base URL | Purpose |
|---|---|---|
| Price Alerts | /price-alerts-api/ | Create and manage price alerts |
| Copy Trading | /copy-trading-api/ | Follow/unfollow traders, view stats |
| MT Terminal | /mt-terminal-api/ | Account info, positions, orders |
| UDF Datafeed | investing.xudf.xtreders.com | Market data in TradingView UDF format |
| App API | /appapi.php | WoWonder platform API |
Authentication
All APIs use session-based authentication:
- Log in to Xtreders to get a session cookie (
user_id) - Include the cookie in API requests
- Sessions are validated against the platform database
WebSocket Connections
Real-time data is available via WebSocket:
- Price Alerts WS:
wss://xtreders.com/price-alerts-ws- Live alert triggers and price updates - MT Terminal WS:
wss://mt-terminal-server.xtreders.com- Live positions and order updates - Socket.io:
socket.xtreders.com- Platform notifications and messaging
Rate Limits
API requests are rate-limited per user session:
- REST endpoints: 60 requests per minute
- WebSocket messages: 120 per minute
- Alert creation: 10 per minute