Japanese addresses start with a 7-digit postal code. E-commerce checkout flows, EOR systems, and shipping integrations all rely on instant code → prefecture/city/town auto-fill. Torify provides this with a single API call backed by zipcloud.
https://torify.dev/v1/postal/lookup
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
zipcode |
string | Yes | 7-digit Japanese postal code (with or without hyphen) | 1000001 |
all |
boolean | No | When true, returns all addresses if the postal code maps to multiple towns | true |
{
"ok": true,
"data": {
"zipcode": "1000001",
"prefecture": "東京都",
"city": "千代田区",
"town": "千代田"
}
}
curl "https://torify.dev/v1/postal/lookup?zipcode=1000001"
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/postal/lookup?zipcode=1000001'
);
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/postal/lookup?zipcode=1000001",
headers={"X-API-Key": "your_torify_pro_key"}
)
print(res.json())
Shopify, Klaviyo, and EC platforms serving Japanese customers need instant address lookup when a 7-digit postal code is entered. Reduces checkout abandonment.
Deel, Remote.com, Rippling validate Japanese employee residential addresses against postal codes before processing tax withholding.
Agents extracting addresses from web pages can resolve postal codes to canonical prefecture/city/town names for downstream geocoding or deduplication.
/v1/address/normalize — Japanese Address Normalization API
/v1/region/lookup — Japan Region Code Lookup: JIS X 0402 API
/v1/coordinate/convert — Japan Coordinate Conversion API: WGS84 ↔ JGD2011