← ClaudeAtlas

postal-addresslisted

台灣郵遞區號與地址英譯——3 碼郵遞區號查詢、縣市鄉鎮/村里/路街的中英對照(漢語拼音)。郵遞區號、地址英文怎麼寫、路名拼音、巷弄英譯的問題適用。免 API 金鑰、免登入。完整 3+3 投遞區段查詢不適用(見限制一節)。
tahodev/baodao-skill · ★ 1 · AI & Automation · score 77
Install: claude install-skill tahodev/baodao-skill
# postal-address > 實測日:2026-09-20(最近一次端對端實測;數值基準日各自標於內文) 用中華郵政官網下載區的公開對照表查郵遞區號(前 3 碼)與地址英譯。不需要 API 金鑰或登入。下載區總頁:https://www.post.gov.tw/post/internet/Download/all_list.jsp?ID=2201 (2026-09-12 實測可連)。**TXT 檔是 Big5 編碼**,處理前先 `iconv -f big5 -t utf-8`;XML 檔(County_h_10906.xml 等)是 UTF-8,**不要**過 iconv,會轉壞。 ## 1. 3 碼郵遞區號(各鄉鎮市區) ```bash curl -sm 30 'https://www.post.gov.tw/post/download/103.12.25-%E8%87%BA%E7%81%A3%E5%9C%B0%E5%8D%80%E9%83%B5%E9%81%9E%E5%8D%80%E8%99%9F%E5%89%8D3%E7%A2%BC%E4%B8%80%E8%A6%BD%E8%A1%A8.txt' | iconv -f big5 -t utf-8 > /tmp/zip3.txt grep '大安' /tmp/zip3.txt ``` 2026-09-12 實測:HTTP 200、純文字表格,依縣市分欄列出鄉鎮市區與 3 碼(例:台北市大安區 106)。另有經緯度版(XML):`https://www.post.gov.tw/post/download/1050812_%E8%A1%8C%E6%94%BF%E5%8D%80%E7%B6%93%E7%B7%AF%E5%BA%A6%28toPost%29.xml`。 ## 2. 地址英譯對照(漢語拼音,三層) ```bash # 縣市鄉鎮中英對照(XML,54KB,UTF-8 編碼,直接讀取即可) curl -sm 30 -o /tmp/county.xml 'https://www.post.gov.tw/post/download/County_h_10906.xml' # 村里文字巷中英對照(TXT,約 222KB) curl -sm 30 'https://www.post.gov.tw/post/download/%E6%9D%91%E9%87%8C%E6%96%87%E5%AD%97%E5%B7%B7%E4%B8%AD%E8%8B%B1%E5%B0%8D%E7%85%A7.TXT' | iconv -f big5 -t utf-8 > /tmp/village.txt # 路街中英對照(TXT,約 743KB,115/01/16 更新) curl -sm 30 'https://www.post.gov.tw/post/download/%E4%B8%AD%E8%8B%B1%E6%96%87%E8%A1%97%E8%B7%AF%E5%90%8D%E7%A8%B1%E5%B0%8D%E7%85%A7%E6%AA%941130401.TXT' | iconv -f big5 -t utf-8 > /tmp/roads.txt ``` 2026-09-12 實測:三個檔都 HTTP 200。路街檔是兩欄 CSV 格式 `中文路名,English Name`(例:`一工路,Yigong Rd.`、`一心二路,Yixin 2nd Rd.`)。組英文地址時順序反轉(英文由小