tencent cloud

eKYC

MobileNetworkTimeVerification

PDF
Focus Mode
Font Size
Last updated: 2026-04-24 16:15:34

1. API Description

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

This API is used to query the duration of a mobile number. Enter mobile number to query.

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: MobileNetworkTimeVerification.
Version Yes String Common Params. The value used for this API: 2018-03-01.
Region No String Common Params. This parameter is not required for this API.
Mobile Yes String Mobile number.
Encryption No Encryption Sensitive data encryption info.
-Users with encryption requirements for incoming information (mobile number) can use this parameter. For details, please click the left-side link.

3. Output Parameters

Parameter Name Type Description
Result String Verification result code. Billing is as follows.
-Result code for charges
Success.
-2: Mobile number does not exist.
-3: The mobile number exists, but unable to query the duration.

-Result code with no charge
-Invalid phone number format.
-4: Verification Center Service is busy.
-5: Authentication attempts exceeded the daily limit. Retry the next day.
Description String Business result description.
Range String Online duration interval.
-The format is [a,b), which means the online duration is longer than a months and shorter than b months.
-If b is +, it means no upper limit.
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 Verifying Mobile Number Duration Successful Example

Input Example

https://faceid.intl.tencentcloudapi.com/?Action=MobileNetworkTimeVerification
&Mobile=13800138000
&<Common request parameters>

Output Example

{
    "Response": {
        "Result": "0",
"Description": "Success"
        "Range": "[24,+)",
        "RequestId": "f893bfcf-167d-45df-99aa-60a23fe5809d"
    }
}

Example2 Mobile Number Duration Verification Exception Example

Input Example

https://faceid.intl.tencentcloudapi.com/?Action=MobileNetworkTimeVerification
&Mobile=16137688175
&<Common request parameters>

Output Example

{
    "Response": {
        "Result": "-2",
"Description": "Phone number not found"
        "Range": "",
        "RequestId": "3151331a-277e-4317-891d-0ef4e0afdd3e"
    }
}

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.DecryptSystemError Decryption failed.
FailedOperation.StsUnAuthErrError STS unauthorized.
FailedOperation.UnKnown Unknown internal error.
InvalidParameter Invalid parameter.
InvalidParameter.UnsupportEncryptField Unencrypted fields exist. Refer to the documentation to modify.
InvalidParameterValue Incorrect parameter value.
InvalidParameterValue.BizTokenExpired BizToken expired.
InvalidParameterValue.RuleIdNotExist RuleId does not exist. Go to the eKYC console to apply.
UnauthorizedOperation.Arrears The account is in arrears.
UnauthorizedOperation.ChargeStatusException The billing status is abnormal.
UnauthorizedOperation.NonAuthorize Identity verification has not been completed for the account.
UnauthorizedOperation.Nonactivated The service has not been activated.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback