加载接口文档…
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=MX / 15)。示例含 priority / exchange。
| 名称 | 类型 | 说明 |
|---|---|---|
| host | string | 必填 · 域名(自动剥离协议/路径/端口);也兼容 domain · 示例:gmail.com |
| type | string | 可选 · 记录类型,此处固定 MX(也可用数字编码) · 默认 MX · 示例:MX |
| 名称 | 类型 | 说明 |
|---|---|---|
| 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": "gmail.com",
"input": "gmail.com",
"type": "MX",
"type_code": 15,
"records": [
{
"type": "MX",
"type_code": 15,
"name": "gmail.com",
"ttl": 3600,
"data": "10 alt1.gmail-smtp-in.l.google.com.",
"parsed": {
"priority": 10,
"exchange": "alt1.gmail-smtp-in.l.google.com"
},
"sources": [
"alidns",
"china360",
"dnspod"
]
},
{
"type": "MX",
"type_code": 15,
"name": "gmail.com",
"ttl": 3600,
"data": "20 alt2.gmail-smtp-in.l.google.com.",
"parsed": {
"priority": 20,
"exchange": "alt2.gmail-smtp-in.l.google.com"
},
"sources": [
"alidns",
"china360",
"dnspod"
]
},
{
"type": "MX",
"type_code": 15,
"name": "gmail.com",
"ttl": 3600,
"data": "30 alt3.gmail-smtp-in.l.google.com.",
"parsed": {
"priority": 30,
"exchange": "alt3.gmail-smtp-in.l.google.com"
},
"sources": [
"alidns",
"china360",
"dnspod"
]
},
{
"type": "MX",
"type_code": 15,
"name": "gmail.com",
"ttl": 3600,
"data": "40 alt4.gmail-smtp-in.l.google.com.",
"parsed": {
"priority": 40,
"exchange": "alt4.gmail-smtp-in.l.google.com"
},
"sources": [
"alidns",
"china360",
"dnspod"
]
},
{
"type": "MX",
"type_code": 15,
"name": "gmail.com",
"ttl": 3600,
"data": "5 gmail-smtp-in.l.google.com.",
"parsed": {
"priority": 5,
"exchange": "gmail-smtp-in.l.google.com"
},
"sources": [
"alidns",
"china360",
"dnspod"
]
}
],
"total": 5,
"exec_ms": 311,
"sources": [
"alidns",
"dnspod",
"china360"
],
"notes": null
},
"tips": "极数本源 · https://apizero.cn"
}