Base URL
https://vela-engine.fly.devRate Limits
| Endpoint | Limit |
|---|---|
| POST /orders | 20 per minute per wallet |
| POST /orders/cancel | 20 per minute per wallet |
| POST /deposit | 5 per minute per wallet |
| POST /withdrawals | 5 per minute per wallet |
| GET endpoints | 100 per minute per IP |
Endpoints
GET /markets
Returns all active markets with current best bid/ask.GET /orderbook/:market_id
Returns the full order book for a market.POST /orders
Place a new limit order. Requires wallet signature. Request:personal_sign.
POST /orders/cancel
Cancel an existing order. Requires wallet signature. Request:POST /deposit
Credit the engine balance. Trust-based for non-ETH assets.POST /withdrawals
Submit a withdrawal request.POST /withdrawal-signature
Request an operator signature for an on-chain ETH withdrawal.GET /account/:address/balances
Returns all balances for a wallet address.GET /ohlcv/:market_id
Returns OHLCV candlestick data for a market, derived from real trade history. Query parameters:| Param | Description | Default |
|---|---|---|
interval | Candle interval: 1m, 5m, 15m, 1h, 4h, 1d | 1h |
limit | Number of candles to return (max 500) | 100 |
since | ISO8601 start time | 24h ago |
source is "LIVE" when built from real trades, "SIMULATED" when built from order book midpoints.
GET /account/:address/orders/by-client-id/:client_order_id
Look up a specific order by client order ID.GET /referral/:address
Returns referral stats for a wallet address.POST /referral/register
Register a referral relationship.vela:referral:{referred}:{referrer}:{nonce}, signed by the referred user.
GET /leaderboard
Returns the trading leaderboard.GET /fees
Returns current global fee configuration.GET /markets/:id/fees
Returns fee configuration for a specific market.GET /orders/:id/da-proof
Returns a data availability proof for a filled order. Used by external parties to verify that a fill was included in the DA layer.POST /force-include
Submit a signed transaction directly to the delayed inbox. The engine must include it within 24 hours or face an on-chain challenge.GET /ws
WebSocket upgrade endpoint. Connect viawss://vela-engine.fly.dev/ws. See WebSocket Feeds for the full protocol reference.
GET /admin/state
Admin-only endpoint. RequiresX-Admin-Token header.