2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > 网易有道 IP地址 手机号码归属地和身份证 查询接口API

网易有道 IP地址 手机号码归属地和身份证 查询接口API

时间:2018-10-05 12:57:31

相关推荐

网易有道 IP地址 手机号码归属地和身份证 查询接口API

独角兽企业重金招聘Python工程师标准>>>

http://int./iplookup/iplookup.php?format=json

http://int./iplookup/iplookup.php?format=js

刚在天翼应用工厂里发现了好多有用的API,而且基本都是免费的,可谓是个大宝库。有兴趣的可以去看一下:/list

这里介绍网易有道在上面发布的三款免费API,毕竟是大公司,速度有保证,所以拿来与大家分享一下。当然其他的API也非常棒。

这三款接口都是以URL GET方式提交参数,以XML的形式返回查询结果

查询IP地址:

/smartresult-xml/search.s?type=ip&q=IP地址

举例:/smartresult-xml/search.s?type=ip&q=123.233.157.9

返回:

<?xml version="1.0" encoding="gbk"?>

<smartresult>

<product type="ip">

<ip>123.233.157.9</ip>

<location>山东省济南市 网通</location>

</product>

</smartresult>

查询手机号码归属地:

/smartresult-xml/search.s?type=mobile&q=手机号

举例:/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>

查询身份证信息:

/smartresult-xml/search.s?type=id&q=身份证号码

举例:/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>

域名检测接口:

.cn/cgi-bin/check.cgi?area_domain=

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。