Japanese postal code API served as static JSON via GitHub Pages
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Developers needing Japanese address autocomplete can now use a free, serverless static JSON API instead of scraping Japan Post data or paying for a hosted lookup service.
A developer has built jp-postal-code-api, a free service that lets programs look up Japanese addresses by the country's seven-digit postal codes. Instead of running servers, it converts official Japan Post data into plain JSON files and hosts them on GitHub Pages, with a daily automated refresh. Each lookup returns the address in Japanese kanji, kana phonetics, and English at once. It matters mainly to developers building forms or apps for the Japanese market.
This project removes a recurring cost for anyone shipping products in Japan: maintaining a postal-code database or paying a third-party address lookup provider. It is free, served as static files from GitHub Pages with no infrastructure to run, and updates daily from official Japan Post data. The main risk is dependence on someone else's GitHub Pages instance, which the project mitigates by allowing anyone to fork the repository and host their own copy.
jp-postal-code-api serves Japan Post data as static JSON at https://jp-postal-code-api.ttskch.com/api/v1/{postal_code}.json, accepting seven-digit codes with or without hyphens. Responses include ja, kana, and en address fields plus a prefecture code; multi-municipality codes like 6180000 (spanning Kyoto and Osaka) return an addresses array, and address4 is always present even when empty. A scheduled GitHub Action regenerates the JSON daily. It is built in modern PHP and succeeds the unmaintained madefor/postal-code-api project.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
jp-postal-code-api Japan Post GitHub Pages GitHub Actions madefor/postal-code-api
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.