Built for developers, designed for scale, and optimized for performance.
Military-grade security with API key authentication, HTTPS/TLS 1.3+, and comprehensive input validation.
Sub-100ms response times, real-time WebSocket connections, and live market data integration.
Interactive documentation with Scalar, comprehensive SDKs, and detailed code examples.
{
"code": 400,
"message": "Invalid request parameters",
"details": [
{
"field": "accountId",
"message": "Account ID is required"
}
]
}
Explore our comprehensive API endpoints with live testing capabilities powered by Scalar.
MetaTrader account management and real-time monitoring
/api/v1/taccounts
16+ endpointsMaster-follower relationships and automated trade copying
/api/v1/connections
20+ endpointsDashboard statistics and activity monitoring
/api/v1/reports
2 endpointsGet started quickly with these common API usage examples.
Secure API access with your API key
curl https://api.copydium.com/api/v1/users \
-H "X-API-Key: sk_live_..." \
-H "Content-Type: application/json"
Connect a MetaTrader account to the platform
curl https://api.copydium.com/api/v1/taccounts \
-H "X-API-Key: sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"serverId": "srv_123",
"accountId": "12345678",
"platform": "TRADE_PLATFORM_MT4",
"accountType": "ACCOUNT_TYPE_DEMO"
}'
Set up automated copy trading between accounts
curl https://api.copydium.com/api/v1/connections \
-H "X-API-Key: sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"copyConnectionName": "EUR/USD Strategy",
"masterAccount": {
"accountId": "12345678",
"tradePlatform": "TRADE_PLATFORM_MT4"
},
"followerAccount": {
"accountId": "87654321",
"tradePlatform": "TRADE_PLATFORM_MT4"
}
}'
Include your API key in the X-API-Key
header.