API Details
icp备案查询
/** * 免费ICP备案查询API * * 支持的API来源(自动切换): * 1. beiancx.com - 无需密钥,稳定性好 * 2. apihz.cn - 需注册获取ID和KEY(公共KEY有限流) * * 调用方式: * GET /icp.php?domain=xxx.com * GET /icp.php?domain=xxx.com&source=beiancx (指定源) * GET /icp.php?domain=xxx.com&source=apihz&id=xxx&key=xxx * * 返回格式:JSON */
状态
正常
GET
总调用
21
添加时间
2026-05-09
最后更新
2026-06-05
计费信息
Pricing
免费
此接口完全免费
无需账户余额即可调用,仅需有效密钥
请求地址
Endpoint正式地址
https://www.tiax.pw/API/icp.php
示例地址
https://www.tiax.pw/API/icp.php?domain=网站域名&source=指定源例如beiancx/apihz(可选也可以都不填)&apikey=你的key
请求参数
Parameters此接口无需请求参数
在线测试
Tester返回结果
点击"立即测试"查看返回结果...
调用示例
Code Examples<?php
$url = 'https://www.tiax.pw/API/icp.php';
$params = [
];
$url .= '?' . http_build_query($params);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>import requests
url = "https://www.tiax.pw/API/icp.php"
params = {
}
response = requests.get(url, params=params)
print(response.text)const url = new URL('https://www.tiax.pw/API/icp.php');
const params = {
};
Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
fetch(url)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));curl -X GET "https://www.tiax.pw/API/icp.php?"状态码说明
Status Codes| 200 | 请求成功 |
| 403 | 拒绝访问 (缺少密钥或权限不足) |
| 404 | 资源未找到 (检查 URL) |
| 429 | 请求过于频繁 (触发限流) |
| 500 | 服务器内部错误 |