Terracoding API
Fast, flexible access to the planet earth coding service at any scale in real-time.
Real-time access to the location demographics
Headers
Name
Type
Description
Request Body
Name
Type
Description
Query Structure
curl --request GET --location
'https://api.ghumelu.com/v2/terracoding/?user.locations=[user's latitude1, user's longitude1|user's latitude2, user's longitude2]&key=[YOUR_API_KEY]'
\
--header 'Authorization: Bearer $BEARER_TOKEN' {
"kind": "ghumelu#TerracodingResponse",
"etag": "g2524LdBjHrCj5tu58udI-LCOU0",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 5
},
"items": {
"terracoding": [
{
"house_number": {
"status": "false",
"label": "Location's House Number"
},
"street": {
"status": "false",
"label": "Location's Street"
},
"locality": {
"status": "false",
"label": "Location's Locality"
},
"sub-locality": {
"status": "false",
"label": "Location's Sub-Locality"
},
"city": {
"status": "true",
"label": "Location's City"
},
"state": {
"status": "true",
"label": "Location's State"
},
"country": {
"status": "true",
"label": "Location's Country"
},
"pincode": {
"status": "true",
"label": "Location's Pincode"
},
"continent": {
"status": "true",
"label": "Location's Continent"
},
"latitude": {
"status": "true",
"label": "Location's Latitude"
},
"longitude": {
"status": "true",
"label": "Location's Longitude"
},
"address": {
"status": "true",
"label": "Location's Complete Address"
}
}
]
}
}Example
Response Overview
Note:
Note:
Get your API key
Last updated