Get Service Request Number
This API is used to retrieve the data of the number of request number, aggregated in 5-minute intervals.
Request
Request-Line
POST /cdn/v1.0/analytics/getRequestNumberByServiceName HTTP/1.1
Request Parameters
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceNames | Array | Mandatory | Array of service names, Maximum array size is 50. |
| startTime | String | Mandatory | Start time. Use the format yyyy-MM-ddTHH:mm:ssZ (e.g., 2024-01-15T14:30:00Z). |
| endTime | String | Mandatory | End time. Use the format yyyy-MM-ddTHH:mm:ssZ (e.g., 2024-01-15T14:40:00Z). |
Response
Response Body
| Property name | Type | Description |
|---|---|---|
| Array | Array of Service Request Number object. |
Object: Service Request Number
| Parameter | Type | Description |
|---|---|---|
| serviceName | String | Domain name of the website acceleration service. |
| reqNumbers | Array | List of request number with 5-minute intervals. Array of Request Number. |
Object: Request Number
| Parameter | Type | Description |
|---|---|---|
| timestamp | String | Timestamp in UTC, using the format yyyy-MM-ddTHH:mm:ssZ. |
| value | Long | Request number within a 5-minute intervals (e.g., 1342323). |
Status Codes, Error Codes and Error Messages
| Status Code | Error Code | Error Message |
|---|---|---|
| 400 | Request.BadRequest | Bad request. |
| 400 | ServiceNames.Invalid | The list of service names is required and must contain valid names. |
| 400 | ServiceNames.NumberInvalid | Service names limit exceeded. |
| 400 | Time.Invalid | StartTime or EndTime is required. |
| 400 | TimeRange.Exceeded | The time range between StartTime and EndTime cannot exceed 24 hours. |
| 400 | TimeRange.EndBeforeStart | EndTime must be later than StartTime. |
Examples
Get Service Request Number
Request
POST /cdn/v1.0/analytics/getRequestNumberByServiceName HTTP/1.1
{
"serviceNames": [
"api53-1121-auto-test.activity04.com",
"api53-core-c-alisg.tiktokv.com"
],
"startTime": "2025-11-06T00:00:00Z",
"endTime": "2025-11-06T02:46:00Z"
}
Successful Response Body
[
{
"serviceName": "api53-1121-auto-test.activity04.com",
"reqNumbers": [
{
"timestamp": "2025-11-06T01:25:00Z",
"value": 1669
},
{
"timestamp": "2025-11-06T01:30:00Z",
"value": 2090
},
{
"timestamp": "2025-11-06T01:35:00Z",
"value": 1687
},
{
"timestamp": "2025-11-06T02:45:00Z",
"value": 1
}
]
},
{
"serviceName": "api53-core-c-alisg.tiktokv.com",
"reqNumbers": [
{
"timestamp": "2025-11-06T00:00:00Z",
"value": 84
},
{
"timestamp": "2025-11-06T00:05:00Z",
"value": 85
},
{
"timestamp": "2025-11-06T00:10:00Z",
"value": 61
},
{
"timestamp": "2025-11-06T00:15:00Z",
"value": 69
},
{
"timestamp": "2025-11-06T00:20:00Z",
"value": 102
},
{
"timestamp": "2025-11-06T00:25:00Z",
"value": 74
},
{
"timestamp": "2025-11-06T00:30:00Z",
"value": 75
},
{
"timestamp": "2025-11-06T00:35:00Z",
"value": 52
},
{
"timestamp": "2025-11-06T00:40:00Z",
"value": 119
},
{
"timestamp": "2025-11-06T00:45:00Z",
"value": 121
},
{
"timestamp": "2025-11-06T00:50:00Z",
"value": 130
},
{
"timestamp": "2025-11-06T00:55:00Z",
"value": 103
},
{
"timestamp": "2025-11-06T01:00:00Z",
"value": 100
},
{
"timestamp": "2025-11-06T01:05:00Z",
"value": 102
},
{
"timestamp": "2025-11-06T01:10:00Z",
"value": 134
},
{
"timestamp": "2025-11-06T01:15:00Z",
"value": 119
},
{
"timestamp": "2025-11-06T01:20:00Z",
"value": 103
},
{
"timestamp": "2025-11-06T01:25:00Z",
"value": 84
},
{
"timestamp": "2025-11-06T01:30:00Z",
"value": 108
},
{
"timestamp": "2025-11-06T01:35:00Z",
"value": 93
},
{
"timestamp": "2025-11-06T01:40:00Z",
"value": 85
},
{
"timestamp": "2025-11-06T01:45:00Z",
"value": 65
},
{
"timestamp": "2025-11-06T01:50:00Z",
"value": 74
},
{
"timestamp": "2025-11-06T01:55:00Z",
"value": 96
},
{
"timestamp": "2025-11-06T02:00:00Z",
"value": 111
},
{
"timestamp": "2025-11-06T02:05:00Z",
"value": 185
},
{
"timestamp": "2025-11-06T02:10:00Z",
"value": 105
},
{
"timestamp": "2025-11-06T02:15:00Z",
"value": 117
},
{
"timestamp": "2025-11-06T02:20:00Z",
"value": 121
},
{
"timestamp": "2025-11-06T02:25:00Z",
"value": 190
},
{
"timestamp": "2025-11-06T02:30:00Z",
"value": 64
},
{
"timestamp": "2025-11-06T02:35:00Z",
"value": 88
},
{
"timestamp": "2025-11-06T02:40:00Z",
"value": 47
},
{
"timestamp": "2025-11-06T02:45:00Z",
"value": 53
}
]
}
]