ja-normalize
v0.1.2Holidays/business days for 200+ countries; Japanese address, name, bank and company normalization.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
holidays Public holidays (200+ countries)
Public/bank/school holidays for a country and year, with optional region (US-CA → region=CA) and type filter.
| Parameter | Type | Description |
|---|---|---|
country * | string | ISO 3166-1 alpha-2, e.g. US, DE, JP |
year * | integer | |
region | string | |
types | string | comma list: public,bank,school,optional,observance |
business_day Business-day calculator (any country)
Is a date a business day in a country? Add/subtract N business days honouring holidays and the local weekend (e.g. Fri-Sat in Saudi Arabia).
| Parameter | Type | Description |
|---|---|---|
country * | string | |
add | integer | |
calendar | string | |
date | string | YYYY-MM-DD, default today |
region | string | |
weekend | string | override, weekday numbers 0=Sun e.g. 5,6 |
holiday_countries List supported countries / regions (free)
Lists supported country codes, or the regions of one country when `country` is given.
| Parameter | Type | Description |
|---|---|---|
country | string |
jp_business_day Japanese business-day calculator (official 内閣府 data)
Japanese holidays incl. 振替休日/国民の休日; add N business days; 月末営業日; calendar=bank also closes Dec 31–Jan 3.
| Parameter | Type | Description |
|---|---|---|
add | integer | |
calendar | string | |
date | string |
jp_bank_resolve Japanese bank / branch name → codes
Fuzzy-resolve a bank (銀行/信金/信組/労金/JA) and optional branch name to 金融機関コード and 支店コード, with half-width kana for 全銀 files.
| Parameter | Type | Description |
|---|---|---|
bank * | string | |
branch | string |
jp_bank_lookup Japanese bank / branch by code
Exact lookup of a 4-digit bank code (+ optional 3-digit branch code).
| Parameter | Type | Description |
|---|---|---|
bankCode * | string | |
branchCode | string |
jp_name_parse Japanese personal name → family/given, readings, passport romaji
Splits a kanji full name, returns ranked reading candidates with confidence and 外務省 passport romaji. Pass `kana` ("<family> <given>") when known for a deterministic result.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
kana | string |
jp_name_romaji Kana → Hepburn romaji (passport rules)
Deterministic romanization: passport form (SATO, ONO, NAMBA), OH-style, macron and strict forms. Input "さとう ゆうこ" or a single token.
| Parameter | Type | Description |
|---|---|---|
kana * | string |
jp_address_normalize Japanese address normalization + coordinates
Normalizes any Japanese address notation to pref/city/town/block against the Address Base Registry and returns WGS84 coordinates.
| Parameter | Type | Description |
|---|---|---|
address * | string | |
level | integer |
jp_text_normalize Japanese business text normalization
Full-width → half-width, 和暦 → ISO dates, extracts phone numbers (E.164), postal codes and emails from free text.
| Parameter | Type | Description |
|---|---|---|
text * | string |
jp_company_resolve Japanese company name → 法人番号 (NTA registry)
Fuzzy company-name or 13-digit corporate-number lookup with registered address and invoice-number format.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
prefectureCode | string |
jp_crypto_ticker JPY crypto prices + Japan premium
BTC/ETH/XRP prices on bitFlyer, Coincheck, GMO Coin and bitbank, cross-exchange median, USD reference, USD/JPY and the Japan premium vs USD.
| Parameter | Type | Description |
|---|---|---|
symbol | string |