Home / API Library / Addresses And Pin Code API / Pin Code Verification
Addresses And Pin Code API

Pin Code Verification

Verify any Indian PIN code and resolve it into area, city, district and state details.

TLS 1.3 Encrypted DPDP-Aligned Sub-300ms Median One Key, Every API

What is the Pin Code Verification?

The BILAPI Pincode Verification API validates any Indian 6-digit PIN code and resolves it into the area, city, district, state and post-office details it belongs to — perfect for validating shipping and KYC addresses and auto-filling address forms.

E-commerce, logistics, lending and onboarding platforms use it to confirm a PIN code is real, auto-populate city and state from the PIN, and reduce address-entry errors and failed deliveries.

Send a 6-digit PIN code and receive the full area details as JSON in milliseconds.

What the Pin Code Verification returns

Every successful call returns a clean, predictable JSON envelope. The data object includes the fields below (exact fields vary by record availability).

FieldDescription
pincodeThe PIN code that was verified.
areaArea / locality name(s) for the PIN.
cityCity or taluk.
districtDistrict.
stateState.
post_officeAssociated post office name(s).

Sample request & response

Call the endpoint with your API key in the X-Bilapi-Api-Key header. The same request shape works in the free sandbox and in production.

Request
POST https://api.bilapi.com/v1/pin-code-verification
X-Bilapi-Api-Key: <your_api_key>
Content-Type: application/json

{
  "pincode": "411001"
}
Response
{
  "status_code": 200,
  "success": true,
  "message": "PIN code verified",
  "data": {
    "pincode": "411001",
    "area": "Pune City",
    "city": "Pune",
    "district": "Pune",
    "state": "Maharashtra",
    "post_office": "Pune G.P.O."
  }
}

Key features

Real-time results

Sub-300ms median response so pincode checks never slow your onboarding funnel.

Predictable JSON

The same clean response envelope as every BILAPI endpoint — parse once, reuse everywhere.

Only pay for hits

Invalid inputs and failed lookups are never charged to your wallet.

Secure by design

TLS 1.3 in transit, PII tokenisation at rest and a full audit log on every request.

One key, every API

Sandbox to production on a single key — no per-vendor contracts or integrations.

Built to scale

99.9% uptime target with bulk and webhook-friendly workflows for high volume.

Where it's used

Customer onboarding

Auto-fill and validate identity during signup to cut drop-off and manual review.

Lending & underwriting

Add a verified data point to credit decisions and reduce first-party fraud.

Fraud & risk

Flag mismatches and synthetic identities before they enter your system.

Compliance & audit

Keep a tamper-evident trail of every verification for KYC/AML reviews.

How it works

1

Create a free account

Sign up on the BILAPI console and get a live API key instantly.

2

Send a request

POST the required pincode fields to the endpoint with your API key in the header.

3

Get structured JSON

Receive a clean, predictable JSON response in milliseconds.

4

Plug into your flow

Drop the result straight into onboarding, underwriting or risk decisioning.

Frequently asked questions

What does the Pincode Verification API return?

From a 6-digit PIN code it returns the area/locality, city, district, state and post office details as JSON.

What is the input?

A single Indian 6-digit PIN code, for example 411001.

Can I auto-fill city and state from a PIN?

Yes — a common use is populating city and state automatically when a user enters their PIN, reducing errors in shipping and KYC addresses.

How fast is the lookup?

PIN lookups typically complete in well under 300ms at the median.

Is there a free sandbox?

Yes, every account includes a sandbox before you move to production.

Start verifying with BILAPI

One key, a free sandbox and a predictable JSON envelope across every endpoint.

Get your API key