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

Name
Type
Description

x-api-key*

String

Authentication Key

content-type*

String

application/json

Request Body

Name
Type
Description

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

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

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'

Response Overview

  1. Boundary Components: Contains an array of address components with a json object containing

 {
"componentType": "Zip Code",
}
  1. Boundaries

Search for boundaries to understand the geographical segmentation of any user around the world.

  1. Zip Code

Identify the location with globally identified zonal code to pinpoint the user location and stay ahead in delivering relatable content.

  1. 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