All Products
Search
Document Center

ID Verification:Server-side API reference

Last Updated:Oct 20, 2026

This document describes the server-side APIs for Alibaba Cloud ID Verification. Call these APIs to integrate the service.

The public endpoint for the service is cloudauth-intl.[region].aliyuncs.com. The following table lists the queries per second (QPS) limit for each API in each region.

Region

Region ID

QPS for a single API

Singapore

ap-southeast-1

10

China (Hong Kong)

cn-hongkong

10

Malaysia (Kuala Lumpur)

ap-southeast-3

3

Indonesia

ap-southeast-5

3

Note

Notes on QPS limits:

  • The QPS limit specified in this document applies to each API under an Alibaba Cloud account. This limit is shared by all Resource Access Management (RAM) users under the same account.

  • If your traffic exceeds the specified QPS limit, contact the product and business teams to request a scale-out.

  • The QPS limit for server-side APIs may vary by region. The limits specified in this document are authoritative.

  • Because of compliance requirements, the service in Malaysia and Indonesia uses a local deployment. Before you integrate the service, contact the product team to confirm the QPS limit.

ID verification

This service provides an end-to-end online solution for identity verification that combines key capabilities such as document verification, liveness detection, and risk assessment.

This service supports the following three integration modes:

  • App SDK mode: The user starts the identity verification process in the merchant's mobile app.

  • Web SDK mode: The user starts the identity verification process in a mobile or desktop browser.

  • WebView-embedded app mode: The user starts the identity verification process in the merchant's mobile app by using an embedded WebView.

App SDK, Web SDK, and WebView-embedded app

API name

Description

Documentation

OpenAPI portal

InitializeV2

Call this API before starting an eKYC PRO authentication flow to obtain a TransactionId that links the entire process.

For Web SDK and WebView-embedded app modes, the API also returns a TransactionUrl for page redirects or iframe embedding and a Protocol for customizing the language and UI styles.

ProductCode: eKYC_PRO

InitializeV2

InitializeV2

CheckResult

After you receive a callback notification, call this API to get the authentication status and results, which include the face verification result, document OCR result, and risk assessment result. The results are retained for 30 days.

CheckResult

CheckResult

Liveness detection

This service offers an online authentication solution that uses only face liveness detection to verify a user's identity, eliminating the need for document verification.

This service supports the following four integration modes:

  • App SDK mode: The user completes the liveness detection process in the merchant's mobile app.

  • Web SDK mode: The user completes the liveness detection process in a mobile or desktop browser.

  • WebView-embedded app mode: The user completes the liveness detection process in the merchant's mobile app by using an embedded WebView.

  • Server-side only (API) mode: The merchant directly submits pre-collected face images, and the server performs liveness detection without requiring client SDK integration.

App SDK, Web SDK, and WebView-embedded app

API name

Description

Documentation

OpenAPI portal

InitializeV2

Call this API before starting a liveness authentication flow to obtain a TransactionId that links the entire process.

For Web SDK and WebView-embedded app modes, the API also returns a TransactionUrl for page redirects or iframe embedding and a Protocol for customizing the language and UI styles.

ProductCode: FACE_LIVENESS_PRO

InitializeV2

InitializeV2

CheckResult

After receiving a callback notification, call this API to get the authentication status and results, including the liveness authentication result. The results are retained for 30 days.

CheckResult

CheckResult

Server-side only (API)

API name

Description

Documentation

OpenAPI portal

FaceLivenessV2

Directly submit a face image to perform liveness and deepfake detection using the Qwen-VL model, without requiring an SDK or interactive liveness challenges. This mode is suitable for scenarios with relatively low security requirements. For high-security scenarios, an SDK mode is recommended. ProductCode: FACE_LIVENESS_MIN_PRO.

FACE_LIVENESS_MIN_PRO

FaceLivenessV2

Face Identity Unique

Provides multiple liveness verification solutions, including face verification (1:1) and anti-duplication detection (1:N search) modes. This service is suitable for preventing duplicate registrations and identity fraud.

This service supports the following four integration modes:

  • App SDK mode: The user completes the liveness verification, face verification, or anti-duplication search process in the merchant's mobile app.

  • Web SDK mode: The user completes the liveness verification, face verification, or anti-duplication search process in a mobile or desktop browser.

  • WebView-embedded app mode: The user completes the liveness verification, face verification, or anti-duplication search process in the merchant's mobile app by using an embedded WebView.

  • Server-side only (API) mode: The merchant directly submits pre-collected face images, and the server performs liveness verification, face verification, or anti-duplication search without requiring client SDK integration.

App SDK, Web SDK, and WebView-embedded app

