You need to enable JavaScript to run this app.
导航
获取分组的请求量实时统计
最近更新时间:2024.02.02 10:14:51首次发布时间:2024.02.02 10:14:51

API 说明

API 名称:QueryZoneStatisticsByGroup
API 域名:open.volcengineapi.com
API 描述:为指定的主域名获取按解析状态、解析类型或 VPC ID 分组的 DNS 查询请求量实时统计。私网解析 PrivateZone 会以一小时作为数据采样间隔。例如,您将时间范围设置为从 1671285600 到 1671289200,则私网解析 PrivateZone 会返回 1671285600 时刻和 1671289200 时刻的请求量实时统计。

请求方法

GET

请求参数

除了以下参数,您还需要在请求头中指定 请求方法 并包含 签名参数

参数名称
数据类型参数类型是否必选参数说明
ActionString查询参数API 的名称。该参数的取值是 QueryZoneStatisticsByGroup
VersionString查询参数表示 API 的版本。该参数的取值是 2022-06-01
ZIDInteger查询参数标识主域名的唯一 ID。您可以通过以下 API 获取:
VpcIdString查询参数与主域名关联的 VPC 的 ID,例如 vpc-xxxxx
NameString查询参数子域名,例如 abc.example.com
GroupString查询参数分组的标准。
  • 0(默认):不分组。
  • 2:解析状态。
  • 3:解析记录类型。
  • 5:关联的 VPC ID。
StartInteger查询参数开始时间。格式为 Unix 时间戳,单位为秒。例如 1639548697
如果您不设置该参数,开始时间默认为三天前。
EndInteger查询参数结束时间。格式为 Unix 时间戳,单位为秒。例如 1639548697
如果您不设置该参数,结束时间默认为当前时间。

响应正文

参数名称
数据类型
参数说明
ResponseMetadata
Object
响应的元数据。
Result
JSON Object
返回结果。

示例

请求示例

GET https://open.volcengineapi.com/?Action=QueryZoneStatisticsByGroup&Version=2022-06-01&ZID=89810&Group=2

响应示例

