API Documentation
REST and WebSocket access to Lovely Legends markets — what the surface covers today, and how to get keys.
REST API
Order entry, cancellation, open orders, balances and account state over HTTPS. JSON request and response bodies; one endpoint per action.
WebSocket API
Streaming order book, trades and your own order updates. Private channels carry fills for the authenticated account only.
Market data
Pairs, 24h tickers and OHLC candles. These are PUBLIC and need no credential — the live board and chart on this website are built from them.
Order book
Aggregated depth per pair, with configurable tick size. Requires an authenticated session; there is no anonymous book endpoint.
Trades
Public market trade tape per pair, and the authenticated fill history for your own account.
Authentication
API keys are issued per account with a secret shown once at creation. Requests are signed; the secret is never sent.
Rate limits
Per-IP ceilings on the public surface and per-key ceilings on the authenticated one. Exceeding a limit returns 429 rather than dropping the connection.
IP-bound API keys
Every key is pinned to the addresses you nominate. A key used from anywhere else is rejected, so a leaked secret is not on its own a usable credential.
Public market data, available now
These need no credential and are the same feed this website reads. You can call them today.
| Endpoint | Returns | Auth |
|---|---|---|
| GET /exchange/pairs | Listed pairs, precisions and trading schedule | Public |
| GET /exchange/ticker | 24h last, high, low, volume and trade count | Public |
| GET /exchange/candles | OHLC candles for a pair and timeframe | Public |
| GET /exchange/market-trades | Recent public trade tape for a pair | Public |
| GET /exchange/orderbook | Aggregated depth | Key required |
Base URL and exact parameters are provided with your keys. Treat anything not listed here as unreleased rather than undocumented.
