📡 DigiPin API Documentation
The DigiPin API enables developers to generate and decode DigiPin digital addresses using latitude and longitude coordinates. DigiPin provides a standardized, precise location reference suitable for logistics, governance, emergency services, and mapping applications.
🚀 Getting Started
The API uses REST-based POST requests with API key authentication. To request access, please contact us through our official support channels.
🔐 Authentication
Headers: x-api-key: YOUR_API_KEY Content-Type: application/json
📍 Endpoint: Generate DigiPin
POST https://digipin.sostabazar.in/api/generate.php
{
"latitude": 28.613939,
"longitude": 77.209023
}
{
"digipin": "39J-438-TJ9F"
}
🧭 Endpoint: Decode DigiPin
POST https://digipin.sostabazar.in/api/decode.php
{
"digipin": "39J-438-TJ9F"
}
{
"latitude": 28.613935,
"longitude": 77.209032
}
📦 Use Cases
- Rural and urban digital addressing
- Logistics and delivery optimization
- Emergency and disaster response
- Mobile and web-based location services
- Land and governance systems
💡 Best Practices
- Use HTTPS for all API requests
- Never expose API keys publicly
- Validate coordinates before submission
- Implement caching where applicable
❗ Legal Disclaimer
This service is built using the open-source DigiPin framework released by India Post: GitHub Repository . This website is not affiliated with India Post or the Government of India.
For corrections or queries, email: postalupdates[at]gmail[dot]com