China National ID and Passport Verification: What an API Can Check
Didit verifies identity documents by document capture at $0.15 per check, with documented coverage of 220+ countries and 14,000+ document types.

Contents
In this guide
Jump to the part you need.
This page is for teams that need to verify a Chinese resident ID card, a Chinese passport or a mainland bank card. Didit verifies identity documents by document capture at $0.15 per check, and we document broad coverage of 220+ countries and 14,000+ document types. The caveat: confirm the specific Chinese document type in the current Didit catalog before you promise support, and the documentation we have names no China register source.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Check | What it proves | Didit line | Price |
|---|---|---|---|
| Chinese resident ID card, document capture | The card was captured, read and checked for tampering, when the type is in the current catalog. Assurance tier: documentary. | ID Verification | $0.15 in a workflow, $0.20 through the standalone ID Verification API |
| Chinese passport, document capture | Same, with MRZ and barcode decoding. | ID Verification | $0.15, plus $0.15 if you add NFC chip reading |
| Full check on a Chinese document | Identity, passive liveness, face match 1:1 and device and IP analysis. | Full ID check (KYC) | $0.33 per check |
| Non-document lookup against a PRC register | The typed details matched a record the named source holds. Assurance tier: data_match. | Non-document verification | Not published for China. We do not quote it. |
| Mainland bank account ownership | The name on the account matches the name an earlier step verified. | Bank account check | Coverage and price per country on the Bank Verification pricing list |
| Sanctions, PEP and adverse media on the Chinese name | Whether the name matches a screening list. | AML Screening | $0.20 per check |
Start free in the sandbox at https://business.didit.me/, with no sales call and no procurement step. For developers, connect Didit to an AI assistant through the Didit MCP server. Every line price sits on didit.me/pricing.
Two kinds of statement appear below and they carry different weight. Documented Didit behaviour is stable: the three verification methods, the fields a document check returns, its failure codes, and the list prices from the live price feed. Country coverage is not stable: which document types and which lookup sources are live changes, so confirm the Chinese document type in the current Didit catalog before you promise it to a customer.
What China requires you to check, and what it means for your flow
The 国家网络身份认证公共服务管理办法 is the regulation to read first. Six ministries published it jointly and it has been in force since July 15, 2025. It has 16 articles and defines 网号 and 网证, how they are applied for, where they apply, who is accountable for platform data and personal information, and the special rules for minors. Its stated legal basis is Article 24 of the Cybersecurity Law, Article 62 of the Personal Information Protection Law and Article 33 of the Anti-Telecom and Online Fraud Law (公安部, policy interpretation of the 国家网络身份认证公共服务管理办法, read November 26, 2026). Pilot use already covers internet platforms, government services, education exams, culture and tourism, health, postal delivery and transport.
One article changes your design, not only your policy. The platform collects on a minimum necessary basis, and where a user registers with 网号 or 网证 the internet platform may not also demand plaintext identity information unless a law or administrative regulation requires it or the user agrees (公安部, policy interpretation of the 国家网络身份认证公共服务管理办法, read November 26, 2026). Implementation decision: if a user can present a state credential, do not stack an ID number, a selfie and an address request on top of it without a documented legal reason.
The Anti-Telecom and Online Fraud Law puts the bank and phone mechanisms on institutions rather than on you. Article 10 requires a phone-card count verification mechanism and a risk information sharing mechanism. Article 16 requires the People's Bank of China and the banking regulator to organise clearing institutions into an account-opening count verification mechanism, so a customer can query the accounts held in their name. Article 17 covers a shared query system for corporate account opening and Article 18 a unified anti-money-laundering monitoring system (公安部, full text of the 中华人民共和国反电信网络诈骗法, read November 26, 2026). Implementation decision: a mainland bank card check is a bank-confirmed name match against an identity you already verified, never a standalone check.
The Chinese registers and services, and what each returns
国家网络身份认证公共服务 (网号, 网证)
The national online identity service run under the 管理办法 by the six ministries above. It issues 网号 and 网证 and is in pilot use across the sectors listed earlier. Didit documentation describes no connection to this service, so treat it as a state credential some Chinese users hold, not as a Didit source. Implementation decision: if your users can present 网号, they need a manual or off-platform path in your flow, because no wallet connector for it is documented.
出入境证件身份认证平台 (National Immigration Administration)
The government route for Chinese passports and other exit-entry travel documents. The National Immigration Administration built it on the 公安部一所 网络可信身份认证平台 and connected it to the 国家政务服务平台. Its behaviour is the constraint: it returns a yes or no match and no personal identity information, and stores only irreversibly encrypted, desensitised data with no plaintext (国家移民管理局, press conference transcript on travel document authentication, read November 26, 2026). At that conference 257 enterprises and institutions had applied for access and the platform had served 4.046 million query verifications. Its cited legal basis is the 出入境证件身份认证管理办法(试行) and the 16-department work plan on making travel documents usable.
Implementation decision: a state passport channel in China can confirm that a document and holder match. It will not fill a name, date of birth or address column the way some national registries elsewhere do, so those fields have to come from the document itself. That is what document capture is for.
国家移民管理局 service platform
The NIA citizen portal at s.nia.gov.cn is where individuals apply for and query their own documents: appointment booking, replacement applications, border permits, group travel declarations, application progress, travel document records, Hong Kong, Macao and Taiwan endorsements, and a passport query for Chinese citizens settled abroad (国家移民管理局, 政务服务平台, read November 26, 2026). Foreigner services cover visa appointments, arrival cards and accommodation registration. It is a citizen-facing service, not a business verification API, and nothing in it replaces a commercial check.

