/api/auth/check-userUser's unique identifier
{
"exists": true,
"username": "john_doe",
"roles": [
"user"
]
}/api/auth/loginUser's email address
User's password
{
"token": "eyJhbGciOiJIUzI1NiIs...",
"user": {
"id": "123",
"email": "john@example.com",
"username": "john_doe"
}
}/api/auth/registerUser's email address
User's Wallet Address
{
"success": true,
"user": {
"email": "test@gmail.com",
"passKey": "d2c8f1b692539fe028371c0354da7ee094b3245e0121ebb0de0f2352c0067762",
"login": "2025-02-18T07:43:45.586Z",
"publicKey": "CgzKjTLrNgi9B6iCzLKfcLasYTuuEUibsei97qjmm7t5",
"privateKey": "00b10cd.....bf7e2",
"type": "email",
"apiKey": "fb1c2747505ab845c3dfaa22b7cb64cd48d087c0670aacbd9c5ad6593dae0683"
},
"message": "Registration successful"
}/api/auth/challengeUser's public key
{
"success": true,
"challenge": "a1b2c3d4e5f6...",
"message": "Sign this message to verify wallet ownership: a1b2c3d4e5f6..."
}/api/auth/login-walletUser's public key
Signed challenge message
Challenge string provided earlier
{
"success": true,
"message": "Wallet verified successfully",
"user": {
"email": "user@example.com",
"lastLogin": "2023-01-01T00:00:00Z",
"publicKey": "pubkey_string",
"apiKey": "api_key",
"privateKey": "private_key"
},
"authToken": "auth_token_string"
}/api/auth/new-keys{
"success": true,
"newApiKey": "generated_api_key"
}/api/auth/search-emailUser's email address
{
"success": true,
"data": "pubkey_string",
"pubkey": "pubkey_string",
"timestamp": 123456789
}/api/auth/search-pubkeyUser's public key
{
"success": true,
"message": "User found"
}/api/auth/user-dataUser's public key
New API key to set
{
"success": true,
"message": "User data retrieved successfully",
"user": {
"email": "user@example.com",
"lastLogin": "2023-01-01T00:00:00Z",
"publicKey": "pubkey_string",
"apiKey": "api_key",
"privateKey": "private_key"
}
}/api/conversationNumber of conversations to return
Number of conversations to skip
{
"conversations": [
{
"id": "conv_123",
"title": "Trading Strategy Discussion",
"lastMessage": "What do you think about this setup?",
"timestamp": "2024-02-06T04:03:46Z"
}
],
"total": 50
}/api/conversation/agents/[id]Agent conversation ID
{
"id": "agent_123",
"messages": [
{
"role": "user",
"content": "Can you analyze this market?",
"timestamp": "2024-02-06T04:03:46Z"
},
{
"role": "assistant",
"content": "Based on the current indicators...",
"timestamp": "2024-02-06T04:03:47Z"
}
]
}/api/conversation/coach/[id]Coach conversation ID
{
"id": "coach_123",
"messages": [
{
"role": "user",
"content": "How can I improve my trading?",
"timestamp": "2024-02-06T04:03:46Z"
},
{
"role": "coach",
"content": "Let's analyze your recent trades...",
"timestamp": "2024-02-06T04:03:47Z"
}
]
}/api/conversation/coder/[id]Coder conversation ID
{
"id": "coder_123",
"messages": [
{
"role": "user",
"content": "How do I implement this strategy?",
"timestamp": "2024-02-06T04:03:46Z"
},
{
"role": "coder",
"content": "Here's a code implementation...",
"timestamp": "2024-02-06T04:03:47Z"
}
]
}/api/conversation/manager/[id]Manager conversation ID
{
"id": "manager_123",
"messages": [
{
"role": "user",
"content": "How should I manage my portfolio?",
"timestamp": "2024-02-06T04:03:46Z"
},
{
"role": "manager",
"content": "Based on your risk profile...",
"timestamp": "2024-02-06T04:03:47Z"
}
]
}/api/conversation/oracle/[id]Oracle conversation ID
{
"id": "oracle_123",
"messages": [
{
"role": "user",
"content": "What's your market prediction?",
"timestamp": "2024-02-06T04:03:46Z"
},
{
"role": "oracle",
"content": "The market indicators suggest...",
"timestamp": "2024-02-06T04:03:47Z"
}
]
}/api/conversations/[id]Specific conversation ID
{
"id": "conv_123",
"title": "Strategy Discussion",
"messages": [
{
"role": "user",
"content": "Let's discuss this strategy",
"timestamp": "2024-02-06T04:03:46Z"
},
{
"role": "assistant",
"content": "I see several key points...",
"timestamp": "2024-02-06T04:03:47Z"
}
]
}/api/dao/trading/all-positionsUser identifier
User identifier type
Position object
{
"positions": [
{
"symbol": "BTCUSDT",
"side": "buy",
"size": 0.01,
"entryPrice": 22000,
"markPrice": 22500,
"pnl": 5,
"timestamp": "2024-02-06T04:09:15Z"
}
]
}/api/exchange/market-orderExchange name (e.g., aevo, binance, bybit, bitmex, hyperliqui)
Trading symbol (e.g., BTCUSDT)
Order side (buy or sell)
Order quantity
{
"orderId": "123456",
"symbol": "BTCUSDT",
"side": "buy",
"quantity": 0.01,
"status": "FILLED",
"timestamp": "2024-02-06T04:03:46Z"
}/api/exchange/limit-orderExchange name (e.g., aevo, binance, bybit, bitmex, hyperliqui)
Trading symbol (e.g., BTCUSDT)
Order side (buy or sell)
Order quantity
Limit price
{
"orderId": "789012",
"symbol": "BTCUSDT",
"side": "sell",
"quantity": 0.005,
"price": 22500,
"status": "NEW",
"timestamp": "2024-02-06T04:05:12Z"
}/api/exchange/stop-orderExchange name (e.g., aevo, binance, bybit, bitmex, hyperliqui)
Trading symbol (e.g., BTCUSDT)
Order side (buy or sell)
Order quantity
Stop price
{
"orderId": "345678",
"symbol": "BTCUSDT",
"side": "buy",
"quantity": 0.01,
"stopPrice": 23000,
"status": "TRIGGERED",
"timestamp": "2024-02-06T04:06:30Z"
}/api/exchange/cancel-order{
"success": true,
"message": "Order cancelled successfully",
"timestamp": "2024-02-06T04:07:45Z"
}/api/exchange/cancel-all-orders{
"success": true,
"message": "All orders cancelled successfully",
"timestamp": "2024-02-06T04:08:00Z"
}/api/exchange/get-ordersExchange name (e.g., aevo, binance, bybit, bitmex, hyperliqui)
Trading symbol (e.g., BTCUSDT)
{
"orders": [
{
"orderId": "123456",
"symbol": "BTCUSDT",
"side": "buy",
"quantity": 0.01,
"status": "FILLED",
"timestamp": "2024-02-06T04:03:46Z"
}
]
}/api/exchange/get-positionsExchange name (e.g., aevo, binance, bybit, bitmex, hyperliqui)
Trading symbol (e.g., BTCUSDT)
{
"positions": [
{
"symbol": "BTCUSDT",
"side": "buy",
"size": 0.01,
"entryPrice": 22000,
"markPrice": 22500,
"pnl": 5,
"timestamp": "2024-02-06T04:09:15Z"
}
]
}/api/exchange/get-balanceExchange name (e.g., aevo, binance, bybit, bitmex, hyperliqui)
Trading symbol (e.g., BTCUSDT)
{
"balance": 1.5,
"currency": "BTC"
}/api/exchange/set-leverageExchange name (e.g., aevo, binance, bybit, bitmex, hyperliqui)
Trading symbol (e.g., BTCUSDT)
Leverage amount
{
"success": true,
"message": "Leverage set successfully",
"timestamp": "2024-02-06T04:10:30Z"
}/api/exchange/set-hedge-modeExchange name (e.g., aevo, binance, bybit, bitmex, hyperliqui)
Trading symbol (e.g., BTCUSDT)
Hedge mode (true or false)
{
"success": true,
"message": "Hedge mode set successfully",
"timestamp": "2024-02-06T04:11:45Z"
}/api/jupiterTrading pair
{
"inputMint": "SOL",
"outputMint": "USDC",
"bestRoute": {
"inAmount": 1,
"outAmount": 101.52,
"priceImpact": 0.1
}
}/api/jupiter/submitSelected route object
User's public key
{
"signature": "5KtPn3...",
"status": "confirmed",
"timestamp": "2024-02-06T04:03:46Z"
}/api/jupiter/swapInput token mint address
Output token mint address
Amount to swap
Maximum slippage percentage
{
"txId": "4zJg7...",
"inputAmount": 1,
"outputAmount": 101.52,
"executedPrice": 101.52
}/api/market/calendarDate in YYYY-MM-DD format
Event importance (high/medium/low)
{
"events": [
{
"time": "2024-02-06T14:30:00Z",
"event": "NFP Report",
"importance": "high",
"forecast": "180K",
"previous": "175K"
}
]
}/api/market/fxCurrency pair (e.g., EURUSD)
{
"pair": "EURUSD",
"bid": 1.0754,
"ask": 1.0756,
"timestamp": "2024-02-06T04:03:46Z"
}/api/market/volumeTrading symbol
Time period (1h/4h/1d)
{
"symbol": "BTCUSDT",
"volume": 12345.67,
"timeframe": "1h",
"timestamp": "2024-02-06T04:03:46Z"
}/api/market/tickersMarket type filter (futures or spot)
Minimum volume filter (USD)
Markets up by at least X% (e.g., up=10 for markets up 10%+)
Markets down by at least X% (e.g., down=10 for markets down 10%+)
Minimum price filter
Maximum price filter
Filter by specific exchange (e.g., binance, bybit, okx)
Health check endpoint
{
"success": true,
"data": {
"spot": {
"data": [
{
"symbol": "BTCUSDT",
"lastPrice": "43250.50",
"priceChangePercent": "2.45",
"quoteVolume": "1250000.00",
"source": "binance",
"sources": [
"binance",
"bybit"
]
}
]
},
"futures": {
"data": [
{
"symbol": "ETHUSDT",
"lastPrice": "2650.75",
"priceChangePercent": "-1.25",
"quoteVolume": "850000.00",
"source": "bybit",
"sources": [
"bybit"
]
}
]
}
},
"cached": {
"spot": true,
"futures": true
},
"timestamp": 1642345678901
}/api/market/tickers/similarBase symbol to find similar tickers
Number of similar tickers to return
{
"similar": [
{
"symbol": "MSFT",
"similarity": 0.85,
"sector": "Technology"
}
]
}| Key | Data Description |
|---|---|
| isDarkMode | Theme setting for dark mode. |
| user_notifications | Setting for enabling/disabling notifications. |
| user_settings | General user settings. |
| user_debug_on | Setting for enabling/disabling debugging. |
| user_login_status | Boolean indicating if the user has logged in. |
| user_api_key | User's API key. |
| wallet_public_key | User's public key for the wallet. |
| wallet_private_key | User's private key for the wallet. |
| rpc_solana_url | RPC URL for Solana. |
| rpc_custom_on | Setting for using a custom RPC. |
| rpc_slippage_bps | Slippage basis points for jumps. |
| encryption_key | Key used for encryption. |
| encryption_api_keys | Encrypted API keys. |
| market_creation_time | Times when markets were created. |
| market_last_check | Last time markets were checked. |
| market_volume_ss | Snapshots of market volumes. |
| trading_selected_exchange | Selected exchange for trading. |
| trading_hedge_mode | Hedge mode setting for trading. |
| trading_leverage | Leverage setting for trading. |
| trading_selected_symbol | Selected trading symbol. |
| BINANCE | API keys and secrets for Binance exchange. |
| BYBIT | API keys and secrets for BYBIT exchange. |
| BITMEX | API keys and secrets for BITMEX exchange. |
| COINBASE | API keys and secrets for COINBASE exchange. |
| KRAKEN | API keys and secrets for KRAKEN exchange. |
| KUCOIN | API keys and secrets for KUCOIN exchange. |
| PHEMEX | API keys and secrets for PHEMEX exchange. |
| HYPERLIQUID | API keys and secrets for HYPERLIQUID exchange. |
| AEVO | API keys and secrets for AEVO exchange. |
| DYDX | API keys and secrets for DYDX exchange. |
| MERKLE | API keys and secrets for MERKLE exchange. |
| GMX | API keys and secrets for GMX exchange. |
| SYNFUTURES | API keys and secrets for SYNFUTURES exchange. |
| Key | Data Description |
|---|---|
| system:maintenance_mode | Maintenance mode status. |
| orderly:orderbook | Order book data with bids, asks, and timestamp. |
| orderly:positions | Positions data with symbol, size, entry price, mark price, PNL, liquidation price, and timestamp. |
| binance:tickers:spot | Spot tickers data for Binance. |
| binance:tickers:futures | Futures tickers data for Binance. |
| binance:futures:open-interest | Open interest data for Binance futures. |
| pubkey:{pubkey} | User profile data for a specific public key. |
| conversation:{id} | Details for a specific conversation ID. |