Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 772 Bytes

get_ticker.md

File metadata and controls

41 lines (36 loc) · 772 Bytes

Check the coin pair

  • request method: GET
  • url: https://{host}/open/api/get_ticker
  • input parameter
symbol={symbol}
  • entry instruction

    the field names type of data instructions
    symbol coin pair *

command

curl -X GET https://{host}/open/api/get_ticker?symbol=mkreth
  • return information

    the field names type of data instructions
    code code 0=succeed,otherwise fail
    msg content suc=succeed,otherwise return to specific information
  • example

{
	"code": "0",
	"msg": "suc",
	"data": {
		"high": 89.0,
		"vol": 0.0,
		"last": "89.0000000000000000",
		"low": 89.0,
		"buy": "50.55000000",
		"rose": 0.0,
		"time": 1554188632859
	}
}