What Didit returns for a Chinese ID, passport or bank card
Mainland bank account ownership, the short answer
Only if the Bank Verification country list offers China when you check it. The account check confirms that an account belongs to the person your workflow already verified: the user types the account in their country's format, Didit checks length, characters and check digits before anything is billed, then the bank confirms the name against the name the session verified. The user never types a name for the check (Bank account check).
Coverage is per country and it changes. The docs name Nigeria, Ghana, Kenya, Zambia, the United Kingdom, the euro area, India and much of Asia and Latin America among the countries where the check runs in production, and China is not named there. The Bank Verification pricing list is the current word on any single country, so read it before you promise a mainland bank account check. Card-number verification is not established for China: a card number alone is not checked unless China appears in the current Bank Verification coverage. The check is not identity proof on its own either: put ID Verification or Database Validation in front of it.
Document capture, the route we document for identity documents
ID Verification covers 220+ countries and 14,000+ document types, including passports, ID cards, driver's licences and residence permits, at $0.15 per check inside a workflow and $0.20 through the standalone API. Confirm that the Chinese document you care about is in the current catalog first. Once it is, the flow is the same as anywhere else: the service classifies the document itself, so you never declare the country or the type. It reads the visual zone with OCR, decodes the MRZ and any barcodes, and cross-checks dates, number formats and MRZ check digits, comparing the visual zone against the MRZ. With document liveness on it also screens for screen replays, printed copies and portrait manipulation (ID Verification API).
The response carries the fields you would expect: full_name, document_type, document_number, date_of_birth, expiration_date, parsed_address, mrz, barcodes and portrait_image, plus a status and a warnings list. The assurance tier is documentary: a document was captured, read and checked for authenticity (ID Verification methods).
Two limits are worth stating before you promise anything to a user. A damaged or unreadable card returns status Declined with COULD_NOT_RECOGNIZE_DOCUMENT, or an HTTP 400 with the same code from the standalone endpoint. And when the forgery check itself produces no score, the result is In Review with DOCUMENT_LIVENESS_NOT_COMPUTED, not Approved. A check that did not run is not evidence that the document is genuine, and our docs are explicit about that.

Non-document lookup, and the price we will not quote for China
Non-document lookup is the method where a user types a national ID number plus a few details and Didit checks them against the authoritative source for that country. It carries the data_match tier: the details matched a record the source holds, and no document was inspected. Provenance is not uniform. In most countries the source is a government register, but in Canada, France, Indonesia, the Netherlands, Norway, Singapore, the United Kingdom and the United States the record reached is a credit-bureau, financial-services, utility or residential-records file instead (Non-document lookup).
The per-country source table on that page names the exact source for every country it covers, and it is the only statement of provenance to rely on. The documentation we have publishes no China source and no China lookup price. So for China we point you at document capture, and we do not quote a data-match price until the catalog shows the country with a named source.
If you already hold the data and want a one-shot server call, the endpoint is POST https://verification.didit.me/v3/database-validation/ with issuing_state and identification_number. A service id that is not eligible for the issuing state returns HTTP 400, which is the honest answer when no source exists for that country.
Step by step in the Business Console
- Create an organization at business.didit.me. The Free plan includes $10 of monthly credit for eligible work emails, and sandbox testing is free.
- Create a workflow and add an ID Verification step. The feature value in the API is
OCR;ID_VERIFICATIONis the newer name for the same feature. - In the step's Countries tab, set the country key and enable
document. Methods live under themethodskey of the ID Verification config, keyed by ISO 3166-1 alpha-3 code, so China isCHN. A country with no method configured is document capture only. - Set
documents_allowedto the types your risk policy accepts. Accepted types, subtypes, capture rules and thresholds keep working as before. - If a Liveness or Face Match step follows, keep a method that leaves a photograph in the path. The workflow editor blocks publishing when every route into Face Match leaves no photo to compare.
- Publish, create a session, and watch results and warnings arrive in the console. Exports and webhooks carry the same payload.

