开发者参考

域名生命周期

通过 DomScan API,获取域名生命周期信息,包括注册日期、过期日期、域名年龄、距到期时间天数和当前生命周期阶段。从注册表返回 Fastly 风格的状态标志。

域名生命周期

获取域名生命周期信息,包括注册日期、过期日期、域名年龄、距到期时间天数和当前生命周期阶段。从注册表返回 Fastly 风格的状态标志。

GET/v1/lifecycle

查询参数

参数类型说明
domain 必需string要检查生命周期的域名(例如 "example.com")

响应示例

{
  "domain": "bbc.co.uk",
  "tld": "co.uk",
  "registered": "1997-08-01T00:00:00Z",
  "expires": "2026-08-01T00:00:00Z",
  "updated": "2024-08-01T00:00:00Z",
  "age_days": 10515,
  "expires_in_days": 474,
  "phase": "active",
  "status_flags": [
    "clientTransferProhibited",
    "serverTransferProhibited"
  ],
  "status": "clientTransferProhibited serverTransferProhibited",
  "events": [
    { "action": "registration", "date": "1997-08-01T00:00:00Z" },
    { "action": "expiration", "date": "2026-08-01T00:00:00Z" }
  ]
}

响应字段

字段类型
domainstring
tldstring
registeredstring
expiresstring
updatedstring
age_daysinteger
expires_in_daysinteger
phasestring
availability_reasonstring
registry_messagestring
status_flags[]string[]
statusstring
events[]object[]
events[]object
events[].actionstring
events[].datestring
metaobject
meta.served_bystring