Skip to content
FinHubBy HabileLabs

Address Intelligence

Calculate the straight-line distance between any two Indian pincodes in a single API call.

api · POST /v1/kyc/verify
POST /v1/kyc/verify
Authorization: Bearer sk_live_••••
{ "pan": "XXXXX1234F", "consent_artifact": "ca_9f2c…" }

Overview

What the Pincode Distance API does

FinHub's Pincode Distance API resolves the geo-coordinates of two Indian PIN codes and computes the distance between them. It gives BFSI teams a fast, consistent way to assess geographic risk, plan agent allocation, and validate service-area eligibility without maintaining their own PIN-to-location mapping.

Inputs

  • Origin pincode
  • Destination pincode

Returns

  • Straight-line distance (km)
  • Origin city and state
  • Destination city and state
  • Calculation method used

POST /v1/address/pincode-distance

How it works

Three steps to a verified result

01

Submit two pincodes

Submit two valid Indian PIN codes.

02

Resolve & calculate

FinHub resolves each pincode's geo-coordinates and computes the haversine distance between them.

03

Return distance result

Returns the distance in kilometres along with resolved location details, logged for audit.

Use cases

Where teams use Pincode Distance

  • Allocating branch or field agents by proximity to the customer
  • Assessing geographic risk for cross-region loan or policy applications
  • Checking service-area eligibility before onboarding
  • Estimating logistics cost for physical document collection

FAQ

Pincode Distance API — FAQs

Common questions about FinHub's Pincode Distance API.

The API returns straight-line (haversine) distance based on each PIN code's resolved geo-centroid, which is well suited for risk and eligibility checks rather than turn-by-turn routing.

Ready to add Pincode Distance to your flow?

Book a demo and see the API return a verified result on your own test data in minutes.