流量接口

第三方服务商
价格:价格详情请联系客服  
服务商: 聚合数据
  • 产品介绍
  • 接口文档
  • 服务商
  • 官方客服

全部流量套餐列表


接口地址:http://v.juhe.cn/flow/list
支持格式:json
请求方法:http get/post

请求参数说明:

 名称必填类型说明
 keystring在个人中心->我的数据,接口名称上方查看
请求示例:http://v.juhe.cn/flow/list?key=您申请的KEY

返回参数说明:

 名称类型说明
 error_codeint返回码
 reasonstring返回说明
 resultstring返回结果集
 citystring支持城市
 companystring运营商
 companytypestring运营商ID
 typestring支持类型1:全国 2:城市
 flowslist流量套餐列表
 idstring套餐ID
 pstring套餐流量名称
 vstring套餐流量值
 inpricestring价格
    
返回示例:

JSON返回示例:

{
    "reason": "success",
    "result": [
        {
            "city": "全国",
            "company": "中国联通",
            "companytype": "1",
            "name": "中国联通全国流量套餐",
            "type": "1",
            "flows": [
                {
                    "id": "1",
                    "p": "50M",
                    "v": "50",
                    "inprice": "5.70"
                },
                {
                    "id": "2",
                    "p": "200M",
                    "v": "200",
                    "inprice": "14.25"
                },
                {
                    "id": "34",
                    "p": "20M",
                    "v": "20",
                    "inprice": "2.85"
                },
                {
                    "id": "35",
                    "p": "100M",
                    "v": "100",
                    "inprice": "9.50"
                },
                {
                    "id": "36",
                    "p": "500M",
                    "v": "500",
                    "inprice": "28.50"
                }
            ]
        },
        {
            "city": "全国",
            "company": "中国移动",
            "companytype": "2",
            "name": "中国移动全国流量套餐",
            "type": "1",
            "flows": [
                {
                    "id": "3",
                    "p": "10M",
                    "v": "10",
                    "inprice": "2.25"
                },
                {
                    "id": "4",
                    "p": "30M",
                    "v": "30",
                    "inprice": "3.75"
                },
                {
                    "id": "5",
                    "p": "70M",
                    "v": "70",
                    "inprice": "7.50"
                },
                {
                    "id": "7",
                    "p": "500M",
                    "v": "500",
                    "inprice": "22.50"
                },
                {
                    "id": "26",
                    "p": "1G",
                    "v": "1024",
                    "inprice": "37.50"
                },
                {
                    "id": "27",
                    "p": "2048M",
                    "v": "2048",
                    "inprice": "52.50"
                }
            ]
        },
        {
            "city": "全国",
            "company": "中国电信",
            "companytype": "3",
            "name": "中国电信全国流量套餐",
            "type": "1",
            "flows": [
                {
                    "id": "8",
                    "p": "10M",
                    "v": "10",
                    "inprice": "1.80"
                },
                {
                    "id": "9",
                    "p": "30M",
                    "v": "30",
                    "inprice": "4.50"
                },
                {
                    "id": "10",
                    "p": "100M",
                    "v": "100",
                    "inprice": "9.00"
                },
                {
                    "id": "11",
                    "p": "200M",
                    "v": "200",
                    "inprice": "13.50"
                },
                {
                    "id": "12",
                    "p": "500M",
                    "v": "500",
                    "inprice": "27.00"
                },
                {
                    "id": "28",
                    "p": "1G",
                    "v": "1024",
                    "inprice": "45.00"
                },
                {
                    "id": "32",
                    "p": "50M",
                    "v": "50",
                    "inprice": "6.30"
                }
            ]
        }
    ],
    "error_code": 0
}

检测号码支持的流量套餐


接口地址:http://v.juhe.cn/flow/telcheck
支持格式:json
请求方法:http get/post

请求参数说明:

名称 必填 类型 说明
  phone string 要查询的手机号码
  key string 在个人中心->我的数据,接口名称上方查看
请求示例:http://v.juhe.cn/flow/telcheck?key=申请的KEY&phone=18913513535

返回参数说明:

名称 类型 说明
  error_code int 返回码
  reason string 返回说明
  result string 返回结果集
  city string 支持城市
  company string 运营商
  companytype string 运营商ID
  type string 支持类型1:全国 2:城市
  flows list 流量套餐列表
  id string 套餐ID
  p string 套餐流量名称
  v string 套餐流量值
  inprice string 价格
返回示例:

JSON返回示例:

