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

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.