搜索结果

×

搜索结果将在这里显示。

🙂 网站徽标

网站徽标
本接口用于生成域名年龄、建站时间时间徽标;返回svg图标可运用于网站底部运行信息以及站点信息等场景。

徽标接口

域名徽标:https://api.ku.cm/domain/age.php?domain=

运行徽标:https://api.ku.cm/badge/index.php?date=

请求方式

请求方式 返回格式
GET SVG

请求参数

参数 类型 是否必填 说明
domain string 需要查询的域名,例如 baidu.com
date string 建站时间,如:20090630

请求示例

https://api.ku.cm/domain/age.php?domain=xk.ee

JSON 返回示例


请求示例

https://api.ku.cm/badge/?date=20090630

JSON 返回示例

调用示例

浏览器调用

https://api.ku.cm/domain/age.php?domain=你的域名
https://api.ku.cm/badge/?date=你的建站时间

JavaScript 调用

fetch("https://api.ku.cm/whois/api.php?domain=你的域名") .then(res => res.json()) .then(data => console.log(data));

效果演示

网站徽标:
你的域名年龄 :
你的网站运行时间 :


Ps:你也可以链接到查询结果页面:https://api.ku.cm/domain/?nian=xk.ee