The getParcelByOwner query returns parcels of land that are adjacent to or nearby the specified address, that are owned by the same entity, within the specified search distance. The address can be specified as a text string or by ID.
This query is supported for the Parcels dataset and Parcels' related nested datasets.
Query syntax:
getParcelByOwner(
id: String
queryType: QueryType
address: String
distance: Float = 1000
limit: Int = 50
): ParcelByOwnerRelationEntity| Parameter | Type | Required | Description |
|---|---|---|---|
| id | String | Optional | The ID to search on. address or id must be specified. |
| queryType | QueryType | Optional | The type of ID you provided. Required if id is specified.
|
| address | String | Optional | The address to search on. address or id must be specified. |
| distance | Float | Optional | The distance, in meters. |
| limit | Integer | Optional | The most records you will return. |
Example 1
The query below returns parcel data for parcels that are owned by the owner of the indicated parcel, if they fall within 100 meters of the indicated parcel.
{
getParcelByOwner(
distance: 100
limit: 5
address: "1 GLOBAL VW, TROY NY 12180-8371, United States"
) {
parcels {
data {
parcelID
fips
propertyAttributes {
data {
owner
owner2
}
}
}
}
}
}Example 2
The query below returns parcel data for up to 10 parcels that are owned by the owner of the indicated parcel, if they fall within 1500 meters of the indicated parcel.
{
getParcelByOwner(
id: "P0000GL41OME"
queryType: PRECISELY_ID
distance: 1500
limit: 10
) {
parcels {
data {
parcelID
parcelArea
propertyAttributes {
data {
owner
owner2
}
}
}
}
}
}