Interface description
  • Get depth data
Request URL:
  • https://apiv2.bitz.com/Market/depth
Request Method:
  • GET
Parameters:
Parameter Required Type Description
symbol true string eth_btc、ltc_btc trading pair
Request example:
  • https://apiv2.bitz.com/Market/depth?symbol=ltc_btc
Example of return result:
{
    "status": 200,//Status Code
    "msg": "",    //Prompt
    "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 ""