DigiPin Api

Steps to Obtain Your Digipin API Token

  • Click on the “Get Started” button to register yourself.
  • Complete all required personal, organization, and domain details, including the domain from which the API requests will originate. The token will be issued specifically for this domain.

  • Use the provided API token in your requests when you wish to find the Digipin for a location.
  • The API will require you to pass latitude and longitude parameters in your query.
  • One token is valid for only one domain—ensure requests originate from the registered domain.

  • Pass your latitude and longitude to the API along with the token in the request header or body.
  • The API will respond with the corresponding Digipin linked to those coordinates.
Registration Api-Token Retrive-Digipin

Code Format

  {
  "url": "https://www.knowaboutdigipin.com/api/location/getdigipin",
  "method": "POST",
  "headers": {
    "Content-Type": "application/json",
    "Authorization": "Bearer YOUR_API_TOKEN"
  },
  "body": {
    "lat": 30.701266,
    "lon": 76.699006
  }
}

      

Json

{
"status":"success",
"latitude":30.701266,
"longitude":76.699006,
"digiPin":"CM7-M7M-7JFK"
}