curl --request POST \
--url https://api.anysite.io/api/seloger/listings \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"listing": "<string>",
"timeout": 300
}
'import requests
url = "https://api.anysite.io/api/seloger/listings"
payload = {
"listing": "<string>",
"timeout": 300
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({listing: '<string>', timeout: 300})
};
fetch('https://api.anysite.io/api/seloger/listings', 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.anysite.io/api/seloger/listings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'listing' => '<string>',
'timeout' => 300
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/seloger/listings"
payload := strings.NewReader("{\n \"listing\": \"<string>\",\n \"timeout\": 300\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/seloger/listings")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"listing\": \"<string>\",\n \"timeout\": 300\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/seloger/listings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"listing\": \"<string>\",\n \"timeout\": 300\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "SelogerListing",
"global_id": "<string>",
"url": "<string>",
"property_type": "<string>",
"distribution_type": "<string>",
"transaction_type": "<string>",
"is_new_build": true,
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>",
"headline": "<string>",
"price": 123,
"price_label": "<string>",
"price_per_m2": 123,
"area_m2": 123,
"room_count": 123,
"bedroom_count": 123,
"floor": "<string>",
"energy_class": "<string>",
"gas_emission_class": "<string>",
"address": {
"@type": "SelogerListingAddress",
"city": "<string>",
"zip_code": "<string>",
"district": "<string>",
"region": "<string>",
"country": "<string>"
},
"transport": [],
"keyfacts": [],
"tags": {
"@type": "SelogerListingTags",
"is_new": true,
"is_exclusive": true,
"has_3d_visit": true,
"has_brokerage_fee": true
},
"energy_features": [],
"co_ownership": [],
"feature_sections": [],
"images": [],
"floorplans": [],
"virtual_tours": [],
"videos": [],
"agency": {
"@type": "SelogerListingAgency",
"id": "<string>",
"name": "<string>",
"is_private_owner": true,
"rating": 123,
"phone": "<string>",
"image": "<string>"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/seloger/listings
Get full SeLoger real estate listing details by listing id (or listing URL): title, property type, sale or rental distribution, transaction type, price with the label it stands for (sale price, base rent) and price per m², living area, number of rooms and bedrooms, floor, energy (DPE) and greenhouse gas (GES) classes, address (city, zip code, district, region), nearby transport lines, headline and full description, energy features, co-ownership facts, grouped characteristics, photos, floorplans, virtual tours and videos, and the listing agency.
Price: 10 credits
⚠️ Common errors: 412: Listing not found (well-formed but nonexistent or expired listing id)
curl --request POST \
--url https://api.anysite.io/api/seloger/listings \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"listing": "<string>",
"timeout": 300
}
'import requests
url = "https://api.anysite.io/api/seloger/listings"
payload = {
"listing": "<string>",
"timeout": 300
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({listing: '<string>', timeout: 300})
};
fetch('https://api.anysite.io/api/seloger/listings', 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.anysite.io/api/seloger/listings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'listing' => '<string>',
'timeout' => 300
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/seloger/listings"
payload := strings.NewReader("{\n \"listing\": \"<string>\",\n \"timeout\": 300\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/seloger/listings")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"listing\": \"<string>\",\n \"timeout\": 300\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/seloger/listings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"listing\": \"<string>\",\n \"timeout\": 300\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "SelogerListing",
"global_id": "<string>",
"url": "<string>",
"property_type": "<string>",
"distribution_type": "<string>",
"transaction_type": "<string>",
"is_new_build": true,
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>",
"headline": "<string>",
"price": 123,
"price_label": "<string>",
"price_per_m2": 123,
"area_m2": 123,
"room_count": 123,
"bedroom_count": 123,
"floor": "<string>",
"energy_class": "<string>",
"gas_emission_class": "<string>",
"address": {
"@type": "SelogerListingAddress",
"city": "<string>",
"zip_code": "<string>",
"district": "<string>",
"region": "<string>",
"country": "<string>"
},
"transport": [],
"keyfacts": [],
"tags": {
"@type": "SelogerListingTags",
"is_new": true,
"is_exclusive": true,
"has_3d_visit": true,
"has_brokerage_fee": true
},
"energy_features": [],
"co_ownership": [],
"feature_sections": [],
"images": [],
"floorplans": [],
"virtual_tours": [],
"videos": [],
"agency": {
"@type": "SelogerListingAgency",
"id": "<string>",
"name": "<string>",
"is_private_owner": true,
"rating": 123,
"phone": "<string>",
"image": "<string>"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes