GroveX API overview
The official GroveX API documentation defines REST interfaces for spot trading and account operations plus WebSocket channels for market data.
https://openapi.grovex.iowss://ws.grovex.io/kline-api/wsSigned REST requests
Generate an API Key and Secret Key from your GroveX account before using private endpoints. The spot endpoint reference contracts below require api_key, time and sign parameters. GroveX's older general authentication text also references ACCESS-* headers, so use the contract for the specific endpoint being integrated. The spot endpoint reference contracts below require api_key, time and sign parameters. GroveX's older general authentication text also references ACCESS-* headers, so use the contract for the specific endpoint being integrated.
GroveX request signature1. Sort non-null request parameters by parameter name in ascending lexicographic order.
2. Concatenate the sorted parameters in keyvalue form.
3. Include the Secret Key value as shown by the official GroveX signing example and calculate the MD5 digest.
api_key = YOUR_API_KEY time = UNIX_TIMESTAMP secret = YOUR_SECRET_KEY sign = md5( api_key + API_KEY_VALUE + time + TIMESTAMP_VALUE + SECRET_KEY_VALUE )
Market data
These are the public market-data interfaces documented by GroveX. The endpoints below were also tested directly against openapi.grovex.io and returned code 0 / msg suc without API credentials.
/open/api/get_alltickerPublic - no signatureAll market tickers
Returns the ticker collection. The documented market fields include symbol, buy, sell, high, low, last, vol and rose; the response envelope also includes server timing information.
/open/api/get_recordsPublic - no signatureK-line / candlestick data
period is expressed in minutes. The official examples include 1 minute and 1440 for one day. Live data is returned as [timestamp, open, high, low, close, volume].
/open/api/get_tickerPublic - no signatureCurrent ticker for one market
The current live response includes amount, high, vol, last, low, buy, sell, rose and time.
/open/api/get_tradesPublic - no signatureRecent market trades
The current live response includes amount, price, ctime, id and type, where type is buy or sell.
/open/api/market_deptPublic - no signatureOrder book depth
Depth types documented by GroveX include step0, step1, step2 and step0time. Live step0 responses contain tick.asks, tick.bids, lastUpdateId and time.
/open/api/common/symbolsPublic - live verified without authenticationSupported markets and precision
Returns supported symbols, base_coin, count_coin, price_precision and amount_precision. The current live response also includes limit_volume_min.
Spot trading
Trading operations require the signed API request fields documented by GroveX.
/open/api/create_orderSignedCreate order
side is BUY or SELL. type 1 is a limit order and type 2 is a market order. For type 1, volume is the order quantity. For type 2, BUY volume represents the total quote price while SELL volume represents the total quantity. price is not required for type 2. fee_is_user_exchange_coin is documented as an optional legacy/redundant field.
/open/api/cancel_orderSignedCancel order
/open/api/cancel_order_allSignedCancel all orders for a market
The official documentation states this operation supports up to 2,000 cancellations.
/open/api/mass_replaceV2SignedBatch place / batch cancel - V2
V2 is the recommended batch interface. The source documents up to 1,000 batch items.
/open/api/mass_replaceSigned - legacyLegacy batch place / cancel
Legacy batch interface. mass_place and mass_cancel support up to 100 items per request. The official documentation recommends mass_replaceV2 instead.
Orders and account
Signed account endpoints provide balances, order state, account trade history and other authorised data.
/open/api/user/accountSignedAsset balances
Returns total asset information and per-asset available and locked balances.
/open/api/v2/all_orderSignedAll orders / delegation history
The documentation states the startDate/endDate interval cannot exceed ten minutes. When they are omitted, the documented default is the first ten-minute window.
/open/api/all_tradeSignedAccount trade records
/open/api/v2/new_orderSignedCurrent open / working orders
The V2 endpoint is recommended instead of the older /open/api/new_order endpoint.
/open/api/order_infoSignedOrder details
Returns order information and its associated trade records.
/open/api/marketSignedLatest prices for markets
/open/api/user_balance_infoSigned - privilegedUser asset and deposit information
One user identifier is required. This endpoint requires the appropriate query privilege.
WebSocket channels
GroveX WebSocket subscriptions use event-based JSON messages and the documented market channel naming convention.
wss://ws.grovex.io/kline-api/wsmarket_$base$quote_kline_[1min/5min/15min/30min/60min/1day/1week/1month]24h tickermarket_$base$quote_tickerDepthmarket_$base$quote_depth_step[0-2]Tradesmarket_$base$quote_trade_ticker24h market reviewreviewSubscribe to BTC/USDT ticker{
"event": "sub",
"params": {
"channel": "market_btcusdt_ticker",
"cb_id": "btcusdt"
}
}Request recent BTC/USDT trades{
"event": "req",
"params": {
"channel": "market_btcusdt_trade_ticker",
"cb_id": "btcusdt",
"top": 200
}
}REST API rate limits
Common HTTP errors
GroveX API source documentation
This page is based on the official GroveX API document maintained in the GroveXchange GitHub repository.
View official API source