Every Japanese legal entity has a 13-digit corporate number (法人番号) issued by the National Tax Agency. It's required for B2B invoicing, KYC, and Due Diligence. The NTA publishes the data but only via XML and Japanese-only documentation. Torify wraps it in a clean English REST API.
https://torify.dev/v1/houjin/lookup
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
number |
string | Yes | 13-digit Japanese corporate number (法人番号) | 8010401050783 |
{
"ok": true,
"data": {
"number": "8010401050783",
"name": "...",
"address": "...",
"status": "active",
"confidence": 0.99
}
}
curl "https://torify.dev/v1/houjin/lookup?number=8010401050783"
import { wrapFetchWithPayment } from 'x402-fetch';
import { privateKeyToAccount } from 'viem/accounts';
const account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);
const fetchWithPayment = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPayment(
'https://torify.dev/v1/houjin/lookup?number=8010401050783'
);
const data = await res.json();
console.log(data); // { ok: true, data: { ... } }
import requests
# Free MCP tier (no auth) or API key (X-API-Key header)
res = requests.get(
"https://torify.dev/v1/houjin/lookup?number=8010401050783",
headers={"X-API-Key": "your_torify_pro_key"}
)
print(res.json())
Pipedrive, HubSpot, Salesforce users enter just the 13-digit 法人番号 and Torify returns the canonical company name, address, and active status — eliminating manual data entry.
When a Japan-based merchant signs up, automated KYC verifies the 法人番号 is valid and the company is active. Torify returns confidence scores for cancelled or dissolved entities.
Agents reading invoices need to confirm the issuing company matches the 法人番号 on file. Torify returns both name and address for cross-validation against invoice content.
/v1/industry/lookup — Japan Industry Code Lookup: JSIC API
/v1/invoice/validate — Japan Invoice Number Format Validation API
/v1/invoice/verify — Japan Invoice Verification: Qualified Invoice (T-Number) API
/v1/tax/calculate — Japan Consumption Tax Calculation API