Get location detail for a geo ID
curl --request GET \
--url https://api.homelogs.io/v1/locations/{geo_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.homelogs.io/v1/locations/{geo_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.homelogs.io/v1/locations/{geo_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.homelogs.io/v1/locations/{geo_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.homelogs.io/v1/locations/{geo_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.homelogs.io/v1/locations/{geo_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.homelogs.io/v1/locations/{geo_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"geo_id": "<string>",
"display_name": "<string>",
"full_address": "<string>",
"state": "<string>",
"county": "<string>",
"city": "<string>",
"zipcode": "<string>",
"jurisdiction": "<string>",
"lat": 123,
"lon": 123,
"permit_count": 1,
"latest_permit_date": "2023-12-25"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "state must be a 2-letter code",
"request_id": "req-123"
}
}{
"message": "<string>"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "state must be a 2-letter code",
"request_id": "req-123"
}
}{
"message": "<string>"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "state must be a 2-letter code",
"request_id": "req-123"
}
}Core Endpoints
Location Detail
GET
/
v1
/
locations
/
{geo_id}
Get location detail for a geo ID
curl --request GET \
--url https://api.homelogs.io/v1/locations/{geo_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.homelogs.io/v1/locations/{geo_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.homelogs.io/v1/locations/{geo_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.homelogs.io/v1/locations/{geo_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.homelogs.io/v1/locations/{geo_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.homelogs.io/v1/locations/{geo_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.homelogs.io/v1/locations/{geo_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"geo_id": "<string>",
"display_name": "<string>",
"full_address": "<string>",
"state": "<string>",
"county": "<string>",
"city": "<string>",
"zipcode": "<string>",
"jurisdiction": "<string>",
"lat": 123,
"lon": 123,
"permit_count": 1,
"latest_permit_date": "2023-12-25"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "state must be a 2-letter code",
"request_id": "req-123"
}
}{
"message": "<string>"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "state must be a 2-letter code",
"request_id": "req-123"
}
}{
"message": "<string>"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "state must be a 2-letter code",
"request_id": "req-123"
}
}Returns the canonical metadata for one
geo_id (name, type, hierarchy context).
Use this to confirm exactly which geography the client selected before fetching permits or signals.Authorizations
Path Parameters
Location identity token.
Example:
"geo_city_0200d4df17d3b8cd84c6"
Response
Location anchor details.
Available options:
property, jurisdiction, city, zip, county, state Required range:
x >= 0Was this page helpful?
⌘I

