Skip to content

Government Documents APIs

Access government data APIs for location and address verification. These APIs provide real-time access to India Post pincode data — essential for address validation, logistics routing, and form auto-fill.

Use cases

IndustryUse case
E-commerce & logisticsMap pincodes to districts and regions for delivery planning
Financial servicesValidate customer addresses during onboarding
SaaS platformsAuto-fill city, district, and state from a pincode
InsuranceVerify policyholder addresses
Government portalsAddress standardization for citizen services

Available endpoints

EndpointMethodPathDescription
Pincode DetailsGET/vas-api/v1/pincode-detailsGet district, division, region, state, and country code

Authentication

All Government Documents endpoints require an OAuth2 Bearer token. You need to:

  1. Sign up for a developer account
  2. Get an access token using your client credentials
  3. Include the token in every request: Authorization: Bearer YOUR_ACCESS_TOKEN

Quick example

Look up location details for a pincode:

bash
curl -X GET "https://api.api4business.com/vas-api/v1/pincode-details?pincode=400059" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Error handling

See Government Documents Error Codes for the complete list, or the Error Handling Guide for retry patterns.

What's next

Released under the API4Business Terms of Service