API name

Description

Documentation

OpenAPI portal

InitializeV2

Call this API before starting an authentication flow to obtain a TransactionId that links the entire process. You can configure the verification mode (VerifyModel: 0 for search mode, 1 for verification mode, or 2 for comprehensive mode).

For Web SDK integration, the API also returns a TransactionUrl for page redirects or iframe embedding and a Protocol for customizing the language and UI styles.

ProductCode: FACE_IDU

InitializeV2

InitializeV2

CheckResult

After receiving a callback notification, call this API to get the authentication status and results. The response includes the liveness authentication result, face comparison score (faceComparisonScore), duplicate face detection result (duplicateFace), and face database registration ID (faceRegistrationID). The authentication results are retained for 30 days.

CheckResult

CheckResult

Server-side only (API)

API name

Description

Documentation

OpenAPI portal

FaceVerifyIntl

Directly submit a face image to perform duplicate face detection and comparison without an SDK. This API supports 1:1 verification, 1:N search, and combined modes.

ProductCode: FACE_IDU_MIN

FACE_IDU_MIN

FaceVerifyIntl

Face database management

Face database management is not a standalone product but a management feature of the 1:N detection solution in liveness verification. It is used to manage face database data for 1:N searches.

API name

Description

Documentation

OpenAPI portal

AddFaceRecord

Registers a user's face image to a specified face database. The API accepts input as a Base64 string, URL, or local file stream, and returns the registration result and a face quality assessment.

Add a face image to a face database

AddFaceRecord

DeleteFaceRecordV2

Deletes a face image from a face database using the unique user identifier MerchantUserId. This identifier must match the one used during registration with the AddFaceRecord API. The API returns the deletion status.

Delete a face image from the face database

DeleteFaceRecordV2

Face comparison

This server-side only API compares the similarity of two face images and determines if they belong to the same person.

This service supports the following integration mode:

  • Server-side only (API) mode: The merchant directly submits two face images. The server performs the comparison and returns the result and a score. No client SDK integration is required.

Server-side only (API)

API name

Description

Documentation

OpenAPI portal

FaceCompareV2

Submits two face images to determine if they belong to the same person. The API returns a comparison result (Passed) and a similarity score (0–100). Supported input methods include Base64, URL, and local file stream.

FACE_COMPARE

FaceCompareV2

ID OCR

This service provides a document recognition solution based on the Qwen-VL model. It supports automatic detection and information extraction for various types of identity documents worldwide and is suitable for remote identity authentication and automatic data entry.

This service supports the following four integration modes:

  • App SDK mode: The user completes the ID OCR process in the merchant's mobile app.

  • Web SDK mode: The user completes the ID OCR process in a mobile or desktop browser.

  • WebView-embedded app mode: The user completes the ID OCR process in the merchant's mobile app by using an embedded WebView.

  • Server-side only (API) mode: The merchant directly submits pre-collected document images, and the server performs OCR without requiring client SDK integration.

App SDK, Web SDK, and WebView-embedded app

API name

Description

Documentation

OpenAPI portal

InitializeV2

Call this API before starting a document OCR authentication flow to obtain a TransactionId that links the entire process.

ProductCode: ID_OCR_PRO

InitializeV2

InitializeV2

CheckResult

After you receive a callback notification, call this API to get results from the server. The Qwen-VL model automatically recognizes the document type and extracts structured information. This API supports front and back side recognition and anti-spoofing detection.

CheckResult

CheckResult

Server-side only (API)

API name

Description

Documentation

OpenAPI portal

DocOcrMaxV2

Submits a document image. The Qwen-VL model automatically recognizes the document type and extracts structured information. This API supports front and back side recognition and anti-spoofing detection.

ProductCode: ID_OCR_MAX

ID_OCR_MAX

DocOcrMaxV2

ID NFC

This recognition solution uses a mobile phone's Near Field Communication (NFC) to decode document chips. It reads encrypted information from the document chip to help prevent attacks from synthetic document images and enhance business security. This feature currently supports global passports.

This service supports the following integration mode:

  • App SDK mode: The user completes the ID NFC process in the merchant's mobile app.

App SDK

API name

Description

Documentation

OpenAPI portal

InitializeV2

Call this API after the client obtains MetaInfo to retrieve a TransactionId and a Protocol. This feature currently supports only global passports (DocType=01000000) and allows you to configure the source of Machine-Readable Travel Document (MRTD) parameters (user input, OCR, or API submission).

ProductCode: ID_NFC

InitializeV2

InitializeV2

CheckResult

