# Japan Company Data API - gBizINFO Corporate Lookup (`1rrock/japan-gbizinfo-lookup`) Actor

Look up Japanese companies by corporate number (法人番号) or name in METI's official gBizINFO (Gビズインフォ) database: English name, address, capital, employees, industry, subsidies, patents and more. Free demo for up to 3 companies; add your own free gBizINFO API token for bulk lookups and name search.

- **URL**: https://apify.com/1rrock/japan-gbizinfo-lookup.md
- **Developed by:** [1rrock](https://apify.com/1rrock) (community)
- **Categories:** Business, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What is Japan Company Data API - gBizINFO Corporate Lookup?

This Actor looks up **Japanese companies (法人)** in **gBizINFO (Gビズインフォ)**, the official corporate information database of Japan's **Ministry of Economy, Trade and Industry (METI / 経済産業省)**, through its **official REST API**. Search **by corporate number (法人番号, houjin bangou)** or **by company name**, filter by prefecture, city and company type, and get the official Japanese name, English name, kana, address, representative, capital, employees, founding date, industry and status. Optionally add **government subsidies, procurement contracts, certifications, commendations, patents and finance data**. Export as JSON, CSV or Excel or pull the data through the Apify API.

- ✅ **Official government source**: gBizINFO links government-held corporate data by the 13-digit corporate number.
- ✅ **Free demo, then your own free token**: try it without a key for up to 3 companies per run; add your own free gBizINFO API token ([apply here](https://info.gbiz.go.jp/hojin/various_registration/form)) for bulk lookups and name search.
- ✅ **No scraping, no proxy**: official API, polite rate limiting, and an attribution notice (出典) on every record.
- ✅ **Name search with filters**: prefecture (JIS X 0401), city (JIS X 0402) and corporate type (株式会社, 合同会社 …).
- ✅ **Cheap and predictable**: **$1.50 per 1,000 results**, platform usage included.

### What Japanese company data can you get?

| Field | Meaning |
|---|---|
| `corporateNumber` | 13-digit corporate number (法人番号) |
| `name`, `nameEn`, `kana` | Official Japanese name, English name, kana reading |
| `postalCode`, `location` | Postal code and head-office address |
| `representativeName` | Representative (代表者) |
| `capitalStock`, `employeeNumber` | Capital (JPY) and number of employees |
| `dateOfEstablishment`, `foundingYear` | Establishment date / founding year |
| `kind`, `kindLabel` | Corporate type code and label (e.g. 301 = 株式会社) |
| `companyUrl`, `businessSummary`, `industry` | Website, business summary, industry codes |
| `status`, `closeDate`, `closeCause` | Status and closure information |
| `updateDate` | Last update in gBizINFO |
| `enrichment.{category}` | Optional: `procurement`, `subsidy`, `certification`, `commendation`, `corporation`, `finance`, `patent`, `workplace` |
| `source`, `sourceUrl`, `license`, `attribution`, `retrievedAt` | Source link and the required 出典 notice |

Fields are taken 1:1 from the gBizINFO API (keys converted to English camelCase); empty values are `null`. Coverage of optional fields (capital, employees, website…) varies by company.

### Use cases for Japanese company lookup

- 🔎 **KYC / KYB and vendor onboarding in Japan**: verify a counterparty's official name, address, representative and status by 法人番号.
- 🏭 **Supplier verification and due diligence**: check capital, employees, certifications and government procurement or subsidy history.
- 📈 **B2B lead lists**: search companies by name, prefecture and company type.
- 🗂️ **CRM enrichment**: add English name, capital, employees, website and industry to Japanese accounts.
- 🧾 **Invoice and master-data compliance**: pair with the [Japan Invoice Number Checker](https://apify.com/1rrock/japan-invoice-lookup) (T-number = `T` + 法人番号).

### How to look up Japanese companies

1. Click **Try for free** (or **Start**) on this page.
   Without a token you get a free demo for up to 3 companies. For bulk lookups or name search, paste your own free **gBizINFO API token** ([apply here](https://info.gbiz.go.jp/hojin/various_registration/form)) into **gBizINFO API token**.
2. Paste 13-digit **Corporate numbers (法人番号)**, one per line (hyphens and spaces are ignored), and/or type a **Company name search** such as `トヨタ自動車` or `ソニー`.
3. Optionally set **Prefecture code** (e.g. `13` Tokyo, `23` Aichi, `27` Osaka), **City code** or **Corporate type** (`301` 株式会社, `305` 合同会社).
4. Optionally pick **Enrichment categories** such as `subsidy` or `certification`.
5. Click **Start**, then open the **Output** tab or export as **JSON, CSV, Excel, XML or HTML**.

With empty input the Actor looks up two demo companies (NEC and Toyota); this works without a token.

#### Input example

```json
{
  "corporateNumbers": ["7010401022916", "1180301018771"],
  "name": "ソニー",
  "prefecture": "13",
  "maxItems": 50,
  "enrichment": ["subsidy", "certification"]
}
```

| Field | Description |
|-------|-------------|
| `corporateNumbers` | List of 13-digit 法人番号 (hyphens/spaces ignored). |
| `name` | Company name search (partial match). |
| `prefecture` / `city` / `corporateType` | Search filters, e.g. `13` = Tokyo, `23` = Aichi, `301` = 株式会社. |
| `mode` | `auto` (default: numbers and/or name), `number`, `name`. |
| `maxItems` | Max company records per run (default 100, up to 5,000). Without your own token the free demo looks up at most 3 corporate numbers. |
| `limit`, `page` | Search page size and page number (API allows pages 1–10). |
| `enrichment` | Optional categories listed above. |
| `metadata` | Include per-field source / update metadata (`metadata_flg`). |
| `apiToken` | Your own free gBizINFO token ([apply here](https://info.gbiz.go.jp/hojin/various_registration/form)). Needed for more than 3 corporate numbers per run and for name search. Stored as a secret input. |
| `delaySeconds` | Delay between API calls (default 0.5 s, minimum 0.25 s). |

#### Output example

One dataset item per company:

```json
{
  "corporateNumber": "7010401022916",
  "name": "日本電気株式会社",
  "nameEn": "NEC Corporation",
  "kana": "ニッポンデンキ",
  "postalCode": "1080014",
  "location": "東京都港区芝５丁目７番１号",
  "status": "-",
  "capitalStock": 427831000000,
  "employeeNumber": 21004,
  "dateOfEstablishment": "1899-07-17",
  "kind": "301",
  "kindLabel": "株式会社",
  "representativeName": "取締役代表執行役社長兼CEO　　森田　隆之",
  "companyUrl": "https://jpn.nec.com/inclusion-diversity/",
  "businessSummary": "社会公共事業、社会基盤事業、エンタープライズ事業、ネットワークサービス事業、グローバル事業",
  "updateDate": "2026-05-28T00:00:00+09:00",
  "industry": ["E"],
  "method": "hojin",
  "queried": "7010401022916",
  "source": "gbizinfo_meti_api",
  "sourceUrl": "https://info.gbiz.go.jp/hojin/ichiran?hojinNumber=7010401022916",
  "license": "政府標準利用規約（第2.0版）準拠 / CC BY 互換。商用利用可。編集・加工した場合はその旨を記載すること。",
  "attribution": "出典：Gビズインフォ（経済産業省）（https://info.gbiz.go.jp/）",
  "retrievedAt": "2026-10-07T05:36:00+00:00"
}
```

Numbers that are invalid or not registered produce an item with `"ok": false` and an `error` (`not_found`, `invalid_corporate_number`, …) so you can reconcile every input. Lookups that fail because gBizINFO is temporarily unavailable (timeouts, HTTP 429/5xx) are not written to the dataset; see below.

### How much does Japanese company data cost?

This Actor uses **pay-per-result** pricing: **$1.50 per 1,000 results** ($0.0015 per company), with Apify platform usage already included. Apify also charges a tiny Actor start fee of $0.00005 per run per GB of memory.

- **What counts as a result?** Every item written to the dataset: one per company found by number or name, plus one per invalid / not-found corporate number (`ok: false` rows).
- **Enrichment is free of extra result charges**: enrichment data is nested inside the company record, so it is still one result per company (it only makes the run slower).
- **Temporary failures are not charged.** If a lookup fails because of a temporary problem at gBizINFO or on our side (network errors, timeouts, HTTP 429/5xx, unreadable responses), no dataset item is written and nothing is charged. These numbers are listed under `failedLookups` in the run summary (key-value store record `OUTPUT`, linked as *Run summary* in the run's Output tab) so you can run them again later. If nothing could be looked up at all, the run is marked as failed.
- **Control your spend** with `maxItems` (default 100) and the search `limit` (default 10).
- **Free demo:** without your own token a run looks up at most **3** corporate numbers (name search is not available). Extra inputs are skipped, **not charged**, and listed in the run summary (`OUTPUT`) with instructions for getting a token.
- **How much fits in one run?** With your own token, at the defaults a run outputs at most **100** company records; extra numbers are skipped with a warning. Raise `maxItems` (up to 5,000) for bigger lists. Without enrichment a number takes about 0.6–0.8 s, so roughly 2,000 numbers fit in the default 30-minute timeout. Each enrichment category adds one API call per company: with all categories on, plan for about 200–300 companies per run. For bigger jobs raise `maxItems` and the run timeout, or split the list into several runs.
- **Examples:** 1,000 companies ≈ $1.50. The default input (2 companies) ≈ $0.003.
- **Free plan:** Apify's free plan includes $5 of monthly usage, which covers about 3,000 companies.

### Use the gBizINFO company API from Python, JavaScript or no-code tools

**Python** ([apify-client](https://docs.apify.com/api/client/python)):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("1rrock/japan-gbizinfo-lookup").call(
    run_input={"corporateNumbers": ["7010401022916", "1180301018771"]}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("corporateNumber"), item.get("name"), item.get("nameEn"), item.get("capitalStock"))
```

**JavaScript / Node.js** ([apify-client](https://docs.apify.com/api/client/js)):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('1rrock/japan-gbizinfo-lookup').call({
    name: 'ソニー', prefecture: '13', limit: 20, mode: 'name',
    apiToken: '<YOUR_GBIZINFO_TOKEN>', // name search needs your own free gBizINFO token
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => [i.corporateNumber, i.name]));
```

**HTTP (one call, returns the results):**

```bash
curl -X POST "https://api.apify.com/v2/acts/1rrock~japan-gbizinfo-lookup/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"corporateNumbers": ["7010401022916"]}'
```

**No-code:** connect the Actor to [Zapier](https://docs.apify.com/platform/integrations/zapier), [Make](https://docs.apify.com/platform/integrations/make), Google Sheets (with [Google Sheets Import & Export](https://apify.com/lukaskrivka/google-sheets)), webhooks and [other integrations](https://docs.apify.com/platform/integrations). You can also run it on a [schedule](https://docs.apify.com/platform/schedules) or let AI agents call it through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).

### FAQ

#### Is it legal to use gBizINFO data commercially?

Yes. gBizINFO data is provided under 政府標準利用規約（第2.0版）, which is compatible with CC BY 4.0, so commercial reuse is allowed with attribution. Every record carries the 出典 text. See the [terms](https://help.info.gbiz.go.jp/hc/ja/articles/4795140981406).

#### Do I need a gBizINFO API token?

Only for real use. Without a token the Actor runs as a **free demo** with a built-in token: up to **3 corporate-number lookups per run** (optional enrichment included), no name search. gBizINFO issues tokens per applicant and asks that they are not shared, so for bulk lookups and name search apply for your own free token on the [gBizINFO application form](https://info.gbiz.go.jp/hojin/various_registration/form) (it arrives by email) and paste it into `apiToken` (up to 5,000 records per run). Your token is stored as a secret input, sent only to api.info.gbiz.go.jp and never logged or saved.

#### How fresh is the data?

Results come live from the gBizINFO API, so freshness follows gBizINFO's own update cycle. Each record has its `updateDate`.

#### What are the limits?

- Name search returns at most one API page per run (`limit` ≤ 5,000, `page` 1–10).
- Enrichment payloads (especially `procurement` and `patent`) can be large for big companies.
- English names, capital, employees and websites are only present when gBizINFO has them.

#### Fair use

The Actor calls the API politely (one request at a time, ≥ 0.25 s apart, exponential backoff on HTTP 429 / 5xx) and limits the built-in demo token to 3 corporate numbers per run. gBizINFO applies usage limits per token, so for real use please apply for your own free token and pass it as `apiToken`.

### Data source and license

- Source: **gBizINFO**, METI — https://info.gbiz.go.jp/ (REST API v2, `api.info.gbiz.go.jp`).
- Terms: 政府標準利用規約（第2.0版）, compatible with CC BY 4.0 — commercial reuse allowed with
  attribution. When you republish the data, keep the `attribution` text
  `出典：Gビズインフォ（経済産業省）（https://info.gbiz.go.jp/）` and note that the data was
  processed (field names normalized by this actor).
- This actor is not affiliated with or endorsed by METI.

### Other actors by 1rrock

Official open-data company lookups, all at $1.50 per 1,000 results:

- 🇯🇵 [Japan Invoice Number Checker - T-Number Lookup](https://apify.com/1rrock/japan-invoice-lookup): bulk-verify Japanese qualified invoice registration numbers (インボイス登録番号) against NTA data.
- 🇧🇷 [Brazil CNPJ Lookup - Receita Federal Company Data](https://apify.com/1rrock/brazil-cnpj-lookup): bulk consulta CNPJ with razão social, situação cadastral, CNAE and QSA.
- 🇲🇽 [Mexico Business Directory - INEGI DENUE Lookup](https://apify.com/1rrock/mexico-denue-lookup): search 6M+ Mexican establishments by name, keyword, state or GPS radius.
- 🇨🇴 [Colombia NIT Lookup - RUES Company Registry Search](https://apify.com/1rrock/colombia-nit-lookup): consulta NIT in bulk and new-company lead lists from Colombia's official RUES registry.
- 🇹🇼 [Taiwan Company Lookup - 統一編號 GCIS Registry Search](https://apify.com/1rrock/taiwan-company-lookup): Taiwanese companies by 統一編號 or name with capital, directors and new-company lists.

# Actor input Schema

## `corporateNumbers` (type: `array`):

Enter 13-digit Japanese corporate numbers (法人番号), one per line. Hyphens and spaces are ignored. Each number produces one result. If both this and Company name search are empty, NEC and Toyota are looked up as a demo.

## `name` (type: `string`):

Partial-match company name search, e.g. トヨタ自動車 or ソニー. Can be combined with the prefecture / city / corporate type filters below. Name search needs your own apiToken.

## `prefecture` (type: `string`):

JIS X 0401 2-digit prefecture code, e.g. 13 = 東京都, 23 = 愛知県, 27 = 大阪府.

## `city` (type: `string`):

JIS X 0402 3-digit city code (requires prefecture).

## `corporateType` (type: `string`):

gBizINFO corporate_type code, e.g. 301 = 株式会社, 302 = 有限会社, 305 = 合同会社.

## `mode` (type: `string`):

auto = look up the given corporate numbers and also run the name search if a name is given.

## `maxItems` (type: `integer`):

Maximum number of company records per run (up to 5000). Without your own apiToken the free demo looks up at most 3 corporate numbers.

## `limit` (type: `integer`):

Number of records requested from the name search (also limited by Max results).

## `page` (type: `integer`):

Search result page number (API allows 1–10).

## `enrichment` (type: `array`):

Optional extra data per company (one extra API call each, still one result per company): procurement, subsidy, certification, commendation, corporation, finance, patent, workplace.

## `metadata` (type: `boolean`):

Pass metadata_flg=true (source and last-update info per field).

## `apiToken` (type: `string`):

Your own free gBizINFO API token (https://info.gbiz.go.jp/hojin/various_registration/form). Without it the Actor runs as a free demo: at most 3 corporate numbers per run and no name search. Skipped inputs are not charged.

## `delaySeconds` (type: `number`):

Polite throttle between API calls (minimum 0.25 s).

## Actor input object example

```json
{
  "corporateNumbers": [
    "7010401022916",
    "1180301018771"
  ],
  "mode": "auto",
  "maxItems": 100,
  "limit": 10,
  "page": 1,
  "enrichment": [],
  "metadata": false,
  "delaySeconds": 0.5
}
```

# Actor output Schema

## `companies` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "corporateNumbers": [
        "7010401022916",
        "1180301018771"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("1rrock/japan-gbizinfo-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "corporateNumbers": [
        "7010401022916",
        "1180301018771",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("1rrock/japan-gbizinfo-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "corporateNumbers": [
    "7010401022916",
    "1180301018771"
  ]
}' |
apify call 1rrock/japan-gbizinfo-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,1rrock/japan-gbizinfo-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/aq6ZyYRedtb9HVrs5/builds/17uNBozDQvyHqo7Di/openapi.json
