ID card recognition and information verification API
POSThttps://api.acedata.cloud/identity/idcard/ocr

This API can be used to verify the authenticity and consistency of names and ID card numbers. You can provide the required verification information by entering the name and ID card number or by submitting a photo of the ID card's portrait side.

Request Headers

acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token

Request Body

image_urlstring
Link to the ID card images to be processed.
namestring
Name.
id_cardstring
ID card number. Either `name` (name) and `id_card` (ID card number) must be provided together, or `image_url` must be provided as one of the two.
encryptionarray
Sensitive data encryption information.

Response

Identity Authentication
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.