本站不销售彩票,不提供数字货币充值通道,不接洽任何广告业务

接口文档

获取最新区块链彩票信息

接口地址:

https://api.liankuaicai.com/lottery/update/

请求方式:GET

参数说明:

chain请求区块链公链的标识符,如“lotterychain”

请求样例:

https://api.liankuaicai.com/lottery/update/?chain=lotterychain
{
"status":true,
"code":50080,
"msg":"success",
"data":{
"newData":{					//最新一期数据
"issue":"5191",
"lottery":"9,8,2,5,1,7,6,0,4,3",
"draw": "20190430063500",
"timestamp": "1556606100"
},
"nextData": {				//下一期开奖时间
"nextTime": "2019-04-30 14:40:00",
"nextIssue": 5288
},
"lotteryList": [{			//最新数据列表
"issue": "5191",
"lottery": "9,8,2,5,1,7,6,0,4,3",
"draw": "20190430063500",
"timestamp": "1556606100"
}
...
]
}
}

获取今天和昨天开奖数据

接口地址:

https://api.liankuaicai.com/lottery/day/

请求方式:GET

参数说明:

chain请求区块链公链的标识符,如“lotterychain”

请求样例:

https://api.liankuaicai.com/lottery/day/?chain=lotterychain
{
"status":true,
"code":50080,
"msg":"success",
"data":{
"today": [{					//今天开奖数据
"issue": "5191",
"lottery": "9,8,2,5,1,7,6,0,4,3",
"draw": "20190430063500",
"timestamp": "1556606100"
}
...
],
"yesterday": [{				//昨天开奖数据
"issue": "5191",
"lottery": "9,8,2,5,1,7,6,0,4,3",
"draw": "20190430063500",
"timestamp": "1556606100"
}
...
]
}
}