This topic describes the API for two-element identity verification. This API validates a user's name and ID card number to ensure they are authentic and consistent.
API information
Before calling this API, read the integration process and activate the service.
API name: Id2MetaVerify
API description: Verifies a name and ID card number against an authoritative data source and returns the result.
QPS limit: This API has a dedicated QPS limit. For more information, see QPS Limit Description for Identity Verification APIs.
Endpoint:
Region
IPv4
IPv6
common
cloudauth.aliyuncs.com
cloudauth-dualstack.aliyuncs.com
China (Beijing)
cloudauth.cn-beijing.aliyuncs.com
cloudauth-dualstack.cn-beijing.aliyuncs.com
China (Shanghai)
cloudauth.cn-shanghai.aliyuncs.com
cloudauth-dualstack.cn-shanghai.aliyuncs.com
NoteTo reduce latency, select an endpoint that is geographically close to your servers.
You can also create a list of endpoints and poll them in rotation to improve availability.
ImportantThe Information Verification Service does not support a hard cap on call volume or automatic deactivation. To control costs and prevent high bills, configure spending alert rules after you integrate the service:
Configure spending alerts: Set a spending alert rule (Set high-spending alerts) to monitor your bills in real time.
Monitor data transfer plan balance: If you purchased a data transfer plan, also monitor its balance (Configure remaining quota alerts) to add resources or adjust your call policy promptly.
Request parameters
Parameter | Type | Required | Description | Example |
ParamType | String | Yes | The encryption method:
| normal |
IdentifyNum | String | Yes | The ID card number. Note Only ID numbers from Resident Identity Card and Residence Permit for Hong Kong, Macao, and Taiwan residents are supported.
|
|
UserName | String | Yes | The name.
|
|
Response parameters
Parameter | Type | Description | Example | |
RequestId | String | The request ID. | 130A2C10-B9EE-4D84-88E3-5384FF039795 | |
Message | String | The status message for the API call. Important This message provides a human-readable summary of the call status indicated by the "Code" parameter. | success | |
Code | String | The status code. A value of Important
| 200 | |
ResultObject | BizCode | String | The identity verification result:
| 1 |
SDK call examples
Before you integrate, read the integration process, activate the service, and get an AccessKey and configure the environment variables.
OpenAPI Explorer: Debug APIs online and dynamically generate SDK sample code.
Code sample project: Sample projects for calling the SDK in various programming languages, which can be used as a reference for integration.