{
    "reason": "success",
    "result": [
        {
            "city": "全国",
            "company": "中国移动",
            "companytype": "2",
            "name": "中国移动全国流量套餐",
            "type": "1",
            "flows": [
                {
                    "id": "3",
                    "p": "10M",
                    "v": "10",
                    "inprice": "2.90"
                },
                {
                    "id": "4",
                    "p": "30M",
                    "v": "30",
                    "inprice": "4.84"
                },
                {
                    "id": "5",
                    "p": "70M",
                    "v": "70",
                    "inprice": "9.50"
                },
                {
                    "id": "6",
                    "p": "150M",
                    "v": "150",
                    "inprice": "19.00"
                },
                {
                    "id": "7",
                    "p": "500M",
                    "v": "500",
                    "inprice": "29.04"
                },
                {
                    "id": "26",
                    "p": "1G",
                    "v": "1024",
                    "inprice": "48.40"
                },
                {
                    "id": "27",
                    "p": "2048M",
                    "v": "2048",
                    "inprice": "66.50"
                },
                {
                    "id": "33",
                    "p": "700M",
                    "v": "700",
                    "inprice": "38.72"
                }
            ]
        }
    ],
    "error_code": 0
}

提交流量充值


接口地址:http://v.juhe.cn/flow/recharge
支持格式:json
请求方法:http get/post

请求参数说明:

名称 必填 类型 说明
  phone string 需要充值流量的手机号码
  pid string 流量套餐ID
  orderid string 自定义订单号,8-32字母数字组合
  key string 在个人中心->我的数据,接口名称上方查看
  sign string 校验值,md5(OpenID+key+phone+pid+orderid),结果转为小写
请求示例:http://v.juhe.cn/flow/recharge?key=您申请的KEY&phone=18913513535&pid=8&orderid=a1122111d&sign=721a3f667b0eb63f54517971181e7392

返回参数说明:

名称 类型 说明
  error_code int 返回码
  reason string 返回说明
  result string 返回结果集
  ordercash string 订单金额
  cardname string 套餐名称
  sporder_id string 聚合订单号
  orderid string 用户自定义订单号
  phone string 充值手机号码
返回示例:

JSON返回示例:

{
    "reason": "提交充值成功",
    "result": {
        "ordercash": "2.10",
        "cardname": "中国电信省内流量套餐10M",
        "sporder_id": "143212457209780362",
        "orderid": "a1122111ds1",
        "phone": "18913513535"
    },
    "error_code": 0
}

订单状态查询


接口地址:http://v.juhe.cn/flow/ordersta
支持格式:json
请求方法:http get/post

请求参数说明:

名称 必填 类型 说明
  orderid string 商家订单号,8-32位字母数字组合,请填写已经成功提交的订单号
  key string 在个人中心->我的数据,接口名称上方查看
请求示例:无

返回参数说明:

名称 类型 说明
  error_code int 返回码
  reason string 返回说明
  result string 返回结果集
返回示例:

JSON返回示例:

{
    "reason": "查询成功",
    "result": {
        "uordercash": "1.860",
        "sporder_id": "146944199833560022",
        "game_state": "9"/*0:充值中 1:成功 9:失败*/
    },
    "error_code": 0
}

状态回调配置


接口地址:充值接口测试完毕,联系在线客服进行回调配置,格式参考:http://code.juhe.cn/docs/detail/id/1565
支持格式:无
请求方法:无

请求参数说明:

名称 必填 类型 说明
请求示例:无

返回参数说明:

名称 类型 说明
返回示例:无

聚合数据简介:

聚合数据是互联网专业数据科技服务商,致力于用数据科技赋能行业升级,驱动产业发展。主要向不同行业的企业客户提供大数据服务和系统的解决方案。经营范围是数据技术服务。

聚合数据作为天聚地合(苏州)数据股份有限公司旗下的互联网专业数据科技服务商,于2018年上线,总部位于苏州,在北京、杭州均设有数据处理中心。聚合数据主要提供两种核心服务:第一、数据技术服务。依托聚合云数据平台,以API数据接口的形式,向下游客户提供数据查询、信息验证和充值接口等服务;第二、数据应用。以大数据清洗、分析、挖掘等技术为主要技术手段,为企业客户提供数据应用系统或定制化的数据分析成果,帮助企业进行经营决策。目前可以为金融科技、汽车后市场、智慧城市等领域提供大数据解决方案。

进制数据介绍:

企业和程序员可以通过进制数据封装的API或SDK极速接入其他数据资源,同时进制数据提供数据交易等服务。通过进制数据,不仅开发成本极大降低,而且可以获得其他丰富的数据服务:数据交易,数据分析,区块链Token管理等服务。

 

 

联系我们:

电话:173-6457-5198

QQ① 群:792473404

客服 QQ:1643296538

微信客服:binstds

                                      扫描二维码添加客服微信

 

 

工作时间

 周一至周五 9:00 - 21:00(其中周三为 9:00 - 18:00) 

周六 9:00 - 12:00(节假日除外) 

 

 

进制数据团队

 

 

2020.01.01

 

 

 

 

 


其他服务商
热门API推荐
相关API推荐