Interface description
  • Get depth data
Request URL:
  • https://apiv2.bitz.com/Market/depth
Request Method:
  • GET
Parameter
Parameter Whether or not Paramethers of the mean Example
symbol yes string eth_btc、ltc_btc
Request example:
  • https://apiv2.bitz.com/Market/depth?symbol=ltc_btc
An example of the result returned
{
    "status": 200,
    "msg": "",
    "data": {
        "asks": [   //sell
           [
             "57.70000000",  //price
             "1.6783",       //number
             "96.837910000000"    //Total price
           ],
        ],
        "bids": [  //buy
           [
             "0.00121238",
             "1398.9960",
              "1.696114770480"
           ],
        ],
        "coinPair": "ltc_btc"
    },
    "time": 1532671014,
    "microtime": "0.49301600 1532671014",
    "source": "api"
}

results matching ""

    No results matching ""