πŸ‡΅πŸ‡° Cities in Pakistan β€” API & JSON data

Geomelon's Pakistan coverage: 6,249 cities across 6 regions, with name translations in 26 languages β€” start with Karachi, the country's largest city at 14,910,352 people.

Data updated: 2026-07-14

Live demo

Type to search Pakistan cities…

Top 10 cities by population

CityRegionPopulation
KarachiSindh14,910,352
Lahoreβ€”11,126,285
Faisalabadβ€”3,203,846
Rawalpindiβ€”2,098,231
Gujranwalaβ€”2,027,001
PeshawarKhyber Pakhtunkhwa1,970,042
Multanβ€”1,871,843
HyderabadSindh1,732,693
Gulshan TownSindh1,200,000
IslamabadIslamabad Capital Territory1,014,825

Sample API response

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

[
  {
    "id": "98699067-bf2e-42d6-af3a-0e67a4d92661",
    "name": "Karachi",
    "population": 14910352,
    "countryName": "Pakistan",
    "countryCode": "PK",
    "countryEmoji": "πŸ‡΅πŸ‡°",
    "regionName": "Sindh"
  },
  {
    "id": "806dd979-7b2f-420d-8899-1fc28596eb46",
    "name": "Lahore",
    "population": 11126285,
    "countryName": "Pakistan",
    "countryCode": "PK",
    "countryEmoji": "πŸ‡΅πŸ‡°",
    "regionName": null
  },
  {
    "id": "2133b41e-c87a-4f36-a819-bbdea5c58e6e",
    "name": "Faisalabad",
    "population": 3203846,
    "countryName": "Pakistan",
    "countryCode": "PK",
    "countryEmoji": "πŸ‡΅πŸ‡°",
    "regionName": null
  }
]

Try it

curl --request GET \
  --url 'https://geomelon.p.rapidapi.com/cities/search?countryCode=pk&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 Pakistan are available in 26 languages.

Free dataset

Prefer a static file? Download 203 Pakistan cities as JSON (29 KB, no API key) from the Pakistan cities dataset page.

FAQ

How many cities in Pakistan does the API return?

Geomelon currently has 6,249 cities in Pakistan across 6 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 Pakistan city names in other languages?

Yes β€” city names in Pakistan are available in 26 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