China Court Case Number Matching with APIs

Link Chinese judicial case and court announcement records with the original case number, source date and documented match evidence.

ArticlesPublished by ChinaValidatePublished December 3, 2026Last updated December 3, 2026

Retrieve judicial case records associated with a Chinese company.

View API documentationAPI workspace
China Court Case Number Matching with APIs

A court file can be described by a case index, a hearing notice and a later publication. If you count all three as separate disputes, the resulting company history is misleading. If you collapse every record with a similar title, distinct matters can disappear. Store each retrieved item as an observation. Link observations to a case only when the available identifiers and original evidence support the connection.

ChinaValidate exposes company-based Judicial Cases and Court Announcements operations. The judicial cases example shows a case number. The announcement example provides details such as the court, publication date and parties. The two documented result shapes give different evidence. A case number from the original notice can support a match when the summary leaves it out.

Preserve the case number before building links

The Supreme People’s Court rules on case numbering describe four components: the year when the case was received, the court code, the case-type code and a sequence number. They apply to the standardized cases from 2016, and an older case whose number had already been assigned did not need a replacement simply because of the rules. Capture the full original identifier, including all characters. Two case numbers ending with the same digits can be unrelated. Supreme People’s Court numbering rules · Case type codes

For application matching, store one searchable representation that can handle presentation differences such as full-width and half-width parentheses. Keep the original string, not just the searchable key. Limit normalization to recognized formatting changes for data already verified against the source. If a number is incomplete, contains uncertain optical recognition or has an unexplained difference in a character, route it for review. Do not repair it by comparing it with the most common number in another row.

The case-type code remains important when someone sees an appeal or another proceeding involving the same parties. A relationship between matters may be real even when the numbers differ. Represent that as a link between cases, supported by a document that refers to the earlier proceeding. Do not force two numbers to share a case row simply because an appeal followed the original filing. A later report can then count cases, proceedings within a dispute or published items, while naming the count that it actually used.

Retrieve cases for the same verified company

Both documented endpoints use company_name and require the full Chinese legal name. Begin with a verified company identity and use that name for the requests. A different entity in the same corporate group can have a similar name and its own case history. Keep the query identity and request time on each observation.

curl -sS --get 'https://api.chinavalidate.com/v1/companies/judicial-cases' \
  -H "Authorization: Bearer ${CHINAVALIDATE_API_KEY}" \
  --data-urlencode 'company_name=北京百度网讯科技有限公司'

curl -sS --get 'https://api.chinavalidate.com/v1/companies/court-announcements' \
  -H "Authorization: Bearer ${CHINAVALIDATE_API_KEY}" \
  --data-urlencode 'company_name=北京百度网讯科技有限公司'

Look up the application code and preserve the matching items in data.items. The judicial cases documentation illustrates case_number, case_authority, case_name and published_date. A court announcement can show court_name, announcement_type, message and parties. Read what the individual response actually provides. Where an announcement's accessible source includes a case number in text, save the source and confirmed number separately from the API summary. The People’s Court Announcement Network provides an official route for searching published notices.

The court may publish a notice after the year shown in the case number. Record the two dates independently. A notice publication date is also different from a hearing date written in the notice. The purpose of an announcement affects how someone should interpret its text. A hearing announcement supports a recorded notice. An outcome still needs the appropriate decision text or subsequent official record.

Work one matched record and one unmatched notice

Take an illustrative dataset with two judicial case entries arising from similar contract language in one court. One full notice names the parties and carries the same original number as the first index entry. A second notice contains a similar summary alongside the same court, but the available text has no full case number. Link the first notice on verified evidence. For the second, store the suggested relation and the reason it remains unverified. The reviewer can search the official source rather than losing the notice or treating the guessed match as established.

Observed evidence Relationship state Record to preserve
Complete verified identifier agrees Linked to the observed case Both original identifiers and the supporting source document
Full numbers differ and a decision explicitly refers to the earlier case Related cases Both case records and the explicit reference
Court, text and parties look similar but the number is absent Possible association Compared fields and the missing identifier
Case reference is partial or a character is uncertain Pending identification Original image or text, checked characters and source date
Results are missing from one endpoint No observation from that operation Original search, time and observed response

For the second notice, a user can review the actual public publication with court, parties and date. The workflow can record a selected match after confirmation. If later evidence points to a third matter, add the confirmed link and preserve the date it changed. This makes it possible to explain reports issued before the official reference was found.

Preserve date and decision boundaries in exports

A table for case-level analysis should use a case row as its unit. A separate table can count the number of records inspected or notices published for those cases. A supplier found in both sources does not necessarily acquire another case just because the announcement dataset added a row. Display a separate count of unmatched observations if those observations form a queue for review. Any denominator can be credible when the reader sees which records are counted and why.

Decide which date the export presents. A report by court case year should use the year from the verified number when appropriate. A report on publication work might use the official publication date. An internal handling report might show when someone first observed or resolved a match. Hide exact dates only when there is a defined privacy or reporting requirement, and preserve the distinction in the stored record. Dates used as inputs for commercial decisions should remain visible with their source and verification date.

If users also see translated text, treat it as a reading layer. Give them a way to open the original case number, notice and court name when reviewing a match. A generic translated cause of action can sound identical across several Chinese records. It is helpful for comprehension but weak evidence of identity. Keep the navigation to the official evidence as part of the review rather than asking someone to copy a reconstructed translation back into a court search.

Test the export with one case carrying two dated notices, two matters with the same last digits across different courts, and an appeal that explicitly references the original matter. Confirm the total depends on cases when the heading says cases. Check that the records can also show all notices for one case. Add an item with an unreadable reference to make sure it survives as an unresolved observation without becoming a duplicate case.

The review screen should answer a simple question about any link: which exact number or source proves it? When the answer is still missing, the application should name the specific document or detail to obtain. That makes a company-level search useful even when each endpoint shows a different portion of the public record.

Reconcile a corrected export

When a reviewed link is corrected, update the relationship and keep the earlier export available. A report used in an approval can name its preparation date and each accepted match. A regenerated search view can display the corrected relation without suggesting it was known when the earlier report was approved. For example, a hearing notice initially filed as an unmatched observation may later be attached to an identified case. Its original publication date is unchanged. The date it was matched is what has changed.

Use the strongest evidence at the appropriate level. If the record gives a company name matching the supplier but the complete notice identifies a branch, confirm the branch's role before assigning it to a different legal entity. Where several parties are named, keep the roles stated by the relevant document. A party name in a single abstract is insufficient to say that the company was the defendant, the successful party or subject to enforcement. Preserve the relation as unspecified until the exact role can be checked.

A source export can include court, observed dates, original item text and source references restricted to the appropriate reviewers. A purchasing summary can show the issue that requires a decision and where the reviewer can find its documented basis. The two exports serve different readers and need different levels of detail. The underlying identifiers and date distinctions should agree across them.

Start with the records that actually affect an open decision. A daily monitoring feed may produce new unmatched observations with no new identified matters. Queue those separately, keep their exact dates and add verified links as evidence becomes available. An integration built this way lets reviewers choose what needs attention today and explain why last week's total was different.