API Professional Service
ICP备案
ICP备案,我们致力于为用户提供专业的免费 API 数据接口服务
返回接口列表
GET
ICP备案
v1.0最后更新:2026-10-01 17:25:31
收费 · ¥0.01 / 次
调用次数:169
正常运行
响应速度:--
¥0.01 / 次
需要API密钥
ICP备案
【收费版】需在 URL 携带有效 apikey,按次计费调用 根据域名查询 ICP 备案信息。数据以工信部备案库实时查询为唯一依据(随缘ICP 域名实时备案查询 · 付费版),备案号、主办单位、单位性质、审核时间与工信部公示一致;不采用任何其它 ICP 查询接口或第三方缓存,避免拿过期备案号覆盖工信部口径(某域名第三方缓存仍报旧备案、而工信部已查不到时,本接口按未备案处理)。工信部查不到即判为未备案/注销;已注销域名通过注销公示名单识别,只提示注销、不回显原备案信息。输入裸域名或完整网址均可,子域名自动归到主域名。响应约 0.4 秒,命中缓存约 0.2 秒,命中结果缓存 6 小时。
总调用:169
今日:0
格式:application/json
接口地址
https://api.qsxfr.top/API/icp.php
请求地址
https://api.qsxfr.top/API/icp.php
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| domain | string | 必填 | 要查询的域名,如 qq.com。也可用 url 传完整网址(https://www.qq.com/a),会自动提取域名 |
| apikey | string | 必填 | 收费接口,需有效 apikey(¥0.01/次) |
domain *
string要查询的域名,如 qq.com。也可用 url 传完整网址(https://www.qq.com/a),会自动提取域名
apikey *
string收费接口,需有效 apikey(¥0.01/次)
在线测试
返回结果
点击「发送请求」按钮,查看接口返回结果
返回码说明
| 返回码 | 说明 |
|---|---|
| -1 | 无有效备案。data.status=none=未备案或已注销(工信部查不到即按此处理);revoked=已确认注销(只提示注销与注销时间,不回显原备案号与主体);unknown=数据源不可用(如余额不足/网络故障),可重试,detail 内有原因 |
-1
无有效备案。data.status=none=未备案或已注销(工信部查不到即按此处理);revoked=已确认注销(只提示注销与注销时间,不回显原备案号与主体);unknown=数据源不可用(如余额不足/网络故障),可重试,detail 内有原因
多语言调用示例
cURL
curl -X GET "https://api.qsxfr.top/API/icp.php?domain=your_domain&apikey=your_apikey"
Python
import requests
url = "https://api.qsxfr.top/API/icp.php"
params = {
'domain': 'your_domain',
'apikey': 'your_apikey'
}
response = requests.get(url, params=params)
print(response.text)
PHP
<?php
$url = "https://api.qsxfr.top/API/icp.php";
$params = [
'domain' => 'your_domain',
'apikey' => 'your_apikey'
];
$full_url = $url . (strpos($url, '?') === false ? '?' : '&') . http_build_query($params);
$result = file_get_contents($full_url);
echo $result;
?>
JavaScript
// 使用 fetch 发送GET请求
const url = new URL('https://api.qsxfr.top/API/icp.php');
url.searchParams.append('domain', 'your_domain');
url.searchParams.append('apikey', 'your_apikey');
fetch(url)
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error('请求失败:', err));
Java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ApiRequest {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newHttpClient();
String url = "https://api.qsxfr.top/API/icp.php";
// 拼接请求参数
url += "?" + "domain=your_domain&apikey=your_apikey";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create(url))
.GET()
.build();
client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
.thenApply(HttpResponse::body)
.thenAccept(System.out::println)
.join();
}
}
Go
package main
import (
"fmt"
"net/http"
"net/url"
"io/ioutil"
)
func main() {
baseUrl := "https://api.qsxfr.top/API/icp.php"
parsedUrl, _ := url.Parse(baseUrl)
q := parsedUrl.Query()
q.Set("domain", "your_domain");
q.Set("apikey", "your_apikey");
parsedUrl.RawQuery = q.Encode()
resp, err := http.Get(parsedUrl.String())
if err != nil {
fmt.Println("请求失败:", err)
return
}
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}
C#
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using var client = new HttpClient();
var url = new Uri("https://api.qsxfr.top/API/icp.php");
var queryParams = new Dictionary<string, string>();
queryParams.Add("domain", "your_domain");
queryParams.Add("apikey", "your_apikey");
var uriBuilder = new UriBuilder(url);
uriBuilder.Query = new FormUrlEncodedContent(queryParams).ReadAsStringAsync().Result;
url = uriBuilder.Uri;
var response = await client.GetAsync(url);
var result = await response.Content.ReadAsStringAsync();
Console.WriteLine(result);
}
}
Shell
# 使用curl发送GET请求
curl -X GET "https://api.qsxfr.top/API/icp.php?domain=your_domain&apikey=your_apikey"
API Key 配置说明
=== API Key 使用说明 ===
1. 在本站注册账号并登录
2. 进入用户中心 → API密钥 → 申请API Key
3. 管理员审核通过后获得 apikey
4. 调用接口时在URL参数中添加 apikey 参数
示例:
https://api.qsxfr.top/API/icp.php&apikey=你的apikey
注意事项:
- 请勿将 apikey 泄露给他人
- 如发现 apikey 泄露,请及时在用户中心申请删除
- 每个 apikey 有调用频率限制,请合理使用
词库
# Secluded/QRspeed/ClousX6
A:$访问 https://api.qsxfr.top/API/icp.php?domain=your_domain&apikey=your_apikey$
Kotlin
import okhttp3.FormBody
import okhttp3.OkHttpClient
import okhttp3.Request
fun main() {
val client = OkHttpClient()
val url = "https://api.qsxfr.top/API/icp.php"
// GET 请求拼接参数
val requestBuilder = Request.Builder().url(url + "?" + "domain=your_domain&apikey=your_apikey")
val request = requestBuilder.get().build()
client.newCall(request).execute().use { response ->
if (!response.isSuccessful) throw RuntimeException("请求失败: ${response.code}")
println(response.body?.string())
}
}