您的位置:首页 > 其它

IP定位,手机号码及身份证号码查询接口

2014-11-27 17:39 645 查看
IP定位,手机号码及身份证号码查询接口

一.IP定位接口( http://www.haoservice.com/docs/5)

基本信息:

URL:http://apis.haoservice.com/getLocationbyip         

支持格式:json

DEMO:http://apis.haoservice.com/getLocationbyip?ip=61.135.185.212&key=您申请的KEY

参数说明

 名称

 类型

 是否必须

 说明

 Ip

 string

 是

 IP地址

 key

 string

 是

  APP KEY

返回示例:

{"resultcode":0,

"reason":"查询成功",

"result":{

"IP":"61.135.185.212",

"address":"北京市中关村电子大厦",

"simpleaddress":"北京市",

"city":"北京市",

"city_code":"131",

"district":"海淀区",

"province":"北京市",

"street":"丹棱街",

"street_number":"",

"baidu_lng":116.39564504,

"baidu_lat":39.92998578,

"google_lng":116.39564504,

"google_lat":39.92998578}}

二.手机号码定位接口( http://www.haoservice.com/docs/49)

基本信息:

URL:http://mobilelocation.haoservice.com/getlocation       

支持格式:json

DEMO:http://mobilelocation.haoservice.com/getlocation?phone=130*******&key=您申请的APPKEY 

参数说明

名称

类型

必须

说明

key

string



应用APPKEY(应用详细页查询)

phone

string



手机号码

返回示例:

{    "error_code":0,   

 "reason":"Success",   

 "result":{       

 "phone":"133xxxxxxxx",    /*手机号码*/       

 "longitude":"116.303424", /*经度*/       

 "latitude":"39.97616",    /*纬度*/       

 "locDesc":"北京市海淀区 彩和坊路 附近;时代网络大厦往东北约178米",  /*位置描述*/      

  "time_string":"2014-09-13 16:53:33"       /*定位时间*/    }}

三.身份证号码查询接口( http://www.haoservice.com/docs/26 )

基本信息:

URL:http://apis.haoservice.com/idcard/s       

支持格式:json

DEMO:http://apis.haoservice.com/idcard/s?key=您申请的KEY&cardno=3**********

参数说明

名称

类型

必须

说明

cardno

string



 身份证号码

key

string



  APP KEY

 

返回示例:

{    "error_code":"0",   

 "reason":"成功的返回",   

"result":{    

"area":"浙江省温州市平阳县",     

"sex":"男",     

"birthday":"1989年03月08日"    }}

 

 

 

 

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