tencent cloud

DescribeMNPMAUMetricCard
Last updated:2026-01-16 14:49:57
DescribeMNPMAUMetricCard
Last updated: 2026-01-16 14:49:57

1. API Description

Domain name for API request: tcsas.intl.tencentcloudapi.com.

This API is used to retrieve MAU comparison data for a mini program between two months.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeMNPMAUMetricCard.
Version Yes String Common Params. The value used for this API: 2025-01-06.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
SourceMonth Yes Integer Start time in YYYYMMDD format
DataType Yes Integer Type: 0 Non-production data, 1 Production data
PlatformId Yes String Tenant ID
TargetMonth Yes Integer End time in YYYYMMDD format
ApplicationId Yes String Superapp ID starting with App
MNPId No String Mini program appid, required. When provided, the query is performed based on the mini program.
MNPTeamId No Integer Mini program team ID, required. When provided, the query is performed based on the mini program team.

3. Output Parameters

Parameter Name Type Description
Data MAUIndicatorCard Data display at the top of the page
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 demo

Input Example

POST / HTTP/1.1
Host: tcsas.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeMNPMAUMetricCard
<Common request parameters>

{
    "SourceMonth": 202511,
    "MNPId": "mp1vd81ntbitj9k2",
    "DataType": 1,
    "MNPTeamId": 9432130281,
    "PlatformId": "T04398WY9481762VZTT",
    "TargetMonth": 202512,
    "ApplicationId": "ApplicationId"
}

Output Example

{
    "Response": {
        "Data": {
            "ComparisonRatio": "-85.19%",
            "ComparisonResult": 2,
            "FlushTime": 1764593542,
            "SourceMAUNum": 27,
            "TargetMAUNum": 4
        },
        "RequestId": "4aa0dad4-a5df-4ec2-8417-d077eedc223b"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation.PackageAlreadyExpired FailedOperation.PackageAlreadyExpired
InvalidParameter Incorrect parameter.
InvalidParameterValue Invalid parameter value.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback