Boundary API
Real-time access to the geographical boundaries of a location, right at your fingertips.
Get Quality Information for a Boundary
GET
Shows Quality score, address components, missing components, and metadata for an address
Headers
x-api-key*
String
Authentication Key
content-type*
String
application/json
Request Body
boundary
String
Boundary string with or without commas
Query Structure
curl -X GET --location --header "Accept:application/json" --header "Content-Type: application/json" -H "Authorization: Bearer " -d '{"user.locations": "29.962358,77.539901"}' https://api.ghumelu.com/v2/boundary{"kind":"ghumelu#BoundayAPIResponse","etag":"4caf61bda19f1d784217a1e107c-90545","pageInfo":{"totalResults":1,"resultsPerPage":1},"items":{"boundary":["IN"]}}curl -X GET --location --header "Accept:application/json" --header "Content-Type: application/json" -H "Authorization: Bearer" -d '{"user.locations": "29.962358,77.539901"}' https://api.ghumelu.com/v2/boundary/language{"kind":"ghumelu#BoundayAPILanguageResponse","etag":"fd306d910897cb01ed6be55bd93-efc63","pageInfo":{"totalResults":1,"resultsPerPage":1},"items":{"language":[[{"hi":{"label":"Hindi","official":false,"administrative-use":false,"commercial-use":false,"national-use":false,"distribution":"30%"}},{"en":{"label":"English","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"bn":{"label":"Bengali","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"gu":{"label":"Gujarati","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"ks":{"label":"Kashmiri","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"ml":{"label":"Malayalam","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"mr":{"label":"Marathi","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"or":{"label":"Oriya","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"pa":{"label":"Punjabi","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"ta":{"label":"Tamil","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"te":{"label":"Telugu","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"ur":{"label":"Urdu","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"kn":{"label":"Kannada","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"as":{"label":"Assamese","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"sa":{"label":"Sanskrit","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"sd":{"label":"Sindhi","official":true,"administrative-use":false,"commercial-use":false,"national-use":false}},{"hi":{"label":"Hindi","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"ur":{"label":"Urdu","official":false,"administrative-use":false,"commercial-use":false,"national-use":false}},{"dialect":["Regional languages"]}]]}}Response Structure
curl --request GET --location
'https://api.ghumelu.com/v2/boundary/language/?user.locations=[user's latitude, user's longitude]&key=[YOUR_API_KEY]'
\
--header 'Authorization: Bearer $BEARER_TOKEN' {
"kind": "ghumelu#boundaryLanguageResponse",
"etag": "g2524LdBjHrCj5tu58udI-LCOU0",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 5
},
"items": {
"language": "[widely spoken language label]"
}
}Response Overview
Boundary Components: Contains an array of address components with a json object containing
{
"componentType": "Zip Code",
}Boundaries
Search for boundaries to understand the geographical segmentation of any user around the world.
Zip Code
Identify the location with globally identified zonal code to pinpoint the user location and stay ahead in delivering relatable content.
Languages
Look up and search regional languages to help people in finding content in their way of communication.
Get your API key
All API requests are authenticated using API key. Any request that doesn't include an API key will return an error.
You can get an API key from your Ghumelu Console dashboard to get started.

curl --request GET --location
'https://api.ghumelu.com/v2/boundary/language/?user.locations=[user's latitude, user's longitude]&key=[YOUR_API_KEY]'Last updated