Ajax 号码、IP、身份证归属地查询

来源:互联网 发布:七灯军团戒指淘宝 编辑:程序博客网 时间:2024/04/30 15:53

淘宝网

API地址: http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=15850781443
参数:

  • tel:手机号码
  • 返回:JSON

拍拍

API地址: http://virtual.paipai.com/extinfo/GetMobileProductInfo?mobile=15850781443&amount=10000&callname=getPhoneNumInfoExtCallback
参数:

  • mobile:手机号码
  • callname:回调函数
  • amount:未知(必须)
  • 返回:JSON

财付通

API地址: http://life.tenpay.com/cgi-bin/mobile/MobileQueryAttribution.cgi?chgmobile=15850781443
参数:

  • chgmobile:手机号码
  • 返回:xml

百付宝

API地址: https://www.baifubao.com/callback?cmd=1059&callback=phone&phone=15850781443
参数:

  • phone:手机号码
  • callback:回调函数
  • cmd:未知(必须)
  • 返回:JSON

115

API地址: http://cz.115.com/?ct=index&ac=get_mobile_local&callback=jsonp1333962541001&mobile=15850781443
参数:

  • mobile:手机号码
  • callback:回调函数
  • 返回:JSON

有道

API地址: http://www.youdao.com/smartresult-xml/search.s?jsFlag=true&type=mobile&q=13985046628
参数:

  • type:mobile(表示查询手机号码)
  • q:手机号码
  • 返回:JSON


查询手机号码归属地:

http://www.yodao.com/smartresult-xml/search.s?type=mobile&q=手机号
举例:http://www.yodao.com/smartresult-xml/search.s?type=mobile&q=13892101111
返回:
<?xml version="1.0" encoding="gbk"?>
<smartresult>
<product type="mobile">
<phonenum>13892101111</phonenum>
<location>陕西 延安</location>
</product>
</smartresult>

查询身份证信息:
http://www.yodao.com/smartresult-xml/search.s?type=id&q=身份证号码
举例:http://www.youdao.com/smartresult-xml/search.s?type=id&q=370782196402121133
返回:
<?xml version="1.0" encoding="gbk"?>
<smartresult>
<product type="identitycard">
<code>370782196402121133</code>
<location>山东省潍坊市诸城市</location>
<birthday>19640212</birthday>
<gender>m</gender>
</product>

</smartresult>


淘宝IP查询

http://ip.taobao.com/instructions.php

原创粉丝点击