🇹🇼 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 Taipei4,046,037
Taichung2,853,173
Kaohsiung2,734,097
Taipei2,504,731
Taoyuan2,328,488
Tainan1,854,682
Taoyuan DistrictTaoyuan473,792
Hsinchu City457,344
Keelung361,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.

Free dataset

Prefer a static file? Download 5,000 Taiwan cities as JSON (776 KB, no API key) from the Taiwan cities dataset page.

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