Application Process
To use the Identity Information and Validity Verification API, first go to the Ace Data Cloud Console to obtain your API Token for future use.
If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in, and after completion, you will be automatically returned to the current page.
One API Token can call all services on the platform, no need to apply separately for each service. The first application will grant a free quota for a trial experience; when the quota is insufficient, you can recharge the general balance in the console.
📘 Complete documentation: Identity Information and Validity Verification API →
Basic Usage
First, understand the basic usage method, which is to input the ID card image link to obtain the processed verification result. You first need to simply pass aname field, and then we can fill in the corresponding content on the interface, as shown in the figure:

accept: the format of the response result you want to receive, here filled in asapplication/json, which is JSON format.authorization: the key to call the API, which can be directly selected after application.
name: Name.id_card: ID card number.image_url: Link to the face image that needs to be processed.validity_end: Expiration date of the ID card, format: YYYYMMDD, use “00000000” for long-term;validity_begin: Start date of the ID card validity, format: YYYYMMDD.encryption: Optional, sensitive field encryption parameter (if you need to send encrypted text).

result, the authentication result code, with the following charging situation.- Charged result codes:
- 0: Name and ID card number are consistent
- -1: Name and ID card number are inconsistent
- Non-charged result codes:
- -2: Illegal ID card number (length, check digit, etc. are incorrect)
- -3: Illegal name (length, format, etc. are incorrect)
- -4: Document database service exception
- -5: No record of this ID card in the document database
- -6: The authoritative comparison system is being upgraded, please try again later
- -7: The number of authentications exceeds the daily limit.
- Charged result codes:
description, the result of the verification of the name and ID card number here.
Error Handling
When calling the API, if an error occurs, the API will return the corresponding error code and message. For example:400 token_mismatched: Bad request, possibly due to missing or invalid parameters.400 api_not_implemented: Bad request, possibly due to missing or invalid parameters.401 invalid_token: Unauthorized, invalid or missing authorization token.429 too_many_requests: Too many requests, you have exceeded the rate limit.500 api_error: Internal server error, something went wrong on the server.

