curl --request GET \
--url https://app.realie.ai/api/public/premium/comparables/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.realie.ai/api/public/premium/comparables/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.realie.ai/api/public/premium/comparables/', 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://app.realie.ai/api/public/premium/comparables/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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://app.realie.ai/api/public/premium/comparables/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://app.realie.ai/api/public/premium/comparables/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.realie.ai/api/public/premium/comparables/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"comparables": [
{
"property": {}
}
],
"metadata": {
"count": 123,
"searchParams": {},
"full": true
}
}{
"error": "Bad Request: latitude and longitude are required parameters"
}{
"error": "Unauthorized: API key is missing"
}{
"error": "Forbidden: Pay your outstanding invoices to restore access",
"code": "unpaid_invoices",
"action": "Open Billing and pay all outstanding invoices. Update your payment card if a payment fails, then retry once your subscription is active.",
"billing_url": "https://app.realie.ai/billing"
}{
"error": "No comparable properties found"
}{
"error": "Internal Server Error"
}Premium Comparables Search
Search for comparable properties based on location and optional property characteristics. Set “full=true” to also return each comparable’s full property record.
curl --request GET \
--url https://app.realie.ai/api/public/premium/comparables/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.realie.ai/api/public/premium/comparables/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.realie.ai/api/public/premium/comparables/', 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://app.realie.ai/api/public/premium/comparables/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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://app.realie.ai/api/public/premium/comparables/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://app.realie.ai/api/public/premium/comparables/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.realie.ai/api/public/premium/comparables/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"comparables": [
{
"property": {}
}
],
"metadata": {
"count": 123,
"searchParams": {},
"full": true
}
}{
"error": "Bad Request: latitude and longitude are required parameters"
}{
"error": "Unauthorized: API key is missing"
}{
"error": "Forbidden: Pay your outstanding invoices to restore access",
"code": "unpaid_invoices",
"action": "Open Billing and pay all outstanding invoices. Update your payment card if a payment fails, then retry once your subscription is active.",
"billing_url": "https://app.realie.ai/billing"
}{
"error": "No comparable properties found"
}{
"error": "Internal Server Error"
}Authorizations
Provide your API key directly in the header.
Query Parameters
The latitude coordinate of the target property.
The longitude coordinate of the target property.
Search radius in miles. Defaults to 1 mile.
Number of months to look back for comparable sales. Defaults to 18 months.
Maximum number of results to return. Defaults to 25, maximum is 50.
1 <= x <= 50Minimum square footage.
Maximum square footage.
Minimum number of bedrooms.
Maximum number of bedrooms.
Minimum number of bathrooms.
Maximum number of bathrooms.
Type of property to search for.
any, condo, house Minimum price.
Maximum price.
If true, each comparable also carries a "property" object with the comparable's full property record (for example year built, lot size, and pool), in the same response shape your account receives from Parcel ID Lookup. The comparables returned, their order, the filters, and the token cost are unchanged, but responses are much larger. Defaults to false.