All Products
Search
Document Center

ID Verification:ID_2META

Last Updated:Oct 23, 2026

This topic describes the API for two-factor ID verification.

API reference

  • API operation: Id2MetaVerifyIntl

  • Request methods: POST and GET

  • Protocol: HTTPS

  • Description: Verifies if a provided name and ID card number match.

  • QPS limit: Each API has its own QPS limit. For more information, see QPS limits of ID Verification server-side APIs.

  • Endpoints:

    Note
    • Benefits of internal network access: An internal network is a private communication network connecting Alibaba Cloud products within the same region. If your application server is deployed in the same region, use the internal endpoint to access the ID Verification service for enhanced security and stability.

    • Optimizing overseas access: Overseas network environments can be complex. Refer to Optimize server network latency to tune your integration and reduce network latency and request failures.

    China (Hong Kong)

    • Public endpoint: cloudauth-intl.cn-hongkong.aliyuncs.com

    • Internal endpoint: cloudauth-intl-vpc.cn-hongkong.aliyuncs.com

Online debugging and integration

Note

Before debugging and integration, read the Use OpenAPI document to learn how to call APIs on the OpenAPI platform and obtain the SDK.

Debug this API operation in OpenAPI Explorerand generate an SDK code sample.

Request parameters

Parameter

Type

Required

Description

Example

ProductCode

String

Yes

The product code. Set the value to ID_2META.

ID_2META

ParamType

String

Yes

The parameter type.

  • normal: The parameter values are in plaintext.

  • sm2: The parameter values are SM2-encrypted ciphertexts.

Note
  • For more information about SM2 encryption, see SM2 encryption.

  • Due to limitations from the authoritative data source, two-factor ID verification does not support MD5 encryption.

normal

IdentifyNum

String

Yes

The ID card number.

  • If ParamType is set to normal, provide the ID card number in plaintext.

  • If ParamType is set to sm2, provide the SM2-encrypted ciphertext of the ID card number.

Note

Due to limitations from the authoritative data source, only second-generation resident ID card numbers are supported.

  • plaintext: 429001********8211

  • SM2 ciphertext: MHsCIEPDt1ycBNSVgA2yKsMnvWGheiI+STWqJLmYWlZnklhnAiEAwq1bk5YVepHwqfMsd9ErlK71OrdXx8E+wfqbzyFCwoMEIM1QdrFeekvQh6fwK7sVXAsNePiNm7Eulqm/zahRosbKBBKgtyhm3SopJ3tO/wALKXQQW+g=

UserName

String

Yes

The name.

  • If ParamType is set to normal, provide the name in plaintext.

  • If ParamType is set to sm2, provide the SM2-encrypted ciphertext of the name.

  • plaintext: Zhang San

  • SM2 ciphertext: MG8CIQCxI0wNYbc0c2BRL+7+tSethTXfQC391ZFnszRRcvRZ9AIgekQYhgDtxaDuoRD4bde/5fnFdlUp4YoxlEnIFLLm2mQEILkctuy6Rw6lfAUxBtkpPoPVCJAeD5al/RX8JFUvTACEBAYAgLJjBe0=

Response parameters

Parameter

Type

Description

Example

RequestId

String

The request ID.

130A2C10-B9EE-4D84-88E3-5384FF039795

Code

String

The response code. For more information, see Server-side HTTP status codes.

Success

Message

String

A detailed description of the response code.

success

Result

Object

The object that contains the data returned for the request.

None

BizCode

String

The verification result:

  • 1: Match (billable)

  • 2: No match (billable)

  • 3: No record found (not billable)

1