Queria Company Resolver

An API for organizing company data by Japanese corporate number.Forward lookup matches a company name and address to a corporate number, and reverse lookup returns the name, address, closure and former names for a corporate number.It uses only the National Tax Agency's corporate number data and returns the evidence for each candidate. Free, with no sign-up.

Correct company in the top 5
94.9%
Precision of matched
98.6%
Companies searched
5M

Measured with the names and head office addresses of 4,925 EDINET filers (November 2026). See Accuracy below for the method.

Use cases

  • Deduplication

    Normalize inconsistent company names ((株) and 株式会社, full-width and half-width characters, typos) to corporate numbers and merge duplicates of the same company.

  • Joining data

    Add corporate numbers to data that lists only company names, and join it with other data keyed by corporate number.

  • Keeping records current

    Look up the current name and address of each corporate number, and whether it has closed or merged, to find outdated records.

  • Regional analysis

    Aggregate by city with the area codes of head offices, or join with statistics such as population.

API

  • Forward /v1/forward

    Returns candidate corporate numbers for a company name (name, required) and address (address). Each candidate includes the name, head office, area codes, and how the name, legal form and city matched (evidence).

  • Reverse /v1/reverse

    Returns the name, furigana, entity type, head office and area codes for a corporate number (corporate_number), with its status (active or closed), closure date and reason, successor after a merger, and former names and addresses. Closed companies are included.

Forward lookup returns one of four statuses. For batch processing without human review, use only the matched rows.

  • matched: exactly one company has the same name and legal form, and the same city when an address is given
  • ambiguous: several companies meet the same conditions
  • candidates: no exact match, but similar companies were found
  • not_found: no candidates

How matching works

The input name is normalized: full-width and half-width characters, spaces, symbols and legal form notations ((株), ㈱, 株式会社) are standardized, and the legal form is compared separately, so a kabushiki kaisha and a yugen kaisha with the same name are distinguished.

Candidates are searched with an index of two-character sequences of the name, then ranked by edit distance of the name and whether the city of the address matches. Inputs with typos or abbreviations still return similar candidates.

No confidence score is returned. The evidence of each candidate shows why it was chosen.

Accuracy

Measured with the filer names and head office addresses of 4,925 EDINET filers that list a corporate number. The typo input abbreviates the legal form and drops one character from the name. Details are in the benchmark.

InputTop 1Top 5matchedPrecision of matched
Correct name + address92.8%94.9%4,45398.6%
Name with typo + address81.4%89.4%16371.2%

166 of the 4,925 companies have closed or merged. Forward lookup searches only active companies, so these are not returned.

Usage

Call it with HTTP GET. Responses are JSON. The source code is on GitHub.

Searches candidate corporate numbers by company name and address. Set the number of candidates with limit (default 5, maximum 20).

curl -s -G https://company-resolver.queria.io/v1/forward \
  --data-urlencode "name=トヨタ自動車株式会社" \
  --data-urlencode "address=愛知県豊田市トヨタ町1番地"

Pass a 13-digit corporate number. Returns 404 if it is not found.

curl -s "https://company-resolver.queria.io/v1/reverse?corporate_number=1180301018771"

An example with requests.

import requests

r = requests.get(
    "https://company-resolver.queria.io/v1/forward",
    params={"name": "トヨタ自動車株式会社", "address": "愛知県豊田市トヨタ町1番地"},
)
answer = r.json()
print(answer["status"], answer["candidates"][0]["corporate_number"])

In Queria SQL and the MCP server, resolve_company converts company names to corporate numbers in bulk, up to 100 per call.

SELECT * FROM resolve_company(
  ['トヨタ自動車株式会社', 'ソニーグループ株式会社'],
  ['愛知県豊田市トヨタ町1番地', '東京都港区港南1-7-1']
);

Pricing and terms

It is free. To limit load, each IP address can make up to 300 requests per minute. For matching large numbers of company names or integrating it into business systems, please contact us.

Sources

Built from the full data and change history of the National Tax Agency Corporate Number Publication Site, rebuilt monthly from the Queria corporate number dataset. This service is not provided by the National Tax Agency.