Application Process
To use the ID Card Recognition and Information Verification API, first go to the Ace Data Cloud Console to obtain your API Token for backup.
If you are not logged in or registered, you will be automatically redirected to the login page to invite you to register and log in. 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 free quota for free trial; when the quota is insufficient, you can recharge the general balance in the Console.
📘 Full documentation: ID Card Recognition and Information Verification API →
Basic Usage
First, understand the basic usage method, which is to input the ID card image URL to get the processed verification result. You need to simply pass animage_url field. Then you can fill in the corresponding content on the interface, as shown in the figure:

accept: the desired response format, here filled asapplication/json, i.e., JSON format.authorization: the API key for calling the API, which can be selected directly after application.
image_url: the URL of the ID card image to be processed.encryption: optional, sensitive field encryption parameter (if ciphertext needs to be sent).

result, authentication result code, charging details as below.- Charged result codes:
- 0: Name and ID card number match
- -1: Name and ID card number do not match
- Non-charged result codes:
- -2: Illegal ID card number (length, check digit, etc. incorrect)
- -3: Illegal name (length, format, etc. incorrect)
- -4: Document database service exception
- -5: No such ID card record in the document database
- -6: Authoritative comparison system upgrading, please try again later
- -7: Authentication attempts exceeded daily limit.
- Charged result codes:
description, the verification result of the name and ID card number here.name, the name information in the ID card; empty if no ID card image uploaded.id_card, the ID card number information; empty if no ID card image uploaded.sex, the gender information in the ID card; empty if no ID card image uploaded.nation, the ethnicity information in the ID card; empty if no ID card image uploaded.birth, the birth date information in the ID card; empty if no ID card image uploaded.address, the home address information in the ID card; empty if no ID card image uploaded.
Custom Information Verification
We also provide a way to verify without leaking ID card image information. You can only pass the namename and ID card number id_card to verify the authenticity and consistency of the name and ID card number. Below is the specific information filled in:

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.