Retrieves the NFC reading result, which includes the complete structured information of the passport (such as name, document number, nationality, and expiration date) and a Base64-encoded face photo. The results are retained for 30 days.

CheckResult

CheckResult

Device Guard

Device Guard is a device risk identification solution for independent use or as an auxiliary risk control feature. It collects a device token through a client SDK and queries the device risk assessment result from the server to identify risks such as rooted or jailbroken devices, VPNs, emulators, virtual environments, and abnormal behavior.

This service supports the following two integration modes:

  • App SDK mode: No user-facing business process is involved.

  • Web SDK mode: No user-facing business process is involved.

App SDK and Web SDK

API name

Description

Documentation

OpenAPI portal

FaceGuardRisk

Submits the DeviceToken generated by the client SDK to retrieve the device risk score (GuardRiskScore, 0–100) and risk tags (RiskTags, such as ROOT, VPN, and emulator).

ProductCode: FACE_GUARD_PRO

Server-Side API

FaceGuardRisk

Credential tampering detection

This service provides risk detection to determine whether an image has been edited, screen-captured, recaptured, or tampered with.

This service supports the following integration mode:

  • Server-side only (API) mode: The merchant directly submits a credential image, and the server performs the risk assessment without requiring client SDK integration.

Server-side only (API)

API name

Description

Documentation

OpenAPI portal

CredentialVerifyIntl

Submits credential image information and returns an assessment of risks such as forgery, tampering, screen capture, and recapture.

ProductCode: ANTI_FAKE_CHECK

CREDENTIAL_DETECT

CredentialVerifyIntl

Credential recognition

Powered by the Qwen-VL model, this service recognizes and extracts key information from user-uploaded credential documents. It outputs structured data and offers an optional forgery detection feature.

This service supports the following integration mode:

  • Server-side only (API) mode: The merchant directly submits a credential image or PDF file. The server recognizes key information and assesses forgery risk without requiring client SDK integration.

Server-side only (API) - synchronous call

API name

Description

Documentation

OpenAPI portal

CredentialRecognitionIntlV2

Submits a credential image or PDF file to recognize key information and assess forgery risk.

ProductCode: CREDENTIAL_RECOGNITION

Synchronous call

CredentialRecognitionIntlV2

Server-side only (API) - asynchronous call

API name

Description

Documentation

OpenAPI portal

CredentialSubmitIntlV2

Submits a credential image or PDF file to start a recognition task and get a TransactionId.

ProductCode: CREDENTIAL_RECOGNITION

Submit a task

CredentialSubmitIntlV2

CredentialGetResultIntl

Asynchronously retrieves key information and forgery risk assessment results by using a TransactionId.

ProductCode: CREDENTIAL_RECOGNITION

Query the result

CredentialGetResultIntl

Indonesia authoritative source verification service

An independent identity information verification service for Indonesia. It also serves as a supplement to the eKYC_PRO solution for authoritative source verification scenarios. This service enhances user identity credibility by comparing the user-submitted national ID number, name, face image, and date of birth against an official database to verify consistency.

This service supports the following integration mode:

  • Server-side only (API) mode: The merchant directly submits identity information and a face image for server-side verification and comparison. No client SDK integration is required.

Server-side only (API)

API name

Description

Documentation

OpenAPI portal

IdnAuthorityVerifyIntl

Submits identity information and a face image to the server for authoritative source verification and returns the comparison result.

ProductCode: IDN_META

IDN_META

IdnAuthorityVerifyIntl

Query authentication logs

This utility API for self-service troubleshooting lets you query end-to-end logs with a TransactionId to analyze incomplete authentication processes and identify reasons for user drop-off. This API is free of charge. You can query logs only for solutions that involve client-side integration and not for server-side only (API) solutions.

API name

Description

Documentation

OpenAPI portal

CheckVerifyLog

Submits the TransactionId obtained from the InitializeV2 API call to retrieve end-to-end log records.

Query end-to-end authentication logs

CheckVerifyLog

Delete authentication records

This utility API deletes sensitive information and data from the authentication results of some product solutions.

API name

Description

Documentation

OpenAPI portal

DeleteVerifyResult

Submits the TransactionId obtained from the InitializeV2 API call, along with the scope of data to be deleted and related configurations, to delete the corresponding authentication record.

Delete authentication records

DeleteVerifyResult

Client-side connection keep-alive

This utility API maintains the client connection when the server calls ID Verification APIs infrequently.

API name

Description

Documentation

OpenAPI portal

KeepaliveIntl

This API has no input parameters and no specific business logic. When the server calls ID Verification APIs infrequently, the client can proactively call this API to keep the connection alive.

Client-side connection keep-alive

KeepaliveIntl