🇹🇼 Cities in Taiwan — API & JSON data

Geomelon tracks 8,438 cities in Taiwan, spread across 22 regions. New Taipei is the largest, with a population of 4,046,037. City names are available in 8 languages through the API below.

Data updated: 2026-07-14

Live demo

Type to search Taiwan cities…

Top 10 cities by population

CityRegionPopulation
New Taipei—4,046,037
Taichung—2,853,173
Kaohsiung—2,734,097
Taipei—2,504,731
Taoyuan—2,328,488
Tainan—1,854,682
Taoyuan DistrictTaoyuan473,792
Hsinchu City—457,344
Keelung—361,491
Chiayi CityChiayi County262,852

Sample API response

GET /cities/search?countryCode=tw&sort=population_desc&limit=3

[
  {
    "id": "4d29bfb2-7d43-46db-ab7a-f0c5f31a0aa3",
    "name": "New Taipei",
    "population": 4046037,
    "countryName": "Taiwan",
    "countryCode": "TW",
    "countryEmoji": "🇹🇼",
    "regionName": null
  },
  {
    "id": "85af5ad9-01ed-4c67-a9a4-4b2770e0bb68",
    "name": "Taichung",
    "population": 2853173,
    "countryName": "Taiwan",
    "countryCode": "TW",
    "countryEmoji": "🇹🇼",
    "regionName": null
  },
  {
    "id": "54ba3769-3510-41ce-9580-0d595d4ca873",
    "name": "Kaohsiung",
    "population": 2734097,
    "countryName": "Taiwan",
    "countryCode": "TW",
    "countryEmoji": "🇹🇼",
    "regionName": null
  }
]

Try it

curl --request GET \
  --url 'https://geomelon.p.rapidapi.com/cities/search?countryCode=tw&sort=population_desc&limit=10' \
  --header 'x-rapidapi-host: geomelon.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_API_KEY'

Multilingual city names

City names in Taiwan are available in 8 languages.

Data package

Want the data offline? npm install @geomelon/taiwan ships 8,082 Taiwan cities, 22 regions and multilingual names, no API key. See the Taiwan data package.

FAQ

How many cities in Taiwan does the API return?

Geomelon currently has 8,438 cities in Taiwan across 22 regions. Results are paginated, up to 100 per request.

Is there a free tier?

Yes. RapidAPI's free tier covers a fixed number of requests per month with no credit card required. There is also a free, no-key city-autocomplete endpoint (the demo above) for prefix search.

Can I get Taiwan city names in other languages?

Yes — city names in Taiwan are available in 8 languages. Pass the languages you want via the preferredLanguages parameter, most-preferred first.

Do I need an API key?

The main search and lookup endpoints require a free RapidAPI key. The prefix-search autocomplete endpoint used in the demo above is public and does not require a key.

Try free on RapidAPI

Related