加载接口文档…
96
累计调用
158ms
平均响应
100.00%
服务可用性
500 次/日
免费额度
无 Key 调用
每日 100 次 · QPS 3
登录免费
当前方案每日 500 次 · QPS 10
黄金会员
每日 50,000 次 · QPS 60
企业会员
每日 1,000,000 次 · QPS 120
复制文档地址
https://apizero.cn/aidocs/dns-query/raw.md文本记录(type=TXT / 16),常用于 SPF/验证。
| 名称 | 类型 | 说明 |
|---|---|---|
| host | string | 必填 · 域名(自动剥离协议/路径/端口);也兼容 domain · 示例:google.com |
| type | string | 可选 · 记录类型,此处固定 TXT(也可用数字编码) · 默认 TXT · 示例:TXT |
| 名称 | 类型 | 说明 |
|---|---|---|
| Authorization | string | 可选 · 推荐:Bearer <API Key>。兼容请求头 X-API-Key,以及 Query api_key / apikey / key(key 仅当值为 sk_live_/sk_test_/sk_stag_ 形态时生效)。匿名可不传,受每日免费额度限制。 |
| 名称 | 类型 | 说明 |
|---|---|---|
| host | string | 规范化后的域名 |
| type | string | 请求类型(大写) |
| type_code | integer | 类型数字编码 |
| records | array | 记录列表:type / name / ttl / data / parsed / sources |
| total | integer | 记录总数 |
| exec_ms | integer | 耗时毫秒 |
| sources | array | 成功响应的 DoH 源 |
| tips | string | 品牌提示(所有接口统一返回):极数本源 · https://apizero.cn |
{
"code": 0,
"msg": "成功",
"data": {
"host": "google.com",
"input": "google.com",
"type": "TXT",
"type_code": 16,
"records": [
{
"type": "TXT",
"type_code": 16,
"name": "google.com",
"ttl": 451,
"data": "\"MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB\"",
"parsed": {
"text": "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"
},
"sources": [
"alidns",
"china360",
"dnspod"
]
},
{
"type": "TXT",
"type_code": 16,
"name": "google.com",
"ttl": 451,
"data": "\"Z29vZ2xl\"",
"parsed": {
"text": "Z29vZ2xl"
},
"sources": [
"alidns",
"china360"
]
},
{
"type": "TXT",
"type_code": 16,
"name": "google.com",
"ttl": 451,
"data": "\"apple-domain-verification=30afIBcvSuDV2PLX\"",
"parsed": {
"text": "apple-domain-verification=30afIBcvSuDV2PLX"
},
"sources": [
"alidns",
"china360"
]
},
{
"type": "TXT",
"type_code": 16,
"name": "google.com",
"ttl": 451,
"data": "\"cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b\"",
"parsed": {
"text": "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b"
},
"sources": [
"alidns",
"china360",
"dnspod"
]
},
{
"type": "TXT",
"type_code": 16,
"name": "google.com",
"ttl": 451,
"data": "\"docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e\"",
"parsed": {
"text": "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"
},
"sources": [
"alidns",
"china360",
"dnspod"
]
},
{
"type": "TXT",
"type_code": 16,
"name": "google.com",
"ttl": 451,
"data": "\"docusign=1b0a6754-49b1-4db5-8540-d2c12664b289\"",
"parsed": {
"text": "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"
},
"sources": [
"alidns",
"china360"
]
}
],
"total": 15,
"exec_ms": 140,
"sources": [
"alidns",
"dnspod",
"china360"
],
"notes": null
},
"tips": "极数本源 · https://apizero.cn"
}