Skip to main content

Query the delivery domains' location traffic

Query the delivery domains' location traffic.

Request

Request-Line

GET /lls/v1.0/analytics/delivery/locationTraffic

Request Parameters

Query Parameters

ParameterTypeRequiredDescription
domainsArrayMandatoryArray of delivery domains.
startedTimestampMandatoryTimestamp of started time. Format yyyyMMddTHHmmssZ UTC time.
endedTimestampMandatoryTimestamp of ended time. Format yyyyMMddTHHmmssZ UTC time.
Interval between start time and end time cannot be longer than 24 hours.
intervalStringOptionalInterval of data spot, could be "minute", "day". For "minute", data spot is for 5 minutes, and for "day", data spot is one day. Default is "minute".

Response

Response Body

ParameterTypeRequiredDescription
--ArrayMandatoryArray of Location Traffic Summary Object

Object: Location Traffic Summary

ParameterTypeRequiredDescription
domainStringMandatoryDelivery domain name.
viewersLocationVolumesArrayMandatoryArray of Location Traffics Object

Object: Location Traffics

ParameterTypeRequiredDescription
timestampTimestampMandatoryExampling timestamp in UTC timezone.
locationVolumesArrayMandatoryArray of Location Traffic Object

Object: Location Traffic

ParameterTypeRequiredDescription
countryStringMandatorycountry code of the ingest node. refer to ISO 3166-1 Alpha-2.
valueNumberMandatoryTraffic value. Unit is byte.

Status Codes, Error Codes and Error Messages

Status CodeError CodeError Message
400LLS.Analytics.InvalidTimestampTimestamp is empty or invalid.

Examples

Query Delivery HTTP Status Code

Request

GET /lls/v1.0/analytics/delivery/locationTraffic?domains=live.example.com&domains=live2.example.com&started=20250518T173000Z&ended=20250518T174000Z

Successful Response Body

[
{
"domain": "live2.example.com",
"viewersLocationVolumes": [
{
"timestamp": "2025-05-18T17:35:00Z",
"locationVolumes": [
{
"country": "VN",
"value": 342152828
},
{
"country": "SG",
"value": 4458375
}
]
}
]
},
{
"domain": "www.example2.com",
"viewersLocationVolumes": [
{
"timestamp": "2025-05-18T17:40:00Z",
"locationVolumes": [
{
"country": "VN",
"value": 458754387
},
{
"country": "SG",
"value": 3487548
}
]
}
]
}
]

Best Practices

Rate Limiting

Rate Limits

Rate limiting is posed upon the API, please kindly check your API calls to ensure complying with the rate limit below:

  • 100 requests per minute
  • 1000 requests per hour