Skip to main content

Regional Analysis

Regional summary information

Map data

POST /region/map

Request parameterTypeRequired parameterDescription
mpIdNumberYesMini program ID
baseonStringYesIndicator
countryIdNumberNoCountry ID
regionIdNumberNoProvince and region ID
carrierIdNumberNoCarrier ID
networkTypeStringNoNetwork type
regionTypeStringNoRegion type
timePeriodNumberNoParameter default is 30 minutes
endTimeStringNoEnd time format yyyy-MM-dd HH:mm For example (2018-02-07 17:39)

Return value

{
"unit": "",
"data": [
{
"uxScore": 89.0,
"locationId": 0, // Regional ID, different IDs depending on type
"name": "Unknown",
"type": "country" //Regional type
}
],
"type": "world", //Regional type
"map": "world"
}

Carrier list

POST /app/carrier-list

Request parameterTypeRequired parameterDescription
mpIdNumberYesMini program ID
pathStringNoPage routing path
operaNameStringNoPage routing path
timePeriodNumberNoParameter defaults to 30 minutes
endTimeStringNoEnd time Format yyyy-MM-dd HH:mm For example (2018-02-07 17:39)

Return result:

[
{
"value": "", //carrier name
"id": 1 //carrier Id
},
...
]

Network request list

POST /analysis/networkTypes

Request parameterTypeRequired parameterDescription
mpIdNumberYesMini program ID
pathStringNoPage routing path
operaNameStringNoPage routing path
timePeriodNumberNoParameter default is 30 minutes
endTimeStringNoEnd time Format yyyy-MM-dd HH:mm For example (2018-02-07 17:39)

Return result:

[
{
"value": "wifi",
"id": "wifi" // The return type is unified with WeChat in lowercase
},
...
]

Query the region list

POST /region/list

Request parameterTypeRequired parameterDescription
mpIdNumberYesMini program ID
orderByStringNoSorting indicator name, see the indicator name in the list
orderTypeStringNoasc: Ascending order, desc: Descending order If not transmitted, the default value is (in positive order)
countryIdNumberNoCountry ID
regionIdNumberNoProvince and region ID
carrierIdNumberNoCarrier ID
networkTypeStringNoNetwork type
timePeriodNumberNoThe parameter defaults to 30 minutes
endTimeStringNoEnd time format yyyy-MM-dd HH:mm For example (2018-02-07 17:39)

Return result:

[
{
"uxScore": 85,
"pv": 309,
"uv": 2.0,
"jsErrorRate": 18.12,
"netErrorRate": 10.59,
"responseTime": 1438.0,
"onReadyTime": 110.0,
"firstResponseTime": 226.0,
"name": "unknown",
"country": "unknown"
}
]

POST /region/chart/carrier-top

Description

Request ParametersTypeRequired ParametersDescription
mpIdNumberYesMini Program ID
baseonStringYesIndicator
countryIdNumberNoCountry ID
regionIdNumberNoProvince and Region ID
carrierIdNumberNoCarrier ID
networkTypeStringNoNetwork Type
timePeriodNumberNoParameter defaults to 30 minutes
endTimeStringNoEnd Time Format yyyy-MM-dd HH:mm For example (2018-02-07 17:39)

Return Result: Highcharts chart general return results

Index trend chart

See application overview

Performance score index trend chart

See application overview

Exception tracking

See the exception tracking module in the page details