Skip to content

Instantly share code, notes, and snippets.

@itsx
Created January 4, 2023 16:02
Show Gist options
  • Save itsx/7daeb4e40f09ff6ec39b6a0407c86878 to your computer and use it in GitHub Desktop.
Save itsx/7daeb4e40f09ff6ec39b6a0407c86878 to your computer and use it in GitHub Desktop.
FZ api query
query SearchByDistance($location: GpsInput!, $radius: Int!) {
searchByDistance(location: $location, radius: $radius) {
count
percentage
bbox {
topLeft {
lat
lon
}
bottomRight {
lat
lon
}
}
avgPrice
priceRange {
min
max
currency
}
priceHist {
low
high
currency
count
}
avgPricePerM2
pricePerM2Range {
min
max
currency
}
pricePerM2Hist {
low
high
currency
count
}
currency
typeHist {
value
count
}
offerTypeHist {
value
count
}
energyClassHist {
value
count
}
constructionHist {
value
count
}
conditionHist {
value
count
}
ownershipHist {
value
count
}
floorRange {
min
max
}
dispositionHist {
value
count
}
roomCountHist {
value
count
}
avgArea
areaRange {
min
max
}
floorAreaRange {
min
max
}
usableAreaRange {
min
max
}
livingAreaRange {
min
max
}
totalAreaRange {
min
max
}
projectCount
developerCount
projects {
id
name
developerId
developer
gps {
lat
lon
}
count
availableCount
price {
min
max
currency
}
pricePerM2 {
min
max
currency
}
area {
min
max
}
floorArea {
min
max
}
usableArea {
min
max
}
livingArea {
min
max
}
totalArea {
min
max
}
disposition
roomCount
ppc
}
estates {
source
id
ppc
state
description
detailUrl
imageUrls
thumbnailUrl
type
offerType
condition
developerId
developer
projectId
project
number
ownership
energyClass
locality
disposition
roomCount
area
areaType
floorArea
usableArea
livingArea
totalArea
floor
gps {
lat
lon
}
address {
address
country
region
district
city
borough
neighborhood
street
houseNumber
}
price
priceType
currency
balconyArea
loggiaArea
terraceArea
gardenArea
cellar
parking
}
}
}
{
"location": {"lat": 50.45, "lon": 14.65},
"radius": 60000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment