.AM 域名注册与信息官方服务
将 Registrar.AM WHOIS 数据集成到您自己的应用程序中。
用于接收结构化数据的简单 HTTP GET 请求。
GET https://whois.registrar.am/api.php?domain={domain}
| 参数 | 类型 | 描述 |
|---|---|---|
domain | string | 输入 .am 域名 (例如 google.am) |
{
"domain": "GOOGLE.AM",
"status": "success",
"registrar": "INTMEN LLC",
"expiry_date": "2026-12-31",
"nameservers": [
"ns1.google.com",
"ns2.google.com"
],
"raw_data": "..."
}
我们的服务器支持标准的 RFC 3912 WHOIS 协议。
# Querying via command line whois -h whois.registrar.am google.am
$json = file_get_contents("https://whois.registrar.am/api.php?domain=google.am");
$data = json_decode($json, true);
echo $data['registrar'];
import requests
response = requests.get("https://whois.registrar.am/api.php?domain=google.am")
print(response.json()['registrar'])
curl "https://whois.registrar.am/api.php?domain=google.am"