Quick Start
Start the API server:
openmm serve --port 3000Base URL:
http://localhost:3000/api/v1Swagger UI:http://localhost:3000/docs
Full Docs:docs.openmm.io
Supported Exchanges
mexcgateiobitgetkraken
Market Data
Real-time market data from supported exchanges
GET
/api/v1/tickerGet ticker data (price, bid/ask, spread, volume)
exchangesymbol
GET
/api/v1/orderbookGet order book with bids and asks
exchangesymbollimit?
GET
/api/v1/tradesGet recent trades with summary stats
exchangesymbollimit?
Account
Account balances and portfolio data
GET
/api/v1/balanceGet account balances
exchangeasset?
Orders
Order management (list, create, cancel)
GET
/api/v1/ordersList open orders
exchangesymbol?
GET
/api/v1/orders/:idGet order by ID
exchangesymbol
POST
/api/v1/ordersCreate new order
exchangesymbolsidetypeamountprice?
DELETE
/api/v1/orders/:idCancel order
exchangesymbol
DELETE
/api/v1/ordersCancel all orders
exchangesymbol?
Grid Strategy
Automated grid trading strategy
POST
/api/v1/strategy/gridStart grid strategy
exchangesymbollowerPriceupperPricegridLevelsorderSize
DELETE
/api/v1/strategy/gridStop grid strategy
idcancelOrders?
GET
/api/v1/strategy/grid/statusGet strategy status
id?
GET
/api/v1/strategy/grid/listList active strategies
Cardano DEX
Cardano token prices and pool discovery via Iris Protocol
GET
/api/v1/cardano/price/:symbolGet Cardano token price in USDT
symbol
GET
/api/v1/cardano/pools/:symbolDiscover liquidity pools
symbolminLiquidity?limit?
Price Comparison
Cross-exchange price comparison for arbitrage
GET
/api/v1/price/compareCompare prices across exchanges
symbolexchanges?
Example Request
Get BTC/USDT ticker from MEXC
curl"http://localhost:3000/api/v1/ticker?exchange=mexc&symbol=BTC/USDT"
Response
{
"exchange": "mexc",
"symbol": "BTC/USDT",
"last": 42150.50,
"bid": 42148.00,
"ask": 42152.00,
"spread": 4.00,
"spreadPercent": 0.0095,
"baseVolume": 1234.56,
"timestamp": 1710000000000
}