Identity Authentication API

Provides identity document recognition and verification of identity, phone number, and bank card details.

Document Recognition

Provide a document image for the selected API.

Details Verification

Identity, phone number, and bank card verification each have different input requirements.

Business Results

Read result, description, and the corresponding recognition fields.

Start with Your First Request

Get a Key, copy the request, and view the corresponding JSON response below.

Request
export ACEDATACLOUD_API_KEY="YOUR_API_KEY"
curl --request POST "https://api.acedata.cloud/identity/idcard/check-1e" \
  --header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"image_url":"YOUR_ID_IMAGE_URL"}' 
JSON Response

The following is an excerpt of key fields from the existing API response. The task identifier, usage, and generated content depend on the values returned by your request.

{
  "sim": 99.76,
  "result": "Success",
  "description": "成功",
  "name": "身份证姓名",
  "id_num": "身份证号码"
}

Read the Results

Replace image_url with the URL of your test document image. Different verification operations require different inputs; use the returned result and description to determine the business result.

Keep trace_id for troubleshooting. Authentication and limit settings can be viewed in the console under application and Key management.

Usage and Pricing

Refer to the current API and service pages for request parameters and pricing. Keep trace_id when errors occur to help with troubleshooting.

Integrate the Identity Authentication API into Your Application

Continue to the complete guide for parameters, result fields, and error handling.