Part of a Data Solution
- Explore →
Postal Codes Solution
Every worldwide postal-code dataset in one bundle — the ultimate global reference for precise postal codes.
Premium
You're viewing a free sample
Get the complete dataset — all rows and files — delivered instantly after checkout, with lifetime access to the latest version.
- Secure checkout via Stripe
- Instant download after payment
- Lifetime access to the latest version
- Government Open Data License - India license
API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.yaml to inspect schema and resources
- 2. Download data resources listed in datapackage.yaml
- 3. Read README.md for full context
Data Files
postal-codes-in-sample
| Field | Type | Description | Constraints | Title |
|---|---|---|---|---|
| country_code | string | ISO 3166-1 alpha-2 -- always IN | Country Code | |
| postal_code | string | Indian PIN code (6 digits) | { "pattern": "^\\d{6}$" } | Postal Code |
| place_name | string | Post office name (source: All India Pincode Directory) | Place Name | |
| admin_name1 | string | State/Union Territory -- 36/36 covered, includes Ladakh | Administrative Name 1 | |
| admin_code1 | string | ISO 3166-2:IN code | Administrative Code 1 | |
| admin_name2 | string | District -- 732 distinct values | Administrative Name 2 | |
| admin_code2 | string | Not populated -- no official district code in this source | Administrative Code 2 | |
| admin_name3 | string | Not populated -- no third admin tier in this source | Administrative Name 3 | |
| admin_code3 | string | Not populated | Administrative Code 3 | |
| latitude | number | Source-provided latitude; blanked where the source held a placeholder value (see ATTRIBUTION.txt) | Latitude | |
| longitude | number | Source-provided longitude; blanked where the source held a placeholder value (see ATTRIBUTION.txt) | Longitude | |
| accuracy | string | Not populated -- source coordinate precision could not be independently verified per row | Accuracy | |
| alternative_city_name | string | Not populated in this release | Alternative City Name |
Download
Download sample CSVAbout
- Last updated
- 3 October 2026
- Total rows
- 100
- Format
- CSV
- File size
- 8.94 kB
About this dataset
Postal Codes Dataset for India (IN)
This dataset lists Indian PIN codes with post office names, districts and coordinates across all states and union territories including Ladakh, and their districts. It is built from the All India Pincode Directory, not GeoNames, whose equivalent export is missing Ladakh.
Column definitions, row count, size and last-updated date are in datapackage.yaml.
Data Sources
- PIN codes, post offices, districts, states and coordinates: © Department of Posts, Government of India, All India Pincode Directory, data.gov.in (Open Government Data Platform India), GODL-India. GODL-India permits commercial and non-commercial reuse, adaptation and redistribution with attribution.
Changes made to the source data: state codes given as ISO 3166-2:IN (the source has only state names); district names title-cased; placeholder coordinates blanked; trailing direction letters and signs in coordinates normalised; exact duplicate rows dropped and, where several rows share a pincode, office name and district, one kept, preferring a real coordinate over a placeholder.
Not endorsed by, or affiliated with, the Department of Posts or the Government of India.
See ATTRIBUTION.txt for the full attribution notice.
Known limitations
- Primary key is (
postal_code,place_name,admin_name2). - Some rows have blank coordinates because the source held a placeholder value ("NA" or the pair 1.0000000/1.0000000) rather than a real coordinate.
- Coordinates that were not blanked are shipped as provided by the source. Many rows share one exact coordinate with hundreds of other offices, which likely reflects a division- or district-level approximation rather than office-level precision.
- Where several rows for the same office carried different valid coordinates, one was kept and the ambiguity was not resolved; this affects a small number of offices.
admin_code2,admin_name3,admin_code3,accuracyandalternative_city_nameare empty.
Usage
The dataset files are available in CSV format and can be accessed and downloaded using
the links provided in datapackage.yaml.
For other inquiries, contact datahub@datopian.com