Twinkle HubTwinkle Hub

查縣市基本資料

tw_lookup_county_basic_info

驗證小工具 · 同一族🇹🇼 台灣唯讀

查詢台灣 22 個直轄市/縣市基本資料(人口/面積/首府/ISO/區碼)。 舊名(高雄縣等)會自動對齊到現名。 縣市人口排名 / 最新人口數請用 tw_rt_county_population(內政部戶政司每月統計,一次 22 縣市)。

參數

參數型別說明
county *string—
原始 JSON schema
{
  "properties": {
    "county": {
      "title": "County",
      "type": "string"
    }
  },
  "required": [
    "county"
  ],
  "title": "lookup_county_basic_infoArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_lookup_county_basic_info({ county: "…" })