> For the complete documentation index see https://domscan.net/llms.txt. Markdown versions of every docs page are available by appending .md to the page URL.

Source: https://domscan.net/zh/docs/coverage

# TLD 覆盖范围

通过 DomScan API，列出具有 RDAP 映射的 TLD 以及代表性端点的运行状态。这并非所有可查询 TLD 的完整列表；部分查询会使用传统 WHOIS 作为后备方式。

列出具有 RDAP 映射的 TLD 以及代表性端点的运行状态。这并非所有可查询 TLD 的完整列表；部分查询会使用传统 WHOIS 作为后备方式。

GET /v1/coverage

#### 查询参数

| 参数 | 类型 | 说明 |
| --- | --- | --- |
| live 可选 | boolean | 对最多 10 个代表性 RDAP 主机各探测一次（速度较慢）。 |

#### 响应字段

| 字段 | 类型 |
| --- | --- |
| `gtlds[]` | string[] |
| `cctlds[]` | string[] |
| `total_tlds` | integer |
| `all_tlds[]` | string[] |
| `rdap_health[]` | object[] |
| `rdap_health[]` | object |
| `rdap_health[].tld` | string |
| `rdap_health[].endpoint` | string |
| `rdap_health[].measurement_status` | string |
| `rdap_health[].ok` | boolean \| null |
| `rdap_health[].p50_ms` | number \| null |
| `rdap_health[].error_rate` | number \| null |
| `bootstrap_source` | string |
| `bootstrap_last_updated` | string |
| `meta` | object |
| `meta.served_by` | string |
| `meta.bootstrap_ttl_s` | integer |
| `meta.live` | boolean |

#### 响应示例

```json
{
  "gtlds": [
    "example"
  ],
  "cctlds": [
    "example"
  ],
  "total_tlds": 1,
  "all_tlds": [
    "com"
  ],
  "rdap_health": [
    {
      "tld": "com",
      "endpoint": "https://example.com",
      "measurement_status": "single_probe",
      "ok": true,
      "p50_ms": 1.5,
      "error_rate": 0
    }
  ],
  "bootstrap_source": "iana",
  "bootstrap_last_updated": "2026-08-27T12:00:00Z",
  "meta": {
    "served_by": "example",
    "bootstrap_ttl_s": 1,
    "live": false
  }
}
```
