inpin

inpin API

A JSON API over the same directory the site uses. One request returns the post offices, district, state and coordinates for a PIN code, in about 20 ms from Cloudflare's edge.

Base URL

https://inpin-api.bizinessinfo.workers.dev

Authentication

Every request needs a key, sent as an X-API-Key header or a ?key= parameter. Keys are issued by email — there is no sign-up form yet.

Endpoints

EndpointReturns
GET /v1/pin/{code}Area, district, state, circle, division, coordinates and every post office under that PIN
GET /v1/search?q=Up to 10 matching PIN codes by area, office or PIN prefix
POST /v1/validateWhich of up to 500 PIN codes exist, and the area for each
GET /v1/healthService status. No key required.

Examples

curl -H "X-API-Key: YOUR_KEY"   https://inpin-api.bizinessinfo.workers.dev/v1/pin/110001

curl -H "X-API-Key: YOUR_KEY"   "https://inpin-api.bizinessinfo.workers.dev/v1/search?q=andheri"

curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json"   -d '{"pins":["110001","999999"]}'   https://inpin-api.bizinessinfo.workers.dev/v1/validate

Response

{
  "pin": "110001",
  "area": "New Delhi GPO",
  "district": "New Delhi",
  "state": "Delhi",
  "post_office": "New Delhi GPO",
  "office_type": "HO",
  "delivery": true,
  "circle": "Delhi",
  "division": "New Delhi Central",
  "offices_count": 23,
  "latitude": 28.60612,
  "longitude": 77.22093,
  "offices": [{ "name": "Sansad Marg HO", "type": "HO", "delivery": false,
                "division": "New Delhi Central" }]
}

Plans

PlanRequestsPrice
Trial100 / dayFree, 14 days
Starter10,000 / day₹499 / month
Business100,000 / day₹1,999 / month

Billing is by UPI for now, monthly, cancellable any time. A key is issued within a few hours of payment.

Terms that matter

Get a key

Email [email protected] with what you are building and the plan you want. A trial key is free.

Last reviewed 2026-12-03.