Neighborhood queries allow you to get detailed neighborhood information for a specified location, including the type of neighborhood, population range, and hierarchical classification. It supports applications such as market segmentation, urban planning, and targeted marketing at the neighborhood level.
Retrieve neighborhood classifications
This query returns neighborhood IDs and names for the specified types of neighborhoods at the specified address.
query getByAddress {
getByAddress(address: "156-34 89th St, Jamaica, NY 11414") {
neighborhoods {
neighborhood {
data {
neighborhoodID
neighborhoodName
}
}
macro {
data {
macroNeighborhoodID
macroNeighborhoodName
}
}
subNeighborhood {
data {
subNeighborhoodID
subNeighborhoodName
}
}
residential {
data {
residentialNeighborhoodID
residentialNeighborhoodName
}
}
postcode {
data {
postCode
postCodeName
}
}
metro {
data {
metroId
metroName
}
}
}
}
}Retrieve detailed neighborhood data
This query retrieves detailed neighborhood information related to the specified Precisely ID.
query neighborhoodContext {
getById(id: "P0000C0C9T4Q", queryType: PRECISELY_ID) {
neighborhoods{
postcode{
data {
postCode
postCodeName
singleFamilyResidenceSales
averageSingleFamilyResidencePriceUSD
averageSingleFamilyResidenceFirstMortgageUSD
averageSingleFamilyResidenceLTV
condominiumSalesUSD
averageCondominiumPriceUSD
averageCondominiumFirstMortgageUSD
averageCondominiumLTV
singleFamilyResidenceTurnover
velocity
averageTaxUSD
percentOwnerOccupied
averageOccupancyDuration
averageYearBuilt
averageBedrooms
averageBathrooms
averageLivingSpaceSquareFootage
poolPercentage
averageLotSizeAcres
singleFamilyResidencePercent
commercialProperties
singleFamilyProperties
condominiums
duplex
apartment
lender
bikeScore
driveScore
publicTransitScore
temperatureAverageWinterF
temperatureAverageSpringF
temperatureAverageSummerF
temperatureAverageAutumnF
precipitationAverageInchesAnnual
snowfallAverageInchesAnnual
clearDaysPercentAnnual
partlyCloudDaysPercentAnnual
cloudyDaysPercentAnnual
}
}
}
}
}