文档库 最新最全的文档下载
当前位置:文档库 › 接口API

接口API

各种API查询接口(域名API,号码API,翻译接口API,天气API,加密解密API等)
实用号码归属地查询(IP 地址,手机号码):
默认格式: https://www.wendangku.net/doc/6517112294.html,/location/ (使用来访者的 IP 地址)
指定 IP 地址格式: https://www.wendangku.net/doc/6517112294.html,/location/?ip=202.108.33.32 (新浪的IP)
指定手机号码格式: https://www.wendangku.net/doc/6517112294.html,/location/?mobile=138******** (北京的号码)
可选参数: js:【js 输出】,默认为 0,可选值:1,0
备注: UTF-8 编码支持的格式:https://www.wendangku.net/doc/6517112294.html,/location/utf8/ 其它参数不变;

城市天气情况查询:
默认格式: https://www.wendangku.net/doc/6517112294.html,/weather/ (使用来访者的 IP 地址)
指定 IP 地址格式: https://www.wendangku.net/doc/6517112294.html,/weather/?ip=202.108.33.32 (新浪的IP)
指定手机号码格式: https://www.wendangku.net/doc/6517112294.html,/weather/?mobile=138********
指定城市名称格式: https://www.wendangku.net/doc/6517112294.html,/weather/?city=北京
可选参数: t:【预报天数】,默认为 3,可选值:1,2,3
js:【js 输出】,默认为 0,可选值:1,0
备注: UTF-8 编码支持的格式为:https://www.wendangku.net/doc/6517112294.html,/weather/utf8/ 其它参数不变;
其它服务
订阅免费的天气预报短信: https://www.wendangku.net/doc/6517112294.html,/weather/subscription.asp (订阅地址)
https://www.wendangku.net/doc/6517112294.html,/weather/unsubscription.asp (退订地址)

汉字简繁体转换、拼音提取:
查询汉字对应拼音串: https://www.wendangku.net/doc/6517112294.html,/chinese/?language=gb|py&content=汉字
查询汉字拼音首字母: https://www.wendangku.net/doc/6517112294.html,/chinese/?language=gb|py-szm&content=汉字
简体中文转繁体中文: https://www.wendangku.net/doc/6517112294.html,/chinese/?language=gb|big&content=简体
繁体中文转简体中文: https://www.wendangku.net/doc/6517112294.html,/chinese/?language=big|gb&content=繁體
半角转全角: https://www.wendangku.net/doc/6517112294.html,/chinese/?language=bj|qj&content=a (仅限字母和数字)
全角转半角: https://www.wendangku.net/doc/6517112294.html,/chinese/?language=qj|bj&content=a

常用加密、解密算法:
32 位 MD5 加密: https://www.wendangku.net/doc/6517112294.html,/security/?md5=123456 (单向,不可逆)
CFS 加密: https://www.wendangku.net/doc/6517112294.html,/security/?cfs=123456 (单向,不可逆)
base64 编码: https://www.wendangku.net/doc/6517112294.html,/security/?base64encode=123456
base64 解码: https://www.wendangku.net/doc/6517112294.html,/security/?base64decode=MTIzNDU2
异或后 base64 编码: https://www.wendangku.net/doc/6517112294.html,/security/?encode=123456&key=abc (之所以采用 base64 编码为了输出可见字符)
base64 解码后异或: https://www.wendangku.net/doc/6517112294.html,/security/?decode=U1FSVlZX&key=abc
QQ/Yahoo Messager 在线状态查询:
QQ 查询格式: https://www.wendangku.net/doc/6517112294.html,/messager/?qq=20865662 (多个号码使用半角逗号分隔)
Yahoo Messager 查询格式: https://www.wendangku.net/doc/6517112294.html,/messager/?yahoo=liqwei (不含有邮件域,例如:@https://www.wendangku.net/doc/6517112294.html,)
备注: 查询结果:1:在线,0:离线;
其它服务
QQ 客服面板生成器: https://www.wendangku.net/doc/6517112294.html,/qq/


域名 DNS 记录查询


A 记录查询格式: https://www.wendangku.net/doc/6517112294.html,/dns/?a=https://www.wendangku.net/doc/6517112294.html, (即对应的 IP 地址)
MX 记录查询格式: https://www.wendangku.net/doc/6517112294.html,/dns/?mx=https://www.wendangku.net/doc/6517112294.html, (即对应的邮件主机)
NS 记录查询格式: https://www.wendangku.net/doc/6517112294.html,/dns/?ns=https://www.wendangku.net/doc/6517112294.html, (即对应的解析服务器)

IP 地址或域名对应主机查询:
IP 格式: https://www.wendangku.net/doc/6517112294.html,/host/?ip=202.108.33.32 (新浪的IP)
域名格式: https://www.wendangku.net/doc/6517112294.html,/host/?domain=https://www.wendangku.net/doc/6517112294.html,

域名或 IP 地址的 WHOIS 记录查询:
查询域名格式: https://www.wendangku.net/doc/6517112294.html,/whois/?domain=https://www.wendangku.net/doc/6517112294.html, (仅主域名)
查询 IP 地址格式: https://www.wendangku.net/doc/6517112294.html,/whois/?ip=202.108.33.32 (新浪的IP)

域名或 IP 地址响应时间查询(Ping):
查询域名格式: https://www.wendangku.net/doc/6517112294.html,/ping/?domain=https://www.wendangku.net/doc/6517112294.html,
查询 IP 地址格式: https://www.wendangku.net/doc/6517112294.html,/ping/?ip=202.108.33.32 (新浪的IP)

域名 Alexa 排名及 Google PR 值查询:
Alexa 排名: https://www.wendangku.net/doc/6517112294.html,/alexa/?domain=https://www.wendangku.net/doc/6517112294.html,
Google PR 值: https://www.wendangku.net/doc/6517112294.html,/pr/?domain=https://www.wendangku.net/doc/6517112294.html,

Email 发送接口:
简单方式: https://www.wendangku.net/doc/6517112294.html,/email/?address=someone@https://www.wendangku.net/doc/6517112294.html,&subject=标题
带邮件正文: https://www.wendangku.net/doc/6517112294.html,/email/?address=someone@https://www.wendangku.net/doc/6517112294.html,&subject=标题&content=内容
可选参数: from:发件人/回复人地址,fromName:发件人名称


内容翻译接口:
格式: https://www.wendangku.net/doc/6517112294.html,/translate/?language=zh-CN|en&content=汽车
参数: language:【待翻译语言编码】|【目标语言编码】,支持语言编码见 Google 参考;
备注: 字符集:gb2312,支持 Get 和 Post 方式,不限内容长度,Google 翻译 API 有长度限制;
UTF-8 字符集支持的格式为:https://www.wendangku.net/doc/6517112294.html,/translate/utf8/ 其它参数不变;
浏览器状态报告发送接口:
格式: https://www.wendangku.net/doc/6517112294.html,/browser/?address=someone@https://www.wendangku.net/doc/6517112294.html,
参数: address: 报告接收人邮件地址;

相关文档
相关文档 最新文档