手机归属地查询-IP地址查询-身份证查询-域名备案查询--Api接口
2015-08-06 08:51
357 查看
使用这些接口是需要密钥的
公共密钥
appkey: 10003secret: d1149a30182aa2088ef645309ea193bf
生成后sign: b59bc3ef6191eb9f747dd4e83c99f2a4
当然我觉得私人密钥比较安全,注册密钥
手机号码归属地查询API
基本信息Url:http://api.k780.com/?app=phone.get&phone=13800138000&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json Method:GET/POST Format:json/xml
参数
公共参数 | |||
名称 | 类型 | 必须(是/否) | 说明 |
appkey | string | 是 | 使用API的唯一凭证. |
sign | string | 是 | md5后的32位密文,登陆用. |
format | {json|xml} | 是 | 返回的数据格式,默认为json |
应用参数 | |||
phone | string | 是 | 手机号码 例:13800138000 |
名称 | 类型 | 说明 |
success | string | 执行完成返回值 {0/1} |
phone | string | 查询的手机号码. |
area | string | 所属区号. |
att | string | 所在城市. |
ctype | string | 卡类型. |
par | string | 号码前缀. |
{ "success":"1", "result":{ "phone":"13800138000", "area":"010", "att":"北京市", "ctype":"北京移动全球通卡", "par":"1380013" } }
XML返回示例
<root> <success>1</success> <result> <phone>13800138000</phone> <area>010</area> <att>北京市</att> <ctype>北京移动全球通卡</ctype> <par>1380013</par> </result> </root>
参数IP地址归属地查询API
基本信息Url:http://api.k780.com/?app=ip.get&ip=8.8.8.8&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json Method:GET/POST Format:json/xml
公共参数 | |||
名称 | 类型 | 必须(是/否) | 说明 |
appkey | string | 是 | 使用API的唯一凭证. |
sign | string | 是 | md5后的32位密文,登陆用. |
format | {json|xml} | 是 | 返回的数据格式,默认为json |
应用参数 | |||
ip | string | 是 | ip地址 例8.8.8.8 |
名称 | 类型 | 说明 |
success | string | 执行完成返回值 {0/1} |
ip | string | 查询的IP地址. |
inet_aton | string | IP地址对应的数字地址. |
update | string | 最后更新时间. |
att | string | 归属地. |
att1 | string | 归属地一. |
{ "success":"1", "result":{ "ip":"8.8.8.8", "inet_aton":"134744072", "update":"2012-10-12 16:03:50", "att":"美国 Google免费DNS " } }XML返回示例
<root> <success>1</success> <result> <ip>8.8.8.8</ip> <inet_aton>134744072</inet_aton> <update>2012-10-12 16:03:50</update> <att>美国 Google免费DNS</att> </result> </root>
参数身份证信息查询API
基本信息Url:http://api.k780.com/?app=idcard.get&idcard=110101199001011118&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json Method:GET/POST Format:json/xml
公共参数 | |||
名称 | 类型 | 必须(是/否) | 说明 |
appkey | string | 是 | 使用API的唯一凭证. |
sign | string | 是 | md5后的32位密文,登陆用. |
format | {json|xml} | 是 | 返回的数据格式,默认为json |
应用参数 | |||
idcard | string | 是 | 身份证号码 例:110101199001011118 |
名称 | 类型 | 说明 |
success | string | 执行完成返回值 {0/1} |
idcard | string | 查询的身份证号码. |
att | string | 身份证所在地区. |
born | string | 出生年月. |
sex | string | 性别. |
{ "success":"1", "result":{ "idcard":"110101199001011118", "att":"北京市东城区", "born":"1990年01月01日", "sex":"男" } }XML返回示例
<root> <success>1</success> <result> <idcard>110101199001011118</idcard> <att>北京市东城区</att> <born>1990年01月01日</born> <sex>男</sex> </result> </root>
参数域名备案查询API
基本信息Url:http://api.k780.com/?app=domain.beian&domain=baidu.com&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json Method:GET/POST Format:json/xml
公共参数 | |||
名称 | 类型 | 必须(是/否) | 说明 |
appkey | string | 是 | 使用API的唯一凭证. |
sign | string | 是 | md5后的32位密文,登陆用. |
format | {json|xml} | 是 | 返回的数据格式,默认为json |
应用参数 | |||
domain | string | 是 | 要查询的域名 如:baidu.com |
名称 | 类型 | 说明 |
success | string | 执行完成返回值 {0/1} |
domain | string | 查询的域名 |
icpno | string | 工信部备案号 |
webhome | string | 首页地址 |
organizers | string | 主办单位 |
organizers_type | string | 主办单位性质 |
exadate | string | 审核时间 |
{ "success":"1", "result":{ "icpno":"京ICP证030173号", "sitenm":"百度", "webhome":"www.baidu.com", "organizers":"北京百度网讯科技有限公司", "organizers_type":"企业", "exadate":"2012-11-02 00:00:00" } }XML返回示例
<?xml version="1.0" ?> <root> <success>1</success> <result> <icpno>京ICP证030173号</icpno> <sitenm>百度</sitenm> <webhome>www.baidu.com</webhome> <organizers>北京百度网讯科技有限公司</organizers> <organizers_type>企业</organizers_type> <exadate>2012-11-02 00:00:00</exadate> </result> </root>
相关文章推荐
- hdoj 2717 Catch That Cow【bfs】
- UISwitch
- codeforces 327C. Magic Five
- Matlab关联m文件与m文件关联设置
- Codeforces Round #Pi (Div. 2) C. Geometric Progression
- 深入Python(3): and、or以及and-or
- 天合汽车安全技术(张家港)有限公司
- MongoDB集群——分片
- 软件工程师职场生存技能
- UVALive 4174
- ncb文件
- eclipse中安装freemarker插件及ftl使用freemarker编辑器
- 南邮 OJ 1510 和MM逛南邮
- codeforces 229D Towers DP
- 【网络测试】IPV4协议族
- linq to sql 增删改查
- CoreData基础
- UI04_TargetAction
- ZooKeeper的部署和测试
- 南邮 OJ 1508 Lithium去自习2:赶时间