Mid price and tob

Retrieves a spot market's mid-price

get
Path parameters
market_idstringRequired

Market ID for the market

Responses
200
A successful response.
application/json
get
GET /injective/exchange/v1beta1/spot/mid_price_and_tob/{market_id} HTTP/1.1
Host: inj.nownodes.io
Accept: */*
{
  "mid_price": "text",
  "best_buy_price": "text",
  "best_sell_price": "text"
}