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 endpoint.
Detail Verification
Identity, phone number, and bank card verification each have different input requirements.
Verification Results
Read result, description, and the corresponding recognized fields.
Start with Your First Request
Get a Key, copy the request, and see the corresponding JSON response below.
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"}' Below is an excerpt of key fields from the current API response. Task identifiers, 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 outcome.
Keep the trace_id for troubleshooting. Authentication and limit settings are available under application and Key management in the console.
Requests and Costs
Refer to the current API and service page for request parameters and pricing. If an error occurs, keep the trace_id for troubleshooting.
Integrate the Identity Authentication API into Your Application
See the full guide for parameters, result fields, and error handling.
