India Pincode Lookup API: Bulk Postal Code Details avatar

India Pincode Lookup API: Bulk Postal Code Details

Pricing

$2.00 / 1,000 results

Go to Apify Store
India Pincode Lookup API: Bulk Postal Code Details

India Pincode Lookup API: Bulk Postal Code Details

Look up many Indian pincodes at once: post offices, district, state, delivery status. Built on public postal data. Pay per result.

Pricing

$2.00 / 1,000 results

Rating

0.0

(0)

Developer

Jay Gaikwad

Jay Gaikwad

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Features

Limited permissions

Share

India PIN Code Bulk Lookup

Look up Indian PIN codes in bulk and get the post-office records returned by the source for each PIN as structured JSON: post office name, branch type, delivery status, district, division, region, state, circle, block, and country.

Source: api.postalpincode.in — a third-party public API that returns post-office records associated with Indian PIN codes (unofficial; not operated by India Post).

What it does

  • Accepts up to 500 PIN codes per run.
  • Validates each PIN code as exactly 6 digits (no leading zero) before any network call.
  • For each valid PIN, fetches https://api.postalpincode.in/pincode/<pin> (polite: ~1 request per second) and pushes one dataset row per post office returned.
  • PIN codes that fail validation, have no records, or hit a network error are returned as a single found=false row with a clear reason — no empty rows, no silent drops.
  • If the API response shape changes (e.g. missing Status, non-array PostOffice, mismatched PIN, missing Name), the run fails loudly with a LayoutChangedError instead of pushing bad data.

Input

FieldTypeRequiredDescription
pincodesarray of stringsyesUp to 500 Indian PIN codes, each 6 digits. Ints/floats are coerced; duplicates are removed; invalid values are reported back as found=false rows.

Example:

{
"pincodes": ["411001", "110001", "560001", "99999"]
}

Output sample

Example record (illustrative; values vary):

{
"pincode": "411001",
"found": true,
"name": "Pune",
"branchType": "Head Post Office",
"deliveryStatus": "Delivery",
"district": "Pune",
"division": "Pune City East",
"region": "Pune",
"state": "Maharashtra",
"circle": "Maharashtra",
"block": "Pune City",
"country": "India",
"scrapedAt": "2025-01-01T00:00:00Z"
}

Invalid input produces (illustrative; values vary):

{
"pincode": "99999",
"found": false,
"reason": "Invalid PIN code: must be exactly 6 digits, no leading zero.",
"scrapedAt": "2025-01-01T00:00:00Z"
}

Pricing

$2 per 1,000 results (Apify default pay-per-result on dataset items). Every row pushed to the dataset counts as one billed result — including found=false rows for invalid input, no records, or network errors.

Limits

  • Max 500 PIN codes per run (extra entries are truncated with a warning).
  • Polite rate limit: ~1 request per second to the public API.
  • Public data only. No login, no captchas, no personal data.
  • Data source terms: this Actor relies on api.postalpincode.in. No usage terms are referenced by the source; the endpoint's terms are set by its operator and could not be verified here. Please check the endpoint's terms before commercial redistribution or high-volume use.

Disclaimer

This is an unofficial Actor and is not affiliated with India Post. It uses a third-party public API (api.postalpincode.in) that returns post-office records associated with Indian PIN codes. Availability, completeness, and correctness of the data are not guaranteed — the data is provided as-is, and no guarantee of accuracy, completeness, or availability is made. Do not rely on this for postal, legal, or delivery-critical decisions without verifying against official India Post sources.

This Actor is not affiliated with, endorsed by, or supported by India Post, the Department of Posts, or the Government of India. Upstream terms are set by api.postalpincode.in; please confirm the endpoint's usage terms before high-volume use.