China Company Lookup API in Excel

Use Power Query to bring verified Chinese company records from a server-side API integration into Excel, with company identifiers preserved as text.

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

Find Chinese companies by name or keyword. Use a matching record’s legal name or Unified Social Credit Code for a profile lookup.

View API documentationAPI workspace
China Company Lookup API in Excel

A buyer has a supplier register in Excel with internal vendor IDs, a mixture of Chinese and English names and a column for registration numbers. The team wants a refreshable view of the Chinese company records it has verified. It also needs to retain its own notes and distinguish a lookup that has no usable result from a row that was never submitted. The workbook can present this information through Power Query while a server handles requests to the ChinaValidate API.

The practical shape is a small, authenticated read feed owned by your organization. That feed returns dated lookup evidence, and the workbook loads it with a stable column schema. Keep the upstream API key on the server. Supplier names and identifiers are read as text before they become cells. This arrangement also makes the workbook's refresh a different operation from requesting fresh paid verification calls. ChinaValidate API reference · Microsoft Power Query Web connector

Separate the register from the imported results

Create an existing supplier table with one stable internal vendor ID per row. It can hold the names and identifiers you started with, the owner of the record and purchasing notes. Create a separate results table for what was observed. Join the two by the internal ID through Power Query or a controlled workbook relationship. The original supplier table should not be overwritten when a result is refreshed.

Build the upstream workflow to handle two common inputs. Where the company is uncertain, use company search and keep the returned candidates for selection. Where a reliable Chinese legal name or 18-character Unified Social Credit Code is already known, request the company profile and capture the original result used. This distinction makes the worksheet useful for reviewers. It can show whether a named company was confirmed or whether the buyer still needs evidence for a candidate. Company search API · Company profile API

Consider using the vendor ID from the ERP rather than the row position as the link. Users will sort, filter and paste into a workbook. One company may appear under multiple vendor records for a legitimate reason. More than one search candidate can appear for the same row. The results table can show a selected company separately from the candidate list or leave the row with a review state. Joining on company name alone makes it difficult to preserve those distinctions.

A feed that returns evidence already collected

Have the server request the upstream API with documented bearer authentication, store the evidence and return only the fields authorized for the user of the workbook. Use the access method supported by your organization's Excel configuration. For a workbook shared by a team, avoid storing the ChinaValidate key in the file, visible query or shared URL. An authenticated GET feed can return the current review list without submitting a new paid upstream request each time a user clicks Refresh. Microsoft documents connector-specific differences in access methods, which are worth checking in the Excel clients your team will use. Power Query Web connector authentication · Web.Contents reference

A compact feed might contain supplier_id, company_name, unified_social_credit_code, registration_number, observed_at and lookup_state. These are example fields for your review service. Keep full source responses in the authorized evidence store and provide a way for the reviewer to locate them. The exposed result can include the verified name in a readable form and the original Chinese name needed to interpret or reproduce a lookup. Show the source and date in a visible column rather than implying that all rows were verified during the current workbook refresh.

Where the same supplier has a newer successful observation, record which one is shown in the feed. An incomplete repeat request can coexist with the most recent usable observation. Have the workbook identify the row as needing another check and retain the usable evidence with its actual date. An unavailable review feed should raise a refresh problem. It should not supply blank values that make previously verified data look newly absent.

Preserve the identifiers when shaping the table

Keep the credit code and registration number as strings in the server response. Excel may remove leading zeros or alter high-precision number strings if imported as numeric data. Power Query can assign a text type on import. Once information has rounded away, a later format change cannot reliably restore it. This matters with older registration numbers, in-house vendor identifiers and other documented values that are not quantities. Microsoft guidance on retaining leading zeros and large numbers

The following M query assumes your own authenticated feed returns a JSON array of consistently typed records whose identifier values are already strings. Replace the example address with the configured feed. It is a reserved address for illustration.

let
    Source = Json.Document(
        Web.Contents("https://procurement.example/supplier-review")
    ),
    Result = Table.FromRecords(
        Source,
        type table [
            supplier_id = text,
            company_name = nullable text,
            unified_social_credit_code = nullable text,
            registration_number = nullable text,
            observed_at = nullable text,
            lookup_state = text
        ],
        MissingField.UseNull
    )
in
    Result

In Excel, use Power Query's Web connector or the query editor to set the data source and its permitted access. Review the preview before loading the result into a separate table. Table.FromRecords accepts a list of records and a table type; the missing-field option can represent optional values as null. Validate required keys, such as supplier ID and lookup state, in the feed before serving records. A missing legal identifier may be valid for an unresolved candidate. A missing internal join key means it cannot be reconciled reliably. Microsoft Table.FromRecords reference

Refresh the view without changing the decisions

Define which columns users can edit directly. Human notes, assigned reviewers and exceptions can stay in the supplier table or an approved source of record. The Power Query results should be refreshed from the evidence feed. If a team needs to approve a selection among candidates, capture that choice in the procurement system or another controlled input and let the feed reflect it. This avoids overwriting a reviewer note when a column moves.

Keep a distinct outcome for a confirmed record, no result, unmatched identity, and failed or pending work. A blank company name in a result is ambiguous on its own. Excel filters can help a buyer find accounts that need attention, provided the state has a clear meaning and a link or reference for follow-up. An observation date is equally useful when the workbook begins to mix recent checked companies with results from earlier periods.

Workbook test What a reviewer should see
Existing registration number begins with zero All characters retained in a text field
Two supplier rows refer to one confirmed company Two original vendor IDs with the appropriate linked observation
A search returns two plausible legal names Unresolved row or an explicitly confirmed candidate
A feed refresh returns the same snapshot Unchanged evidence dates and no duplicate hosted lookup work
A row lacks a usable current result Actionable status, with any older observation identified by date

A workbook shared across teams

Design the feed view around a real reviewer role. A purchasing user might be allowed to see a limited set of fields about its suppliers, while another analyst has access to the actual registration response. Have the server enforce those permissions when the workbook refreshes. Test sharing the file with another authorized staff member and check that they authenticate as themselves. If the workbook stores the already loaded result, treat that copy as an export with the same field-level restrictions as the source.

Decide which input changes constitute a new query. If a purchaser merely renames the column or switches the display language in Excel, the organization might continue using the existing observation. If a vendor code is corrected, or the record needs updated evidence for a new order, request a new check in the system that owns the API integration. Use a stable ID to associate the resulting observation with the right source entry. A refresh of old workbook data should not hide the fact that the request is still pending.

A team can also keep a historical worksheet or export for a month-end review. Label it with the snapshot time and the date range. An interactive view of the newest data is useful for current purchasing, while month-end values should be recoverable with the approval evidence from that period. If a reviewer asks about a line marked incomplete in an older export, preserve the reason and the dated result rather than reflecting the live state as if it had always been known.

Check the export where it will be used

Validate the workbook with actual user roles and your supported Excel versions. Confirm that a reviewer can refresh with authorized access, preserve the source row, filter for unresolved cases and select a relevant result without viewing data outside their scope. Test that neither the workbook nor its copied queries contain the upstream API key. Where users share an exported sheet, ensure the exported fields and links follow the intended access rules.

Lastly, compare a few codes and names directly against the saved source records. Reopen an old row whose profile observation has been superseded and ensure the evidence date explains which version was used. Try a refresh with the feed unavailable and observe how Excel presents the error. The goal is a worksheet that shows precisely who was checked, when the lookup occurred and what follow-up remains, without turning Excel into the only copy of the purchasing evidence.