My Blog List

Showing posts with label pincode. Show all posts
Showing posts with label pincode. Show all posts

Thursday, June 5, 2025

DigiPin Generator – Powered by APIverse

🔐 Introducing DigiPin Generator – Powered by APIverse

In an increasingly digital world, accurately representing physical locations is critical — from deliveries and public services to smart city solutions. Enter DigiPin — a 10-character alphanumeric geocode that uniquely represents a latitude-longitude pair within India’s bounding box.

We are excited to share the DigiPin Generator API, built as part of the open-source APIverse project — a centralized API hub for reusable, modular microservices.


🚀 What Is DigiPin?

DigiPin is a custom geolocation encoding system that takes in latitude and longitude coordinates and returns a compact, user-friendly code like:

39J-34T-T563

Unlike complex coordinates, this format is:

  • ✅ Easy to remember
  • ✅ Hard to mistype
  • ✅ Space-efficient
  • ✅ Consistent across levels of precision

It uses a quad-grid encoding method over India’s bounding box (Lat: 2.5–38.5, Lon: 63.5–99.5), refining precision over 10 levels.


🔧 What Is APIverse?

APIverse is our public .NET-based API platform where we plan to host various utility and productivity APIs. It is:

  • Built with .NET Core Web API
  • Fully modular and extensible

It currently hosts the DigiPin API, with more APIs planned.


📬 How to Use the DigiPin API

Endpoint:

POST /api/digipin

Request:

{
  "latitude": 28.67,
  "longitude": 77.21
}

Response:

{
  "digiPin": "39J-34T-T563"
}

💻 User Interface

To make it user-friendly, a public UI dashboard is also available at:
👉 http://apiverse.runasp.net/

From this dashboard, users can:

  • Enter latitude & longitude
  • Generate and view DigiPins
  • Copy the result to clipboard
  • Access future APIs as they’re released

🔐 Security & Hosting

Both the API and UI are deployed using reliable ASP.NET hosting. We ensure:

  • Input validation
  • Logging for request tracking
  • Cross-origin support (CORS) for public web access

🔐 No Data Storage – Your Privacy Matters

We do not store any user data. No coordinates or DigiPins are saved or logged. The API is completely stateless and focused on real-time usage with full privacy.


🔮 What’s Next?

We're planning to integrate:

  • Reverse DigiPin decoding
  • Nearby DigiPin search
  • Additional public APIs under APIverse (e.g., utilities, geospatial, governance)

🤝 Get Involved

APIverse is designed for public use and developer collaboration. Future updates and documentation will be shared as the project evolves.