Ask a Question
Back to All

Property Data API: cant query by lot size

I could not actually query by lot size (lotSizeValue), because each record have different units (lotSizeUnit). I tried using OR conditions but it doesn't work. Example: all properties with more than 50 acres:

country:CA AND province:BC AND mostRecentStatus:(For Sale) AND ( (lotSizeUnit:(acs) AND lotSizeValue:(>=50)) OR (lotSizeUnit:(sq m) AND lotSizeValue:(>=202343)) OR (lotSizeUnit:(sq ft) AND lotSizeValue:(>=2178000)))

You should provice a normalized lotSizeValue such as lotSizeValueSqm or lotSizeValueAcres so only one field needs to be queried after converting to the decided standard.