Step by step through the API
The country block for document capture only, in the shape the docs use:
{
"feature": "OCR",
"config": {
"methods": {
"CHN": { "document": { "enabled": true } }
}
}
}
Session mode is the normal path. Create a session, send the user to the returned session.url, then read the decision.
curl -X POST 'https://verification.didit.me/v3/session/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"workflow_id":"YOUR_WORKFLOW_ID","vendor_data":"user-123","callback":"https://your.app/webhook"}'
When the user finishes, fetch GET /v3/session/{sessionId}/decision/ or subscribe to the session.status.updated webhook. The document result sits in the id_verifications[] array, one entry per document collected. Check status and warnings, not the HTTP code alone.
If you already hold the two images, call the standalone endpoint instead. It is $0.20 per call rather than $0.15 and returns the same fields.
curl -X POST 'https://verification.didit.me/v3/id-verification/' \
-H 'x-api-key: YOUR_API_KEY' \
-F 'front_image=@./cn_id_front.jpg' \
-F 'back_image=@./cn_id_back.jpg' \
-F 'perform_document_liveness=true' \
-F 'vendor_data=user-123'
Send uncropped images with all four corners visible, up to 5 MB each, in tiff, jpg, jpeg, png, webp or pdf. A two-sided ID card needs back_image. To keep the call as an API session, leave save_api_request at its default of true. Set it to false and nothing is stored, request_id becomes a one-off correlation UUID, and the image fields come back as one-off values.
Worked cost example
Take 5,000 users holding a Chinese passport, each going through a full ID check plus AML screening on the name.
- Full ID check: ID document $0.15 + passive liveness $0.10 + face match 1:1 $0.05 + device and IP analysis $0.03 = $0.33 per check.
- 5,000 x $0.33 = $1,650.00.
- AML Screening at $0.20 x 5,000 = $1,000.00.
- Total at list price: $1,650.00 + $1,000.00 = $2,650.00.
On the Scale plan every Didit price is 10% lower. 5,000 x $0.297 = $1,485.00 for the ID checks, and 5,000 x $0.18 = $900.00 for AML, so $2,385.00 in total. If a document fails and you re-run document capture only, that line is $0.15 per check, or 5,000 x $0.15 = $750.00 for the same volume. The Free plan's $10 of monthly credit covers about 30 full ID checks at $0.33 before you pay anything. The full line list and the plan terms are on didit.me/pricing and in the pricing docs.
When the source is down or there is no match
Document capture has no external source to be down, which is one reason it is the route we document. The failure modes you plan for are document-side.
Declinedwith a terminal warning such asDOCUMENT_EXPIRED,DOCUMENT_LIVENESS_FAILEDorCOULD_NOT_RECOGNIZE_DOCUMENT: show the first warning's long description and stop the flow.In ReviewwithDOCUMENT_LIVENESS_NOT_COMPUTED: the forgery check produced no usable score, so route to manual review rather than approving.In Reviewfor any other reason: send to your review queue and do not approve automatically.- HTTP 502 from a database validation call with
validation_errors[]: every selected upstream service failed, the request is not billed, and aCOULD_NOT_PERFORM_DATABASE_VALIDATIONlog is written. Retry later or fall back to document capture.
If you later run a non-document lookup in a country that has a source, the step's actions decide the outcome: on_partial_match, on_no_match and on_provider_error each take fallback_to_document, decline or review, and max_attempts caps retries. Setting all three to fallback_to_document is the conservative choice, because a user who cannot be matched still has a document in hand.
One more case to handle in code: after a method that leaves no photograph, a Face Match step cannot compute a score. It reports FACE_MATCH_NOT_COMPUTED with a null score rather than declining anyone automatically. Do not read that as a pass.
Identifiers and fields at a glance
Field names below are the documented ID Verification response fields. Which of them a given document actually carries depends on the document, so confirm the type in the current catalog.
| Identifier | Record holder | Fields a document check returns | Non-document lookup |
|---|---|---|---|
| Resident ID card (居民身份证) | Not documented in the sources cited here | full_name, document_number, date_of_birth, expiration_date, parsed_address, portrait_image | No China source or price published in the documentation we have |
| Passport (护照) | Authentication platform run by the National Immigration Administration | full_name, document_number, date_of_birth, expiration_date, mrz, portrait_image | No China source or price published; the NIA platform returns yes or no only |
| Mainland bank card or account | The issuing bank, under the PBOC mechanisms in Articles 16 to 18 of the Anti-Telecom and Online Fraud Law | Not applicable: the account check compares the account name against the name an earlier step verified | Coverage per country on the Bank Verification pricing list |
We are deliberately not printing digit-level format rules for the Chinese resident ID number here. The source pages we cite do not publish them and neither do our docs, so any rule we wrote would be an assumption you would then hard-code. Send the number as an opaque string and let the document check read it.
Sources
- Didit docs: ID Verification overview
- Didit docs: ID Verification methods
- Didit docs: Non-document lookup
- Didit docs: Database Validation
- Didit docs: Bank account check
- Didit docs: Bank Verification pricing
- Didit docs: Create session
- Didit docs: ID Verification standalone API
- Didit docs: Pricing and billing
- Didit pricing
- 公安部, policy interpretation of the 国家网络身份认证公共服务管理办法, https://www.mps.gov.cn/n6557563/c10087572/content.html, read November 26, 2026
- 公安部, full text of the 中华人民共和国反电信网络诈骗法, https://www.mps.gov.cn/n6557558/c8681178/content.html, read November 26, 2026
- 国家移民管理局, 政务服务平台, https://s.nia.gov.cn/, read November 26, 2026
- 国家移民管理局, press conference transcript on travel document authentication, https://www.nia.gov.cn/n741435/n1194535/n1211501/index.html, read November 26, 2026
Next step: open the sandbox at https://business.didit.me/, create a workflow, enable document capture for the Chinese document you need once the catalog confirms it, and run a test session with a sample card. No sales call is needed to start.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
Is there a China ID verification API that checks against a government database?
Only through narrow, state-controlled routes, and not through Didit today. China's national online identity service issues 网号 and 网证 under the 国家网络身份认证公共服务管理办法, which took effect on July 15, 2025, and the National Immigration Administration runs an authentication platform for travel documents that returns a yes or no match and no personal data (国家移民管理局, press conference transcript on travel document authentication, read November 26, 2026). The documentation we have publishes no China source for Didit non-document lookup, so the route we document for China is document capture at $0.15 per check, not a database query.
Can I check a mainland China bank card holder's name through Didit?
Only if the Bank Verification country list offers China when you check it, and China is not named in the coverage the docs describe. Where the account check runs, it compares the name on the account with the name an earlier step in the session already verified, so it proves ownership of an account by an identity you already established. Read the current Bank Verification pricing list before you promise it, and put ID Verification in front of the check because the account check is not identity proof on its own.
Can Didit verify a Chinese resident ID card?
By document capture, once the current Didit catalog lists the Chinese resident ID card as a supported document type, which is the check to make before you promise it. When it is listed, the card is photographed front and back, classified automatically, read with OCR, and cross-checked for tampering and internal consistency at $0.15 per check inside a workflow. The result carries the documentary assurance tier and the fields full_name, document_number, date_of_birth, expiration_date and parsed_address.
Can Didit verify a Chinese passport?
By document capture, again subject to the current catalog listing the document type, at $0.15 per check with MRZ and barcode decoding. NFC chip reading is a separate $0.15 add-on where the passport carries a chip. A full check that adds passive liveness, face match 1:1 and device and IP analysis costs $0.33.
What does the Chinese entry-exit document authentication platform return?
A yes or no match and nothing else. The National Immigration Administration built it on the Ministry of Public Security's trusted identity platform and connected it to the national government service platform, and says it stores only irreversibly encrypted, desensitised data with no plaintext. At its January 21, 2020 press conference it reported 257 institutions with access and 4.046 million query verifications served. That is why a state passport channel in China cannot populate a name or address field for you.
How much does a China ID check cost?
$0.15 per document check inside a workflow, or $0.20 through the standalone ID Verification API. A full ID check with biometrics and device and IP analysis is $0.33. Database Validation is priced per country and per service, and the documentation we have publishes no China price, so treat any China lookup quote as unverified.
What happens if a Chinese document is expired or unreadable?
An expired document returns Declined with DOCUMENT_EXPIRED. An unreadable one returns Declined with COULD_NOT_RECOGNIZE_DOCUMENT, or an HTTP 400 from the standalone endpoint with the same code. In both cases you show the warning and stop, rather than approving and fixing it later.
Does Didit store Chinese identity data?
Standalone requests are stored by default, and save_api_request=false makes them non-persistent. In session mode the result is kept as a session. On the standalone endpoint save_api_request defaults to true and persists the call as an API session, while setting it to false stores nothing and returns the images as one-off values. End users never see the source name, the assurance tier or the price.
Is a document check weaker than a database match?
They prove different things, and the docs describe them as tiers rather than a ranking. A document check says a physical document was captured, read and checked for authenticity. A data_match lookup says the typed details matched a record the source holds, with no document inspected. For China, only the first is documented today.
Can I use 网号 or 网证 in a Didit workflow?
Not through a documented connector. Didit supports digital ID wallet sign-in for named wallets such as MitID, BankID, iDIN, Smart-ID and itsme, and the wallet catalog is the authoritative list of what is available per country. A wallet marked coming soon cannot be enabled, and no Chinese wallet appears in the published wallet list.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


