Once you have set up the API within your environment or GraphiQL (if not please see this article - https://app.intercom.com/a/apps/wnmvofws/knowledge-hub/article/10816410).
Below is a query that will pull back data on a given defined Lat/Long point variable and distance in meters - Our API will then pull back properties within the defined distance:
query nearbyParcels($point: geography!, $distance: Float!) {
parcel_boundary_v2(
where: {geom: {_st_d_within: {distance: $distance, from: $point}}}
limit: 10
) {
tax_assessor_v2__tax_assessor_id{
tax_assessor_id
address
}
}
}
Variables
{
"point": {
"type": "Point",
"coordinates": [-74.012017665386, 40.7020963612058]
},
"distance": 1000
}
If you have any further questions please reach out to us at Support@cherre.com