{
    "ResponseMetadata": {
        "RequestId": "2024012410510949444C5D465C586CA280",
        "Action": "QueryZoneStatisticsByGroup",
        "Version": "2022-06-01",
        "Service": "private_zone",
        "Region": "cn"
    },
    "Result": [
        {
            "GroupName": "NOERROR",
            "Times": [
                {
                    "Timestamp": 1705802400,
                    "GroupName": "NOERROR",
                    "Count": 447616
                },
                {
                    "Timestamp": 1705806000,
                    "GroupName": "NOERROR",
                    "Count": 3522252
                },
                {
                    "Timestamp": 1705809600,
                    "GroupName": "NOERROR",
                    "Count": 3559659
                },
                {
                    "Timestamp": 1705813200,
                    "GroupName": "NOERROR",
                    "Count": 3590555
                },
                {
                    "Timestamp": 1705816800,
                    "GroupName": "NOERROR",
                    "Count": 3220973
                },
                {
                    "Timestamp": 1705820400,
                    "GroupName": "NOERROR",
                    "Count": 3131774
                },
                {
                    "Timestamp": 1705824000,
                    "GroupName": "NOERROR",
                    "Count": 3155156
                },
                {
                    "Timestamp": 1705827600,
                    "GroupName": "NOERROR",
                    "Count": 3162278
                },
                {
                    "Timestamp": 1705831200,
                    "GroupName": "NOERROR",
                    "Count": 3161601
                },
                {
                    "Timestamp": 1705834800,
                    "GroupName": "NOERROR",
                    "Count": 3152487
                },
                {
                    "Timestamp": 1705838400,
                    "GroupName": "NOERROR",
                    "Count": 3161841
                },
                {
                    "Timestamp": 1705842000,
                    "GroupName": "NOERROR",
                    "Count": 3173351
                },
                {
                    "Timestamp": 1705845600,
                    "GroupName": "NOERROR",
                    "Count": 3211158
                },
                {
                    "Timestamp": 1705849200,
                    "GroupName": "NOERROR",
                    "Count": 3133563
                },
                {
                    "Timestamp": 1705852800,
                    "GroupName": "NOERROR",
                    "Count": 3000154
                },
                {
                    "Timestamp": 1705856400,
                    "GroupName": "NOERROR",
                    "Count": 2841843
                },
                {
                    "Timestamp": 1705860000,
                    "GroupName": "NOERROR",
                    "Count": 2763515
                },
                {
                    "Timestamp": 1705863600,
                    "GroupName": "NOERROR",
                    "Count": 2723584
                },
                {
                    "Timestamp": 1705867200,
                    "GroupName": "NOERROR",
                    "Count": 2693981
                },
                {
                    "Timestamp": 1705870800,
                    "GroupName": "NOERROR",
                    "Count": 2792343
                },
                {
                    "Timestamp": 1705874400,
                    "GroupName": "NOERROR",
                    "Count": 2891469
                },
                {
                    "Timestamp": 1705878000,
                    "GroupName": "NOERROR",
                    "Count": 3040161
                },
                {
                    "Timestamp": 1705881600,
                    "GroupName": "NOERROR",
                    "Count": 3191056
                },
                {
                    "Timestamp": 1705885200,
                    "GroupName": "NOERROR",
                    "Count": 3331832
                },
                {
                    "Timestamp": 1705888800,
                    "GroupName": "NOERROR",
                    "Count": 3558627
                },
                {
                    "Timestamp": 1705892400,
                    "GroupName": "NOERROR",
                    "Count": 3458984
                },
                {
                    "Timestamp": 1705896000,
                    "GroupName": "NOERROR",
                    "Count": 3567207
                },
                {
                    "Timestamp": 1705899600,
                    "GroupName": "NOERROR",
                    "Count": 3674541
                },
                {
                    "Timestamp": 1705903200,
                    "GroupName": "NOERROR",
                    "Count": 3385693
                },
                {
                    "Timestamp": 1705906800,
                    "GroupName": "NOERROR",
                    "Count": 3196575
                },
                {
                    "Timestamp": 1705910400,
                    "GroupName": "NOERROR",
                    "Count": 3250259
                },
                {
                    "Timestamp": 1705914000,
                    "GroupName": "NOERROR",
                    "Count": 3164745
                },
                {
                    "Timestamp": 1705917600,
                    "GroupName": "NOERROR",
                    "Count": 3206368
                },
                {
                    "Timestamp": 1705921200,
                    "GroupName": "NOERROR",
                    "Count": 3294777
                },
                {
                    "Timestamp": 1705924800,
                    "GroupName": "NOERROR",
                    "Count": 3224011
                },
                {
                    "Timestamp": 1705928400,
                    "GroupName": "NOERROR",
                    "Count": 3181990
                },
                {
                    "Timestamp": 1705932000,
                    "GroupName": "NOERROR",
                    "Count": 3240571
                },
                {
                    "Timestamp": 1705935600,
                    "GroupName": "NOERROR",
                    "Count": 3208174
                },
                {
                    "Timestamp": 1705939200,
                    "GroupName": "NOERROR",
                    "Count": 2979632
                },
                {
                    "Timestamp": 1705942800,
                    "GroupName": "NOERROR",
                    "Count": 2686050
                },
                {
                    "Timestamp": 1705946400,
                    "GroupName": "NOERROR",
                    "Count": 2722906
                },
                {
                    "Timestamp": 1705950000,
                    "GroupName": "NOERROR",
                    "Count": 2606039
                },
                {
                    "Timestamp": 1705953600,
                    "GroupName": "NOERROR",
                    "Count": 2621562
                },
                {
                    "Timestamp": 1705957200,
                    "GroupName": "NOERROR",
                    "Count": 2774432
                },
                {
                    "Timestamp": 1705960800,
                    "GroupName": "NOERROR",
                    "Count": 2941209
                },
                {
                    "Timestamp": 1705964400,
                    "GroupName": "NOERROR",
                    "Count": 3123811
                },
                {
                    "Timestamp": 1705968000,
                    "GroupName": "NOERROR",
                    "Count": 3276938
                },
                {
                    "Timestamp": 1705971600,
                    "GroupName": "NOERROR",
                    "Count": 3435391
                },
                {
                    "Timestamp": 1705975200,
                    "GroupName": "NOERROR",
                    "Count": 4253186
                },
                {
                    "Timestamp": 1705978800,
                    "GroupName": "NOERROR",
                    "Count": 3478318
                },
                {
                    "Timestamp": 1705982400,
                    "GroupName": "NOERROR",
                    "Count": 3028406
                },
                {
                    "Timestamp": 1705986000,
                    "GroupName": "NOERROR",
                    "Count": 2996035
                },
                {
                    "Timestamp": 1705989600,
                    "GroupName": "NOERROR",
                    "Count": 3073777
                },
                {
                    "Timestamp": 1705993200,
                    "GroupName": "NOERROR",
                    "Count": 3198414
                },
                {
                    "Timestamp": 1705996800,
                    "GroupName": "NOERROR",
                    "Count": 3184950
                },
                {
                    "Timestamp": 1706000400,
                    "GroupName": "NOERROR",
                    "Count": 3263244
                },
                {
                    "Timestamp": 1706004000,
                    "GroupName": "NOERROR",
                    "Count": 3233141
                },
                {
                    "Timestamp": 1706007600,
                    "GroupName": "NOERROR",
                    "Count": 3298778
                },
                {
                    "Timestamp": 1706011200,
                    "GroupName": "NOERROR",
                    "Count": 3323101
                },
                {
                    "Timestamp": 1706014800,
                    "GroupName": "NOERROR",
                    "Count": 3236845
                },
                {
                    "Timestamp": 1706018400,
                    "GroupName": "NOERROR",
                    "Count": 3184937
                },
                {
                    "Timestamp": 1706022000,
                    "GroupName": "NOERROR",
                    "Count": 3127697
                },
                {
                    "Timestamp": 1706025600,
                    "GroupName": "NOERROR",
                    "Count": 2932348
                },
                {
                    "Timestamp": 1706029200,
                    "GroupName": "NOERROR",
                    "Count": 2810512
                },
                {
                    "Timestamp": 1706032800,
                    "GroupName": "NOERROR",
                    "Count": 2681380
                },
                {
                    "Timestamp": 1706036400,
                    "GroupName": "NOERROR",
                    "Count": 2666113
                },
                {
                    "Timestamp": 1706040000,
                    "GroupName": "NOERROR",
                    "Count": 2650207
                },
                {
                    "Timestamp": 1706043600,
                    "GroupName": "NOERROR",
                    "Count": 2664504
                },
                {
                    "Timestamp": 1706047200,
                    "GroupName": "NOERROR",
                    "Count": 2807966
                },
                {
                    "Timestamp": 1706050800,
                    "GroupName": "NOERROR",
                    "Count": 2977749
                },
                {
                    "Timestamp": 1706054400,
                    "GroupName": "NOERROR",
                    "Count": 3116744
                },
                {
                    "Timestamp": 1706058000,
                    "GroupName": "NOERROR",
                    "Count": 3215571
                },
                {
                    "Timestamp": 1706061600,
                    "GroupName": "NOERROR",
                    "Count": 2927593
                }
            ]
        },
        {
            "GroupName": "NXDOMAIN",
            "Times": [
                {
                    "Timestamp": 1705802400,
                    "GroupName": "NXDOMAIN",
                    "Count": 9996
                },
                {
                    "Timestamp": 1705806000,
                    "GroupName": "NXDOMAIN",
                    "Count": 74643
                },
                {
                    "Timestamp": 1705809600,
                    "GroupName": "NXDOMAIN",
                    "Count": 75053
                },
                {
                    "Timestamp": 1705813200,
                    "GroupName": "NXDOMAIN",
                    "Count": 74022
                },
                {
                    "Timestamp": 1705816800,
                    "GroupName": "NXDOMAIN",
                    "Count": 74940
                },
                {
                    "Timestamp": 1705820400,
                    "GroupName": "NXDOMAIN",
                    "Count": 74554
                },
                {
                    "Timestamp": 1705824000,
                    "GroupName": "NXDOMAIN",
                    "Count": 75371
                },
                {
                    "Timestamp": 1705827600,
                    "GroupName": "NXDOMAIN",
                    "Count": 74469
                },
                {
                    "Timestamp": 1705831200,
                    "GroupName": "NXDOMAIN",
                    "Count": 74850
                },
                {
                    "Timestamp": 1705834800,
                    "GroupName": "NXDOMAIN",
                    "Count": 78579
                },
                {
                    "Timestamp": 1705838400,
                    "GroupName": "NXDOMAIN",
                    "Count": 77628
                },
                {
                    "Timestamp": 1705842000,
                    "GroupName": "NXDOMAIN",
                    "Count": 76630
                },
                {
                    "Timestamp": 1705845600,
                    "GroupName": "NXDOMAIN",
                    "Count": 75076
                },
                {
                    "Timestamp": 1705849200,
                    "GroupName": "NXDOMAIN",
                    "Count": 70327
                },
                {
                    "Timestamp": 1705852800,
                    "GroupName": "NXDOMAIN",
                    "Count": 70579
                },
                {
                    "Timestamp": 1705856400,
                    "GroupName": "NXDOMAIN",
                    "Count": 71036
                },
                {
                    "Timestamp": 1705860000,
                    "GroupName": "NXDOMAIN",
                    "Count": 77837
                },
                {
                    "Timestamp": 1705863600,
                    "GroupName": "NXDOMAIN",
                    "Count": 90725
                },
                {
                    "Timestamp": 1705867200,
                    "GroupName": "NXDOMAIN",
                    "Count": 88930
                },
                {
                    "Timestamp": 1705870800,
                    "GroupName": "NXDOMAIN",
                    "Count": 94464
                },
                {
                    "Timestamp": 1705874400,
                    "GroupName": "NXDOMAIN",
                    "Count": 96031
                },
                {
                    "Timestamp": 1705878000,
                    "GroupName": "NXDOMAIN",
                    "Count": 81471
                },
                {
                    "Timestamp": 1705881600,
                    "GroupName": "NXDOMAIN",
                    "Count": 73265
                },
                {
                    "Timestamp": 1705885200,
                    "GroupName": "NXDOMAIN",
                    "Count": 71297
                },
                {
                    "Timestamp": 1705888800,
                    "GroupName": "NXDOMAIN",
                    "Count": 71098
                },
                {
                    "Timestamp": 1705892400,
                    "GroupName": "NXDOMAIN",
                    "Count": 71977
                },
                {
                    "Timestamp": 1705896000,
                    "GroupName": "NXDOMAIN",
                    "Count": 71513
                },
                {
                    "Timestamp": 1705899600,
                    "GroupName": "NXDOMAIN",
                    "Count": 70368
                },
                {
                    "Timestamp": 1705903200,
                    "GroupName": "NXDOMAIN",
                    "Count": 71219
                },
                {
                    "Timestamp": 1705906800,
                    "GroupName": "NXDOMAIN",
                    "Count": 72728
                },
                {
                    "Timestamp": 1705910400,
                    "GroupName": "NXDOMAIN",
                    "Count": 77648
                },
                {
                    "Timestamp": 1705914000,
                    "GroupName": "NXDOMAIN",
                    "Count": 79076
                },
                {
                    "Timestamp": 1705917600,
                    "GroupName": "NXDOMAIN",
                    "Count": 79535
                },
                {
                    "Timestamp": 1705921200,
                    "GroupName": "NXDOMAIN",
                    "Count": 78877
                },
                {
                    "Timestamp": 1705924800,
                    "GroupName": "NXDOMAIN",
                    "Count": 80617
                },
                {
                    "Timestamp": 1705928400,
                    "GroupName": "NXDOMAIN",
                    "Count": 79383
                },
                {
                    "Timestamp": 1705932000,
                    "GroupName": "NXDOMAIN",
                    "Count": 80093
                },
                {
                    "Timestamp": 1705935600,
                    "GroupName": "NXDOMAIN",
                    "Count": 78690
                },
                {
                    "Timestamp": 1705939200,
                    "GroupName": "NXDOMAIN",
                    "Count": 74879
                },
                {
                    "Timestamp": 1705942800,
                    "GroupName": "NXDOMAIN",
                    "Count": 73671
                },
                {
                    "Timestamp": 1705946400,
                    "GroupName": "NXDOMAIN",
                    "Count": 76837
                },
                {
                    "Timestamp": 1705950000,
                    "GroupName": "NXDOMAIN",
                    "Count": 75405
                },
                {
                    "Timestamp": 1705953600,
                    "GroupName": "NXDOMAIN",
                    "Count": 74442
                },
                {
                    "Timestamp": 1705957200,
                    "GroupName": "NXDOMAIN",
                    "Count": 73566
                },
                {
                    "Timestamp": 1705960800,
                    "GroupName": "NXDOMAIN",
                    "Count": 74591
                },
                {
                    "Timestamp": 1705964400,
                    "GroupName": "NXDOMAIN",
                    "Count": 73860
                },
                {
                    "Timestamp": 1705968000,
                    "GroupName": "NXDOMAIN",
                    "Count": 76405
                },
                {
                    "Timestamp": 1705971600,
                    "GroupName": "NXDOMAIN",
                    "Count": 76630
                },
                {
                    "Timestamp": 1705975200,
                    "GroupName": "NXDOMAIN",
                    "Count": 77195
                },
                {
                    "Timestamp": 1705978800,
                    "GroupName": "NXDOMAIN",
                    "Count": 78186
                },
                {
                    "Timestamp": 1705982400,
                    "GroupName": "NXDOMAIN",
                    "Count": 90395
                },
                {
                    "Timestamp": 1705986000,
                    "GroupName": "NXDOMAIN",
                    "Count": 86148
                },
                {
                    "Timestamp": 1705989600,
                    "GroupName": "NXDOMAIN",
                    "Count": 83262
                },
                {
                    "Timestamp": 1705993200,
                    "GroupName": "NXDOMAIN",
                    "Count": 82696
                },
                {
                    "Timestamp": 1705996800,
                    "GroupName": "NXDOMAIN",
                    "Count": 84236
                },
                {
                    "Timestamp": 1706000400,
                    "GroupName": "NXDOMAIN",
                    "Count": 85245
                },
                {
                    "Timestamp": 1706004000,
                    "GroupName": "NXDOMAIN",
                    "Count": 85027
                },
                {
                    "Timestamp": 1706007600,
                    "GroupName": "NXDOMAIN",
                    "Count": 84535
                },
                {
                    "Timestamp": 1706011200,
                    "GroupName": "NXDOMAIN",
                    "Count": 85477
                },
                {
                    "Timestamp": 1706014800,
                    "GroupName": "NXDOMAIN",
                    "Count": 84206
                },
                {
                    "Timestamp": 1706018400,
                    "GroupName": "NXDOMAIN",
                    "Count": 84911
                },
                {
                    "Timestamp": 1706022000,
                    "GroupName": "NXDOMAIN",
                    "Count": 85134
                },
                {
                    "Timestamp": 1706025600,
                    "GroupName": "NXDOMAIN",
                    "Count": 94261
                },
                {
                    "Timestamp": 1706029200,
                    "GroupName": "NXDOMAIN",
                    "Count": 89863
                },
                {
                    "Timestamp": 1706032800,
                    "GroupName": "NXDOMAIN",
                    "Count": 99525
                },
                {
                    "Timestamp": 1706036400,
                    "GroupName": "NXDOMAIN",
                    "Count": 108396
                },
                {
                    "Timestamp": 1706040000,
                    "GroupName": "NXDOMAIN",
                    "Count": 101587
                },
                {
                    "Timestamp": 1706043600,
                    "GroupName": "NXDOMAIN",
                    "Count": 106783
                },
                {
                    "Timestamp": 1706047200,
                    "GroupName": "NXDOMAIN",
                    "Count": 111454
                },
                {
                    "Timestamp": 1706050800,
                    "GroupName": "NXDOMAIN",
                    "Count": 105294
                },
                {
                    "Timestamp": 1706054400,
                    "GroupName": "NXDOMAIN",
                    "Count": 98472
                },
                {
                    "Timestamp": 1706058000,
                    "GroupName": "NXDOMAIN",
                    "Count": 94418
                },
                {
                    "Timestamp": 1706061600,
                    "GroupName": "NXDOMAIN",
                    "Count": 79676
                }
            ]
        }
    ]
}