Get last trades
/v1/trading/trade/lastReturns the most recent public trades of a market, newest first, as compact positional tuples
[side, price, amount, timestamp]. No authentication is required.
At most 50 trades are returned; a larger limit is silently reduced to 50. For a live feed
use the trading websocket instead of polling.
Query Parameters
Market as BASE/QUOTE.
^[A-Z0-9]+/[A-Z0-9]+$Number of trades. Default and maximum 50; larger values are reduced to 50.
1 <= value <= 5050Response Body
application/json
application/json
application/json
curl --request GET \ --url 'https://gateway.bit2me.com/v1/trading/trade/last?symbol=BTC%2FEUR'[ [ "sell", 63606.3, 0.0008, 1715087548704 ], [ "buy", 63601.2, 0.0013, 1715087523417 ]]Get OHLCV candles GET
Returns OHLCV candles (open, high, low, close, volume) of a market between `startTime` and `endTime`. No authentication is required. Sort by the timestamp (`[0]`) before plotting. The last candle is the current one and is still changing. Intervals with no trades produce no candle, so the series can have gaps: fill them on the client if a continuous series is needed. A request returns at most `limit` candles. To cover a longer range, split it into windows of `limit * interval` and request them one after another.
List market configurations GET
Returns the markets available to the caller and the rules an order must respect in each one: amount and price limits, minimum order value and decimal precision. Validate orders against these values before sending them to avoid `412` rejections. Authentication is optional and changes the result: `restricted` markets are listed only for the users granted access, `disabled` markets are never listed, and `enabled_at` markets are listed once their opening date has passed. The response is a plain array; when `limit` is not sent, every market is returned.