Complete guide to integrating with Exverta
Welcome to the Exverta API! Our RESTful API allows you to programmatically access trading functionality, manage your account, and retrieve market data in real-time.
Sub-millisecond response times
Military-grade encryption
99.99% availability guarantee
All API requests require authentication using API keys. You can create and manage your API keys in your account settings.
curl -X GET "https://exverta.pro/api/account" \
-H "X-API-Key: your_api_key_here" \
-H "X-API-Secret: your_api_secret_here" \
-H "Content-Type: application/json"
Never share your API secret key. All API requests should be made from server-side applications only.
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 87
X-RateLimit-Reset: 1640995200
Retrieve current price and 24h statistics for all trading pairs.
curl -X GET "https://exverta.pro/api/tickers"
{
"success": true,
"data": {
"BTC/USD": {
"symbol": "BTC/USD",
"last": 43250.50,
"bid": 43248.25,
"ask": 43252.75,
"change": 2.34,
"changePercent": 0.0054,
"high": 44100.00,
"low": 42800.50,
"volume": 1245.67,
"quoteVolume": 53892341.25,
"timestamp": "2025-01-20T12:00:00Z"
}
}
}
Get current order book for a specific trading pair.
curl -X GET "https://exverta.pro/api/orderbook/BTC_USD?limit=50"
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of orders to return (default: 100, max: 500) |
Subscribe to real-time price updates via WebSocket.
const ws = new WebSocket('wss://exverta.pro/ws');
ws.onopen = function() {
// Subscribe to BTC/USD price updates
ws.send(JSON.stringify({
"method": "subscribe",
"channel": "ticker",
"symbol": "BTC/USD"
}));
};
ws.onmessage = function(event) {
const data = JSON.parse(event.data);
console.log('Price update:', data);
};
curl -X GET "https://exverta.pro/api/account" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret"
{
"success": true,
"data": {
"userId": "12345",
"username": "trader123",
"email": "[email protected]",
"kycStatus": "verified",
"accountType": "premium",
"tradingPermissions": ["spot", "futures"],
"balances": {
"USD": {
"available": 10000.00,
"locked": 500.00,
"total": 10500.00
},
"BTC": {
"available": 0.5,
"locked": 0.0,
"total": 0.5
}
}
}
}
curl -X GET "https://exverta.pro/api/trades?symbol=BTC_USD&limit=50" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret"
Place a new trading order (market, limit, stop-loss, etc.)
curl -X POST "https://exverta.pro/api/orders" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret" \
-H "Content-Type: application/json" \
-d '{
"symbol": "BTC/USD",
"side": "buy",
"type": "limit",
"amount": 0.1,
"price": 42000.00,
"timeInForce": "GTC"
}'
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Trading pair (e.g., BTC/USD) |
| side | string | Yes | buy or sell |
| type | string | Yes | market, limit, stop_loss, take_profit |
| amount | decimal | Yes | Order quantity |
| price | decimal | Conditional | Required for limit orders |
{
"success": true,
"data": {
"orderId": "550e8400-e29b-41d4-a716-446655440000",
"symbol": "BTC/USD",
"side": "buy",
"type": "limit",
"amount": 0.1,
"price": 42000.00,
"status": "pending",
"timestamp": "2025-01-20T12:00:00Z",
"fee": 2.10
}
}
curl -X DELETE "https://exverta.pro/api/orders/550e8400-e29b-41d4-a716-446655440000" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret"
curl -X POST "https://exverta.pro/api/staking/stake" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret" \
-H "Content-Type: application/json" \
-d '{
"currency": "ETH",
"amount": 1.5,
"duration": 30
}'
| Code | Message | Description |
|---|---|---|
| 1000 | Success | Request completed successfully |
| 2001 | Invalid API Key | API key is missing or invalid |
| 2002 | Insufficient Balance | Not enough funds to complete the operation |
| 2003 | Rate Limit Exceeded | Too many requests, please slow down |
| 2004 | Market Closed | Trading is not available for this market |
| 2005 | Invalid Order | Order parameters are invalid |
Our developer support team is here to help you integrate with the Exverta API.