Markets

Retrieves a list of derivative markets.

get
Query parameters
statusstringOptional

Status of the market, for convenience it is set to string - not enum.

market_idsstring[]Optional

Filter by market IDs.

with_mid_price_and_tobbooleanOptional

Flag to return the markets mid price and top of the book buy and sell orders.

Responses
200
A successful response.
application/json
get
GET /injective/exchange/v1beta1/derivative/markets HTTP/1.1
Host: inj.nownodes.io
Accept: */*
{
  "markets": [
    {
      "market": {
        "ticker": "text",
        "oracle_base": "text",
        "oracle_quote": "text",
        "oracle_type": "Unspecified",
        "oracle_scale_factor": 1,
        "quote_denom": "text",
        "market_id": "text",
        "initial_margin_ratio": "text",
        "maintenance_margin_ratio": "text",
        "maker_fee_rate": "text",
        "taker_fee_rate": "text",
        "relayer_fee_share_rate": "text",
        "isPerpetual": true,
        "status": "Unspecified",
        "min_price_tick_size": "text",
        "min_quantity_tick_size": "text",
        "min_notional": "text",
        "admin": "text",
        "admin_permissions": 1
      },
      "perpetual_info": {
        "market_info": {
          "market_id": "text",
          "hourly_funding_rate_cap": "text",
          "hourly_interest_rate": "text",
          "next_funding_timestamp": "text",
          "funding_interval": "text"
        },
        "funding_info": {
          "cumulative_funding": "text",
          "cumulative_price": "text",
          "last_timestamp": "text"
        }
      },
      "futures_info": {
        "market_id": "text",
        "expiration_timestamp": "text",
        "twap_start_timestamp": "text",
        "expiration_twap_start_price_cumulative": "text",
        "settlement_price": "text"
      },
      "mark_price": "text",
      "mid_price_and_tob": {
        "mid_price": "text",
        "best_buy_price": "text",
        "best_sell_price": "text"
      }
    }
  ]
}

Retrieves a derivative market by ticker

get
Path parameters
market_idstringRequired

Market ID for the market

Responses
200
A successful response.
application/json
get
GET /injective/exchange/v1beta1/derivative/markets/{market_id} HTTP/1.1
Host: inj.nownodes.io
Accept: */*
{
  "market": {
    "market": {
      "ticker": "text",
      "oracle_base": "text",
      "oracle_quote": "text",
      "oracle_type": "Unspecified",
      "oracle_scale_factor": 1,
      "quote_denom": "text",
      "market_id": "text",
      "initial_margin_ratio": "text",
      "maintenance_margin_ratio": "text",
      "maker_fee_rate": "text",
      "taker_fee_rate": "text",
      "relayer_fee_share_rate": "text",
      "isPerpetual": true,
      "status": "Unspecified",
      "min_price_tick_size": "text",
      "min_quantity_tick_size": "text",
      "min_notional": "text",
      "admin": "text",
      "admin_permissions": 1
    },
    "perpetual_info": {
      "market_info": {
        "market_id": "text",
        "hourly_funding_rate_cap": "text",
        "hourly_interest_rate": "text",
        "next_funding_timestamp": "text",
        "funding_interval": "text"
      },
      "funding_info": {
        "cumulative_funding": "text",
        "cumulative_price": "text",
        "last_timestamp": "text"
      }
    },
    "futures_info": {
      "market_id": "text",
      "expiration_timestamp": "text",
      "twap_start_timestamp": "text",
      "expiration_twap_start_price_cumulative": "text",
      "settlement_price": "text"
    },
    "mark_price": "text",
    "mid_price_and_tob": {
      "mid_price": "text",
      "best_buy_price": "text",
      "best_sell_price": "text"
    }
  }
}