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), this is how you would build a query to pull back property level data
Below is a query that will pull back data on a given defined address - Our API will standardize what is inputted and will display property level information
query definedaddresspull {
address(address: "Insert Address Here") {
cherre_address__address {
tax_assessor_v2__property_address {
tax_assessor_id
bed_count
bath_count
}
}
}
}
If the above query does not return the expected or any data we recommend to geo-code the address and use its latitude and longitude to find the address using the below query
query geocodeaddress{
tax_assessor_point_v2(args:{latitude:insert lat here, longitude:insert long here}){
address
bed_count
bath_count
gross_sq_ft
property_use_code_mapped
}
}
Below you will find a query that will pull back multiple properties
query taxassessor {
tax_assessor_v2 {
address
bed_count
bath_count
tax_assessor_id
}
}
Further more this query orders the data by the primary key of the data set (Tax_assessor_ID) and allows you to paginate through the records
query taxassessor{
tax_assessor_v2(order_by:{tax_assessor_id:asc}, where:{tax_assessor_id:{_gt:Insert last Tax_assessor_id here}}){
address
bed_count
bath_count
tax_assessor_id
}
}
As always you are welcome to add more fields that are applicable to your research and/or use case.
If you have any further questions please reach out to us at Support@cherre.com