Nomics Endpoints

Exchange Information

GET /api/v2/nomics/info

Response

{
  "name": "VINEX",
  "description": "Cryptocurrentcy exchange",
  "location": "British Virgin Island",
  "logo": "https://storage.cloud.google.com/vinex-images/mail-icons/vinex-logo.png",
  "website": "https://vinex.network/",
  "twitter": "vinexnetwork",
  "version": "1.0",
  "capability": {
      "markets": true,
      "trades": true,
      "orders": true
  }

}

Available Markets

GET /api/v2/nomics/markets

Response

[
  {
      "id": "ETH_MCASH",
      "base": "MCASH",
      "quote": "ETH",
      "type": "spot",
      "market_url": "https://vinex.network/market/ETH_MCASH",
      "active": 1
  },
  {
      "id": "MAS_MCASH",
      "base": "MCASH",
      "quote": "MAS",
      "type": "spot",
      "market_url": "https://vinex.network/market/MAS_MCASH",
      "active": 1
  },
  {
      "id": "BTC_VEIL",
      "base": "VEIL",
      "quote": "BTC",
      "type": "spot",
      "market_url": "https://vinex.network/market/BTC_VEIL",
      "active": 1
  },
]

Historical Executed Trades

GET /api/v2/nomics/trades

Parameters

Key Mandatory Data type Description Example
market required string market symbol BTC_USDT, …
fromId optional string trade id 4000062, …

Response

[
  {
      "id": 4000064,
      "amount": "34268.54070000",
      "price": "0.01000000",
      "timestamp": "1581911486",
      "side": "buy"
  },
  {
      "id": 4000063,
      "amount": "10.00000000",
      "price": "0.00100000",
      "timestamp": "1581911473",
      "side": "sell"
  },
  {
      "id": 4000062,
      "amount": "10.00000000",
      "price": "0.00100000",
      "timestamp": "1581911473",
      "side": "sell"
  },
  {
      "id": 4000061,
      "amount": "10.00000000",
      "price": "0.00100000",
      "timestamp": "1581911473",
      "side": "sell"
  }
]

Current Order Book

GET /api/v2/nomics/orders

Parameters

Key Mandatory Data type Description Example
market required string market symbol BTC_USDT, …

Response

{
  "timestamp": 1582193665,
  "bids": [
      [
          "0.00000010",
          "10000.00000000"
      ],
      [
          "0.00000009",
          "12000.00000000"
      ],
      [
          "0.00000008",
          "13000.00000000"
      ],
      [
          "0.00000007",
          "15000.00000000"
      ]
  ],
  "asks": [
      [
          "0.00000399",
          "10000.00000000"
      ],
      [
          "0.00000400",
          "1133.53840000"
      ],
      [
          "0.00000432",
          "575.95920000"
      ],
      [
          "0.00000435",
          "230.02190000"
      ]
  ]
}