接口调用地址
说明:直接访问 https://api.apihz.cn/getapi.php 获取当前最优IP接口地址。由普通负载集群服务器组成,通过IP接口地址调用,如果单个服务器过载可自行切换IP接口地址尝试其他负载服务器。IP并非永久固定且容易遭受攻击,平台可能不定期更换。
说明:域名接口会自动分发请求到普通集群服务器均衡负载,该域名TTL值为60秒,表示你的请求会每60秒实现自动轮换负载服务器,但也可能因你的网络服务商存在DNS缓存造成短时间内无法自动切换负载。如果某个负载服务器出现故障,也可能会造成个别地区存在一定时间的故障期。
说明:VIP专线在普通集群组的基础上额外增加独享大带宽集群组,每次请求自动均衡负载,自动故障切换,抗攻击,全球智能CDN加速。超高稳定性!最低30¥/月,彩钻以上会员专属,登录后购买。注:VIP线路是指调用接口的线路更有保障以及每分钟拥有更高的调用频次等,并非收费接口包月使用。
请求示例
[GET]请求示例:(请登录后使用自己的KEY独享频次)
复制参数
复制全部
[POST]请求示例:(请根据开发语言自行POST,参考【GET/POST教程】,或下载【超级客户端】调试。)
请求参数说明
注意:请求编码为UTF8,否则带中文请求可能失败。一般参数不能带+号,会被自动替换为空格。参数内容较大的必须用POST,不能GET。
提示:如发现接口有BUG,可加服务QQ群及时向我们反馈。
提示:请求参数里的开发者ID与KEY,登录后台菜单【个人资料】里查看。
提示:如发现接口有BUG,可加服务QQ群及时向我们反馈。
提示:请求参数里的开发者ID与KEY,登录后台菜单【个人资料】里查看。
| 名称 | 参数 | 必填 | 说明 |
|---|---|---|---|
| 开发者ID | id | 是 | 用户中心的数字ID,例:id=10000000 |
| 开发者KEY | key | 是 | 用户中心通讯秘钥,例:key=15he5h15ty854j5sr152hs2 |
| 动态秘钥 | dkey | 否 | 开发者开启动态秘钥验证后需传此参数,主要针对直接在客户端调用接口的场景。请在官网后台菜单【个人资料】里配置。例:dkey=0cd2a494831736587c33f30d1e544371 |
| 用户IP | uip | 否 | 接口调用者IP,用于后台统计IP地域分布,ISP运营商,时段IP数统计等,如不传该参数则默认为接口请求端IP,该参数主要用于使用后端服务器/中间件请求接口的方式使用。例:uip=123.123.123.123。该参数彩钻/炫钻/焱钻会员专享。 |
返回参数说明
| 名称 | 参数 | 说明 |
|---|---|---|
| 状态码 | code | 200成功,400错误 |
| 消息内容 | msg | 信息提示。 |
| 红球统计数据集 | front_stats | 红球统计数据集。 |
| 红球号码 | front_stats.number | 红球号码。 |
| 红球号码出现次数 | front_stats.count | 红球号码出现次数。 |
| 红球号码出现概率 | front_stats.percentage | 红球号码出现概率。 |
| 蓝球统计数据集 | last_stats | 蓝球统计数据集。 |
| 蓝球号码 | last_stats.number | 蓝球号码。 |
| 蓝球号码出现次数 | last_stats.count | 蓝球号码出现次数。 |
| 蓝球号码出现概率 | last_stats.percentage | 蓝球号码出现概率。 |
| 红球3数字组合统计数据集 | top_three_combinations | 红球某3个数字组合出现的次数前200名,可作为购买参考,例如我想买的数字有5和8,这里可以参考历史上与5和8同时出现的其他数字。 |
| 红球3数字组合 | top_three_combinations.string | 红球3数字组合。 |
| 红球3数字组合出现次数 | top_three_combinations.count | 红球3数字组合出现次数。 |
| 红球3数字组合出现百分比 | top_three_combinations.percentage | 红球3数字组合出现百分比。 |
| 红球4数字组合统计数据集 | top_four_combinations | 红球某4个数字组合出现的次数前200名。 |
| 红球4数字组合 | top_four_combinations.string | 红球4数字组合。 |
| 红球4数字组合出现次数 | top_four_combinations.count | 红球4数字组合出现次数。 |
| 红球4数字组合出现百分比 | top_four_combinations.percentage | 红球4数字组合出现百分比。 |
| 红球5数字组合统计数据集 | top_five_combinations | 红球某5个数字组合出现的次数前100名。 |
| 红球5数字组合 | top_five_combinations.string | 红球5数字组合。 |
| 红球5数字组合出现次数 | top_five_combinations.count | 红球5数字组合出现次数。 |
| 红球5数字组合出现百分比 | top_five_combinations.percentage | 红球5数字组合出现百分比。 |
| 最新一期蓝球号码 | last_one_number | 最新一期蓝球号码。 |
| 历史蓝球号码组合统计数据集 | last_one_combinations | 根据最新一期的蓝球号码来统计历史上该号码出现后的下一次出现号码,可作为购买参考,例如本期蓝球号码为1,本数据集统计历史上开出1后的下一期蓝球号码组合统计,比如本期蓝球为1,下一期蓝球为2,统计开出1后又开出2的出现次数。总共16个组合统计。 |
| 历史蓝球号码组合 | last_one_combinations.combination | 历史上蓝球号码开出后的下一期蓝球号码组合。 |
| 历史蓝球号码组合次数 | last_one_combinations.count | 历史上蓝球号码开出后的下一期蓝球号码组合出现次数。 |
| 最近两期蓝球号码 | last_two_numbers | 最近两期蓝球号码。 |
| 历史蓝球号码组合统计数据集2 | last_two_combinations | 根据最新两期的蓝球号码来统计历史上该号码出现后的下一次出现号码,可作为购买参考,例如近两期蓝球号码为1和2,本数据集统计历史上开出1和2后的下一期蓝球号码组合统计,比如近两期蓝球为1和2,下一期蓝球为3,统计开出1后又开出2又开出3的出现次数。 |
| 历史蓝球号码组合2 | last_two_combinations.combination | 历史上两期蓝球号码开出后的下一期蓝球号码组合。 |
| 历史蓝球号码组合次数2 | last_two_combinations.count | 历史上两期蓝球号码开出后的下一期蓝球号码组合出现次数。 |
| 最近三期蓝球号码 | last_three_numbers | 最近三期蓝球号码。 |
| 历史蓝球号码组合统计数据集3 | last_three_combinations | 与前面统计类似,但历史上从来没出现过,可以不作为参考。 |
| 综合信息数据集 | summary | 综合信息数据集。 |
| 总计数据期数 | summary.total_rows | 总计统计数据期数,如超过2000期则只统计最新2000期。 |
| 红球总数量 | summary.front_stats_total | 红球总数量。 |
| 蓝球总数量 | summary.last_stats_total | 蓝球总数量。 |
| 红球3数字组合出现次数 | summary.unique_three_combinations | 红球3数字组合出现次数。 |
| 红球4数字组合出现次数 | summary.unique_four_combinations | 红球4数字组合出现次数。 |
| 红球5数字组合出现次数 | summary.unique_five_combinations | 红球5数字组合出现次数。 |
| 红球出现最多的数字 | summary.front_most_frequent.number | 红球出现最多的数字。 |
| 红球出现最多的数字总次数 | summary.front_most_frequent.number.count | 红球出现最多的数字总次数。 |
| 蓝球出现最多的数字 | summary.last_most_frequent.number | 蓝球出现最多的数字。 |
| 蓝球出现最多的数字总次数 | summary.last_most_frequent.number.count | 蓝球出现最多的数字总次数。 |
返回数据示例
示例:{"code":400,"msg":"通讯秘钥错误。"}
示例:某些数据展示会有省略。
{
"code": 200,
"msg": "双色球数据统计,由接口盒子www.apihz.cn根据最新2000期开奖数据统计预测,结果仅供参考,不能作为购买依据。",
"front_stats": [{
"number": 1,
"count": 382,
"percentage": 3.24
}, {
"number": 2,
"count": 386,
"percentage": 3.27
}, {
"number": 3,
"count": 331,
"percentage": 2.81
}, {
"number": 4,
"count": 339,
"percentage": 2.88
}, {
"number": 5,
"count": 343,
"percentage": 2.91
}, {
"number": 6,
"count": 404,
"percentage": 3.43
}, {
"number": 7,
"count": 361,
"percentage": 3.06
}, {
"number": 8,
"count": 363,
"percentage": 3.08
}, {
"number": 9,
"count": 389,
"percentage": 3.3
}, {
"number": 10,
"count": 372,
"percentage": 3.16
}, {
"number": 11,
"count": 343,
"percentage": 2.91
}, {
"number": 12,
"count": 352,
"percentage": 2.99
}, {
"number": 13,
"count": 351,
"percentage": 2.98
}, {
"number": 14,
"count": 404,
"percentage": 3.43
}, {
"number": 15,
"count": 361,
"percentage": 3.06
}, {
"number": 16,
"count": 338,
"percentage": 2.87
}, {
"number": 17,
"count": 381,
"percentage": 3.23
}, {
"number": 18,
"count": 366,
"percentage": 3.1
}, {
"number": 19,
"count": 376,
"percentage": 3.19
}, {
"number": 20,
"count": 367,
"percentage": 3.11
}, {
"number": 21,
"count": 313,
"percentage": 2.65
}, {
"number": 22,
"count": 396,
"percentage": 3.36
}, {
"number": 23,
"count": 343,
"percentage": 2.91
}, {
"number": 24,
"count": 342,
"percentage": 2.9
}, {
"number": 25,
"count": 346,
"percentage": 2.93
}, {
"number": 26,
"count": 372,
"percentage": 3.16
}, {
"number": 27,
"count": 370,
"percentage": 3.14
}, {
"number": 28,
"count": 318,
"percentage": 2.7
}, {
"number": 29,
"count": 325,
"percentage": 2.76
}, {
"number": 30,
"count": 327,
"percentage": 2.77
}, {
"number": 31,
"count": 332,
"percentage": 2.82
}, {
"number": 32,
"count": 364,
"percentage": 3.09
}, {
"number": 33,
"count": 333,
"percentage": 2.82
}],
"last_stats": [{
"number": 1,
"count": 138,
"percentage": 7.02
}, {
"number": 2,
"count": 111,
"percentage": 5.65
}, {
"number": 3,
"count": 121,
"percentage": 6.16
}, {
"number": 4,
"count": 124,
"percentage": 6.31
}, {
"number": 5,
"count": 112,
"percentage": 5.7
}, {
"number": 6,
"count": 128,
"percentage": 6.51
}, {
"number": 7,
"count": 132,
"percentage": 6.72
}, {
"number": 8,
"count": 121,
"percentage": 6.16
}, {
"number": 9,
"count": 110,
"percentage": 5.6
}, {
"number": 10,
"count": 112,
"percentage": 5.7
}, {
"number": 11,
"count": 118,
"percentage": 6.01
}, {
"number": 12,
"count": 130,
"percentage": 6.62
}, {
"number": 13,
"count": 106,
"percentage": 5.39
}, {
"number": 14,
"count": 124,
"percentage": 6.31
}, {
"number": 15,
"count": 138,
"percentage": 7.02
}, {
"number": 16,
"count": 140,
"percentage": 7.12
}],
"top_three_combinations": [{
"string": "22|26|32",
"count": 19,
"percentage": 0.97
}, {
"string": "9|15|22",
"count": 19,
"percentage": 0.97
}, {
"string": "9|10|19",
"count": 18,
"percentage": 0.92
}, {
"string": "1|19|29",
"count": 18,
"percentage": 0.92
}, {
"string": "5|7|20",
"count": 17,
"percentage": 0.87
}, {
"string": "9|15|26",
"count": 17,
"percentage": 0.87
}, {
"string": "2|22|33",
"count": 16,
"percentage": 0.81
}, {
"string": "6|14|22",
"count": 16,
"percentage": 0.81
}, {
"string": "10|19|29",
"count": 16,
"percentage": 0.81
}, {
"string": "13|18|20",
"count": 16,
"percentage": 0.81
}, {
"string": "4|9|33",
"count": 16,
"percentage": 0.81
}, {
"string": "4|6|33",
"count": 16,
"percentage": 0.81
}, {
"string": "14|31|33",
"count": 16,
"percentage": 0.81
}, {
"string": "7|10|22",
"count": 16,
"percentage": 0.81
}, {
"string": "8|18|20",
"count": 16,
"percentage": 0.81
}, {
"string": "2|9|15",
"count": 16,
"percentage": 0.81
}, {
"string": "1|7|22",
"count": 16,
"percentage": 0.81
}, {
"string": "17|19|31",
"count": 15,
"percentage": 0.76
}, {
"string": "12|21|27",
"count": 15,
"percentage": 0.76
}, {
"string": "9|28|33",
"count": 15,
"percentage": 0.76
}],
"top_four_combinations": [{
"string": "4|9|28|33",
"count": 6,
"percentage": 0.31
}, {
"string": "5|7|9|16",
"count": 6,
"percentage": 0.31
}, {
"string": "9|12|13|24",
"count": 6,
"percentage": 0.31
}, {
"string": "2|15|16|32",
"count": 6,
"percentage": 0.31
}, {
"string": "17|18|20|27",
"count": 5,
"percentage": 0.25
}, {
"string": "13|18|20|28",
"count": 5,
"percentage": 0.25
}, {
"string": "6|7|11|14",
"count": 5,
"percentage": 0.25
}, {
"string": "1|3|12|19",
"count": 5,
"percentage": 0.25
}, {
"string": "5|15|18|26",
"count": 5,
"percentage": 0.25
}, {
"string": "18|20|23|31",
"count": 5,
"percentage": 0.25
}, {
"string": "6|17|19|31",
"count": 5,
"percentage": 0.25
}, {
"string": "1|7|10|22",
"count": 5,
"percentage": 0.25
}, {
"string": "2|6|30|31",
"count": 5,
"percentage": 0.25
}, {
"string": "1|2|10|22",
"count": 5,
"percentage": 0.25
}, {
"string": "6|16|17|23",
"count": 5,
"percentage": 0.25
}, {
"string": "14|18|31|33",
"count": 5,
"percentage": 0.25
}, {
"string": "1|10|22|32",
"count": 5,
"percentage": 0.25
}, {
"string": "2|13|23|24",
"count": 5,
"percentage": 0.25
}, {
"string": "5|7|17|22",
"count": 5,
"percentage": 0.25
}, {
"string": "6|8|14|19",
"count": 5,
"percentage": 0.25
}],
"top_five_combinations": [{
"string": "1|7|15|16|20",
"count": 3,
"percentage": 0.15
}, {
"string": "3|6|19|25|29",
"count": 2,
"percentage": 0.1
}, {
"string": "3|6|8|14|19",
"count": 2,
"percentage": 0.1
}, {
"string": "7|22|24|26|31",
"count": 2,
"percentage": 0.1
}, {
"string": "5|10|17|20|22",
"count": 2,
"percentage": 0.1
}, {
"string": "2|6|12|30|31",
"count": 2,
"percentage": 0.1
}, {
"string": "9|11|24|25|28",
"count": 2,
"percentage": 0.1
}, {
"string": "14|23|24|26|29",
"count": 2,
"percentage": 0.1
}, {
"string": "10|12|15|17|23",
"count": 2,
"percentage": 0.1
}, {
"string": "12|15|17|23|32",
"count": 2,
"percentage": 0.1
}, {
"string": "2|16|19|27|30",
"count": 2,
"percentage": 0.1
}, {
"string": "2|12|19|27|30",
"count": 2,
"percentage": 0.1
}, {
"string": "1|18|26|31|33",
"count": 2,
"percentage": 0.1
}, {
"string": "2|9|13|17|28",
"count": 2,
"percentage": 0.1
}, {
"string": "2|7|8|10|31",
"count": 2,
"percentage": 0.1
}, {
"string": "3|5|11|28|33",
"count": 2,
"percentage": 0.1
}, {
"string": "5|11|18|30|31",
"count": 2,
"percentage": 0.1
}, {
"string": "12|15|16|21|29",
"count": 2,
"percentage": 0.1
}, {
"string": "1|4|6|22|30",
"count": 2,
"percentage": 0.1
}, {
"string": "2|3|10|28|30",
"count": 2,
"percentage": 0.1
}],
"last_one_number": 1,
"last_one_combinations": [{
"combination": "1,1",
"count": 9
}, {
"combination": "1,2",
"count": 10
}, {
"combination": "1,3",
"count": 12
}, {
"combination": "1,4",
"count": 6
}, {
"combination": "1,5",
"count": 7
}, {
"combination": "1,6",
"count": 8
}, {
"combination": "1,7",
"count": 6
}, {
"combination": "1,8",
"count": 8
}, {
"combination": "1,9",
"count": 12
}, {
"combination": "1,10",
"count": 11
}, {
"combination": "1,11",
"count": 9
}, {
"combination": "1,12",
"count": 10
}, {
"combination": "1,13",
"count": 3
}, {
"combination": "1,14",
"count": 4
}, {
"combination": "1,15",
"count": 11
}, {
"combination": "1,16",
"count": 11
}],
"last_two_numbers": [
15,
1],
"last_two_combinations": [{
"combination": "15,1,1",
"count": 1
}, {
"combination": "15,1,2",
"count": 1
}, {
"combination": "15,1,5",
"count": 1
}, {
"combination": "15,1,7",
"count": 1
}, {
"combination": "15,1,8",
"count": 1
}, {
"combination": "15,1,10",
"count": 1
}, {
"combination": "15,1,15",
"count": 1
}, {
"combination": "15,1,16",
"count": 1
}],
"last_three_numbers": [
10,
15,
1],
"last_three_combinations": [],
"summary": {
"total_rows": 1965,
"front_stats_total": 11790,
"last_stats_total": 1965,
"unique_three_combinations": 5450,
"unique_four_combinations": 20988,
"unique_five_combinations": 11521,
"front_most_frequent": {
"number": 6,
"count": 404
},
"last_most_frequent": {
"number": 16,
"count": 140
}
}
}
更新记录