热门搜索 : 电子合同   签署   产品
首页 > 文档中心 > 手机号码归属地 > API接口文档

1)请求地址

https://v.1dq.com/api/v4/mobileget

2)示范URL

https://v.1dq.com/api/v4/mobileget?key=您的key&Mobile=15618181818

3)请求参数

字段名称 类型 必填 字段说明 示范 备注
key string Y AppKey在我的数据页面 xxxxxx -
Mobile int Y 手机号码 15618181818 -

4)选填参数

字段名称 类型 必填 字段说明 示范 备注
trans_id string N 用户订单号,24 字符以内 2017201230 -
trans_date string N 用户订单时间,格式为YYmmddHHiiss 20160112122233 -
trans_remark string N 用户备注,原路返回 xxx -
account string N 是否返回账户信息,
如需返回剩余可用次数,请传递auto
如果账户是按次数扣除,则返回剩余次数
如账户是按金额扣除,则返回账户剩余金额
auto -
output string N 输出格式,默认JSON;可选项JSON/XML JSON -

5)返回参数

字段名称 类型 必填 字段说明 示范 备注
error_code int Y 状态码 - -
reason string Y 状态说明 - -
ordersign string Y 订单号 - -
result string Y 结果集 - -

6)返回JSON结果示例

{
  "error_code": 0,
  "reason": "Success",
  "result": {
    "company": "中国联通",     /*运营商*/
    "card": "中国联通 GSM",  /*卡类型*/
    "province": "河北",  /*归属地省*/
    "city": "石家庄",  /*归属地市*/
    "num": "1561212",  /*编号*/
    "citycode": "0311",  /*区号*/
    "areacode": "130100",  /*国标*/
    "provincecode": "130000",  /*国标*/
    "zip": "050000",  /*邮编*/
  },
  "ordersign": "2017111214540610155511"
}

现在注册,免费试用所有产品

免费体验

电话咨询

关注我们

微信公众号