cURL
curl "https://api.ruseo.cn/api/domain3?hz=cc&page=1"
批量获取未被注册的3位短域名,支持cn/com/net/xyz/vip/cc/top/club/shop/tv/fun等后缀,每页50条,最多100页。
https://api.ruseo.cn/api/domain3
接口调用前需要确认的核心配置。
/api/domain3domain3必填参数必须传入,示例值可直接用于联调。
免费API不强制要求API Key,但如果您希望统计个人调用次数,请在请求时附加参数 key=您的API_KEY。
注册账号后即可获得API Key。
| 参数名 | 必填 | 类型 | 说明 | 示例值 |
|---|---|---|---|---|
key |
否 | string | 可选参数:携带此参数可统计您的个人调用次数。请注册账号获取API Key。 | YOUR_API_KEY |
hz |
是 | string | 域名后缀:cn/com/net/xyz/vip/cc/top/club/shop/tv/fun | cc |
page |
否 | number | 页码1-100,每页50条 | 1 |
优先使用示例地址测试请求参数是否正确。
https://api.ruseo.cn/api/domain3?hz=cc&page=1
curl "https://api.ruseo.cn/api/domain3?hz=cc&page=1"
$url = 'https://api.ruseo.cn/api/domain3?hz=cc&page=1';
$response = file_get_contents($url);
$data = json_decode($response, true);
fetch('https://api.ruseo.cn/api/domain3?hz=cc&page=1')
.then(res => res.json())
.then(data => console.log(data));
实际返回内容以接口脚本处理结果为准。
{
"code": 0,
"msg": "success",
"data": {
"route": "domain3",
"example": true
}
}
| 参数名 | 类型 | 说明 | 示例值 |
|---|---|---|---|
success |
boolean | 是否成功 | true |
tld |
string | 域名后缀 | cc |
page |
number | 当前页码 | 1 |
count |
number | 本页条数 | 50 |
domains |
array | 未注册域名列表 | |
点击左侧“发送请求”查看结果...