Administrative Codes in the China Company Profile API

Use the region, district, and administrative code fields returned by the Company Profile API to build a dated location grouping for Chinese companies.

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

Retrieve a company’s registered identity, business status, address, capital and business scope.

View API documentationAPI workspace
Administrative Codes in the China Company Profile API

A sourcing dashboard lists several Chinese companies under the same English city label. The buyer wants to filter the list by prefecture or district and still see the registered location for each legal entity. The profile results often supply more than one location attribute. A stable integration keeps the exact text and code returned by the API, then applies a dated geographic mapping for the report. This also makes a change of address or a reorganization of an administrative area easier to explain later.

Start with the confirmed Chinese legal name or Unified Social Credit Code. The ChinaValidate Company Profile API documents fields such as province_name, city, area, address, administrative_code, and city_code. Keep them in separate source fields. When you need a standard reporting district, match the reported administrative code or the place names to an appropriate official list and store the edition used. The returned value and the application's mapped value should both be visible to a reviewer. ChinaValidate Company Profile API

Location fields and their roles

The observed address is the profile's textual address value. It can preserve information at a granularity that a province or district grouping does not contain. A single code is useful for a join and might have a different precision than the address. Keep the code as text so you can compare exactly what was received. Treat the separate city code according to its own field definition and visible format. Avoid treating that field as a replacement for an administrative division code.

The API's language options are useful for rendering, but a translated or romanized place label can be ambiguous in the absence of its Chinese source. For example, the English rendering of a district does not identify its parent city on its own. Use original names and the parent chain when checking a match. If you choose to expose an English or Vietnamese location label, make it display data linked to the original province, city and district observation. The source address remains searchable for someone comparing it with a Chinese business license.

Keep the company identity attached to the location. Market entity registration rules list address or business premises, registration authority and identifying information among business license particulars. That creates useful evidence for the registered entity. If procurement needs the location of a warehouse, factory or return address, keep the supporting source for that particular use on the order. A location filter in the company register should continue to describe the observed company record. SAMR market entity registration implementing rules

A dated administrative reference

The Ministry of Civil Affairs' administrative division code rules describe how different levels receive a code and how current division code information is released. A code lookup needs a date or edition if the application stores historical records. A name or boundary can change, and a company's recorded data can also lag the geographic reference. Record the source and its date rather than treating an unsuccessful current lookup as proof that the old address was invalid. Administrative Division Code Management Measures

China also has statistical geographical coding for statistical purposes. The National Bureau of Statistics' published compilation rules distinguish how statistical areas are represented. Keep the classification appropriate to the requested report. A warehouse route, a statistical area and a civil administrative division answer different questions. If the dashboard needs a civil administrative area, use a dated civil reference and show its scope. If an analytics project later requires statistical codes, design a separate documented match with those source rules. National Bureau of Statistics compilation rules

Source value Use in the data model Evidence to retain
Chinese province, city and area names Original displayed geographical labels The original language and observation date
Administrative code from the profile Candidate identifier for a civil division join Exact code text and source item
Separate city code Source attribute with its own documented meaning Its original field name and value
Full address text Exact address associated with the profile The observation date and identity evidence
Standardized district for reporting Result of a documented internal mapping Reference edition, mapping method and match status
A different operating or delivery location Separate order or facility attribute The actual source and purpose for that location

A mapping record from one company observation

The following JSON is an example of a local record after a company profile response has been captured. The source view is modeled on the documented profile example. The last three fields describe workflow state in the application. The district used in reporting is deliberately left empty until a particular reference resolves the match. A date, responsible reviewer or mapping revision can be added by the application when it completes the match.

{
  "company_name": "苏州示例精密制造有限公司",
  "observed_at": "2026-10-15T09:12:00+08:00",
  "province_name": "江苏省",
  "city": "苏州市",
  "area": "虎丘区",
  "address": "江苏省苏州市高新区启明路88号",
  "administrative_code": "320505",
  "city_code": "0512",
  "mapped_division_code": null,
  "mapping_reference_edition": null,
  "mapping_state": "pending_reference_match"
}

A mapping pass can check whether the exact reported code exists in the chosen edition. When a code and label agree at the expected hierarchy, save the reference and the mapping. If the code is absent or cannot be reconciled with the province and city, keep the source and mark the reporting location incomplete. A text-based fallback should compare the original place names in their parent path and expose a level of precision supported by the evidence. For example, if a province and city can be confirmed while the district is ambiguous, show the verified level and keep the district open for review.

Think about the difference between a code change for a region and a company moving registration address. A region may be reorganized while the company's physical location stays the same. Alternatively, the company can relocate within an unchanged region. Comparing the reporting code alone may miss a change in address or overstate a difference after updating the geographic reference. Preserve observed address, observed code, observation date and reference edition before interpreting why a value changed. If the organization gets a formal change document, record its date and role separately.

Missing values and filtering in an application

The filter can allow buyers to select a currently mapped province and district without rewriting historic company records. Give unmatched or partly matched records their own behavior. When a user asks for all companies observed in a particular city, tell them whether the count is based on directly matched city data or on a mapped report view. A buyer relying on a district filter should still be able to find an unresolved supplier through its name or credit code, rather than seeing an apparently complete set that silently excludes records with missing location fields.

Use a consistent location key from the reference table so text variations such as a translated district name do not split one area into multiple groups. Keep the source values available for cross-checking with documents. If the API result gives a location code but leaves its area name empty, carry that distinction through any export. If coordinates are present, treat them in their own role. A point from a returned profile can help orient the reader. It should not become a substitute for authoritative boundary matching or independent confirmation of a site's activities.

If the company is associated with a development zone or industrial park mentioned in the address, save the zone name as part of that original address. A local zone label might not have the same administrative meaning as the district used for grouping. When the mapping reference only supports the civil district, present the district as the mapped value and the zone as an address detail. The user can then filter by the administrative area without losing the information needed to recognize the specific premises in a document.

A company may appear under several vendor accounts or procurement contracts. Store its location observation once where the evidence policy permits, and keep each account relationship separate. This makes a geography view less likely to count conflicting labels created by duplicate vendor entries. It also helps someone reviewing an old contract recover the location actually stored at that time. A current geographic filter can be updated without claiming earlier purchases used the latest mapped division.

Acceptance checks for the location join

Test a lookup with an exact code and name match, one with a missing code and an otherwise unambiguous city, and one with a district name shared across different parent areas. Include a historical value that the current reference cannot directly resolve and a location string that disagrees with the reported code. Verify that the application records the original location in each case. Check that a separate city-code field containing a leading zero continues to be a text value through imports and exports.

Then refresh the area reference and open a saved decision that used an older edition. The evidence should still show the original profile observation and the mapping version used at that point. A new mapped value should be traceable to the newer edition and any added evidence. Finally, locate the company by credit code as well as by the geographical filter. Both views should lead to the same observed profile, while the filter explains the scope and date of its location grouping.