Get locations by geo
curl --request POST \
--url https://api2.rhombussystems.com/api/location/getLocationsByGeo \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"latitude": 37.7749,
"longitude": -122.4194
}
'import requests
url = "https://api2.rhombussystems.com/api/location/getLocationsByGeo"
payload = {
"latitude": 37.7749,
"longitude": -122.4194
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({latitude: 37.7749, longitude: -122.4194})
};
fetch('https://api2.rhombussystems.com/api/location/getLocationsByGeo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/location/getLocationsByGeo")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"latitude\": 37.7749,\n \"longitude\": -122.4194\n}")
.asString();{
"locations": [
{
"address1": "<string>",
"address2": "<string>",
"countryCode": "<string>",
"floorPlans": [
{
"eastEdge": 123,
"floorLabel": "<string>",
"floorNumber": 123,
"imageUrl": "<string>",
"mediaUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"northEdge": 123,
"rotation": 123,
"southEdge": 123,
"westEdge": 123
}
],
"labels": [
"<string>"
],
"latitude": 123,
"longitude": 123,
"name": "<string>",
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"postalCode": "<string>",
"subLocations": "<array>",
"tz": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
]
}Location Webservice
Get locations by geo
Get list of locations given latitude and longitude
POST
/
api
/
location
/
getLocationsByGeo
Get locations by geo
curl --request POST \
--url https://api2.rhombussystems.com/api/location/getLocationsByGeo \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"latitude": 37.7749,
"longitude": -122.4194
}
'import requests
url = "https://api2.rhombussystems.com/api/location/getLocationsByGeo"
payload = {
"latitude": 37.7749,
"longitude": -122.4194
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({latitude: 37.7749, longitude: -122.4194})
};
fetch('https://api2.rhombussystems.com/api/location/getLocationsByGeo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/location/getLocationsByGeo")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"latitude\": 37.7749,\n \"longitude\": -122.4194\n}")
.asString();{
"locations": [
{
"address1": "<string>",
"address2": "<string>",
"countryCode": "<string>",
"floorPlans": [
{
"eastEdge": 123,
"floorLabel": "<string>",
"floorNumber": 123,
"imageUrl": "<string>",
"mediaUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"northEdge": 123,
"rotation": 123,
"southEdge": 123,
"westEdge": 123
}
],
"labels": [
"<string>"
],
"latitude": 123,
"longitude": 123,
"name": "<string>",
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"postalCode": "<string>",
"subLocations": "<array>",
"tz": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
]
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
Available options:
api-token, api, partner-api-token, partner-api Body
application/json
Response
200 - application/json
OK
Response object containing list of locations given latitude and longitude.
Collection of locations found at the specified coordinates
Show child attributes
Show child attributes
Last modified on October 5, 2026