The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. πŸ‡΅πŸ‡° Pakistan Zip Codes
Public

36
34
36
34
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • GraphQL API Playground
    API Playground
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

  1. πŸ‡΅πŸ‡° Pakistan Zip Codes

This is a complete and free database with the Zip Code of Pakistan. It provides more than 11k data rows and includes information about each city and district. The Pakistan city zip code list is ready to use via APIs and available to download.

  • Zip Code
  • Directory
  • Developer
  • Dart
  • Android
  • Country
  • NodeJS
  • REST
  • Download
  • API
  • Java
  • Swift
  • GraphQL
  • Dataset
  • Objective-C
  • Javascript
  • JSON
  • Postal Code
  • Database
  • PHP
  • Flutter
  • Pakistan
  • Kotlin
  • Python

Get StartedFetchΒ Data
ClassClassesDescription
Classpakistan_zip_code_database
List of Pakistan Zip Codes containing the Place Name, Postal Code, Geo Position, District, and Country Code.
NotesNotes

Pakistan Zip Code Database

With a population of over 200 million, Pakistan stands at the 5th number in the list of most populated countries in the world. The Islamic Republic of Pakistan is a sovereign country in South Asia. Being the 5th most populated country in the world, it covers the area of 796,095 square kilometers being the 35th largest nation on the planet. Postal code or postcode is a combination of numbers and letters that is used to sort mails when posting.

Postal Code Structure

In Pakistan, the postal code is a 5-digit number that is added at the end of the shipping address to speed the sorting and delivery of the mails. It was introduced in 1988 in Pakistan. These codes are assigned to the post offices where the receiving address of the mail falls. This postal code can be used as a combination of both or sometimes the postal code can consist of only one of them. Sometimes there can be spaces or punctuation or both included in it to make it proper. The dataset shows the following information for each row:

  • Place Name: Mangloora
  • Zip Code: 10031
  • Coordinates: (32.9708, 73.9806)
  • District: Norhern Punajb Rawalpindi
  • Country Code: PK

An easy to understand example:

So, if we take a look at the Defense Housing Authority, it has a lot of phases in Pakistan only in Karachi. But the Postal code for this place in Karachi is 75500. This number β€œ75500” Will be added at the end of the address of any mail that is meant to be delivered anywhere in DHA Karachi.

History of the Postal code.

To make the mailing system convenient for the future, out of 190, 117 members of different countries if the universal postal union decided to have the system of postal code. This happened in February 2005.

How are the postal codes assigned?

Most of the time the postal codes are assigned to a special geographical location. Other than that, some special locations or individuals also get their special codes. This is done for places like local commercial companies and government agencies where a lot of mails are received.

Free Data

This database is Free to download and open-source under the licence Creative Commons 4.0.

Fetch Data via APIs or Clone the Database

Two options to use this database:

  • Consume data via GraphQL or REST APIs. Please refer to the Getting Started tab above.
  • Copy the database and edit the data. Please refer to the Clone button above.
  • Download data.

Examples of data you can obtain using this database

What is zip code of Pakistan?

To answer this question you can simple use our API Playground to retrieve data and obtain the ZIP codes.

What Pakistan cities and provinces are covered on the Pakistan Zip Code list?

The dataset covers all the cities and provinces. Some examples are listed below:

  • City / Province
  • Karachi / Sindh
  • Lahore / Punjab
  • Faisalabad / Punjab
  • Rawalpindi / Punjab
  • Gujranwala / Punjab
  • Peshawar / Khyber Pakhtunkhwa
  • Multan / Punjab
  • Hyderabad / Sindh
  • Islamabad / Islamabad
  • Quetta / Balochistan

Frequently Asked Questions

How to get an API key?

This simple process can be followed in these steps. Go to the connect button on the top right side of this page and follow the steps.

  • Login.
  • Add the name to your app.
  • Connect and get the API key.

Can the same API Key be used for multiple Databases?

Yes, it is possible to use multiple databases under the same API.

What services are available for free?

All of the data is free, you can get more details about the free and paid packages in the pricing page.

What is meant by API request?

This is a moment when the call to a database is executed using SDKs.

What are the API types which are supported?

Two main API protocols are listed below.

  • GraphQL
  • Rest.

What are the SDKs and Libraries that are supported?

The most common of them are listed below.

  • iOS.
  • JavaScript.
  • Android.

How does the Database Hub work?

You can get the answer at the How it works page.

What is the data source?

The following are the data sources.

  • www.geonames.org
  • Wikipedia

What is the license?

Creative Commons Attribution 4.0 License.

So, this above guide will surely help you to understand everything related to Pakistan postal code and API requests.

Other recommended databases

  • All World Zip Codes
  • India Pin Codes
  • US Counties