Japanese law restricts personal names to specific kanji (jinmei-yo kanji 人名用漢字). Torify validates names against the official list for legal compliance.
https://torify.dev/v1/name/validate
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
name |
string | Yes | Japanese personal name | 山田太郎 |
{ "ok": true, "data": { "valid": true } }
curl "https://torify.dev/v1/name/validate?name=%E5%B1%B1%E7%94%B0%E5%A4%AA%E9%83%8E"
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/name/validate?name=%E5%B1%B1%E7%94%B0%E5%A4%AA%E9%83%8E'
);
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/name/validate?name=%E5%B1%B1%E7%94%B0%E5%A4%AA%E9%83%8E",
headers={"X-API-Key": "your_torify_pro_key"}
)
print(res.json())
/v1/name/romanize — Japanese Name Romanization API: Passport-Style Hepburn
/v1/name/split — Japanese Name Split API: Surname / Given Name Separation
/v1/kana/convert — Japanese Kana Conversion API
/v1/text/normalize — Japanese Text Normalization API