placedb

Countries

🇹🇼 Taiwan 22 administrative divisions

22 first-level administrative divisions (states, provinces, regions or counties, depending on the country) and 8,214 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.

The country

ISO 3166-1
TW · TWN · 158
Capital
Taipei
Continent
Asia
Currency
TWD, New Taiwan dollar
Calling code
+886
Internet domain
.tw
Divisions
22
Cities and towns
8,214

Divisions

The 22 divisions of Taiwan

22 of them carry an ISO 3166-2 code. Counts are cities and towns inside each division.

Division ISO 3166-2 Cities and towns Population
Changhua County TW-CHA 619 1,277,824
Chiayi City TW-CYI 90 251,938
Chiayi County TW-CYQ 379 481,667
Hsinchu City TW-HSZ 103 499,348
Hsinchu County TW-HSQ 232 632,975
Hualien County TW-HUA 193 315,784
Kaohsiung TW-KHH 938 2,733,964
Keelung TW-KEE 165 360,429
Kinmen County TW-KIN 44 139,689
Lienchiang County TW-LIE 27 13,635
Miaoli County TW-MIA 296 521,804
Nantou County TW-NAN 281 474,797
New Taipei City TW-NWT 1,067 4,046,037
Penghu County TW-PEN 102 106,768
Pingtung County TW-PIF 479 792,004
Taichung TW-TXG 666 3,033,885
Tainan TW-TNN 693 1,874,686
Taipei TW-TPE 472 2,442,991
Taitung County TW-TTT 158 210,673
Taoyuan TW-TAO 546 2,352,683
Yilan County TW-ILA 250 433,191
Yunlin County TW-YUN 414 590,965

A further 0 places could not be matched to a division and are listed separately in the API as "unassigned": true.

Get it

Both files, in one request each

# every division of Taiwan
curl -s https://api.placedb.org/v1/regions/TW.json

# the cities and towns of one division (id from the file above)
curl -s https://api.placedb.org/v1/cities/TW/<id>.json

No key, no account, no rate limit. The endpoints · try it live.