https://api-prod.corelogic.com/trestle/odata/Property?$filter=geo.intersects(X_Location,geography'POLYGON((-84.23567 33.681218, -84.202101 33.686658, -84.205493 33.763106, -84.23567 33.681218))')&$top=5&$select=ListingKey,BedroomsTotal,PropertyType,StreetName,StreetNumber,City,ModificationTimestamp,OriginatingSystemName,Appliances,ListingContractDate,AssociationFeeFrequency
Need a minimum of four points to search by a polygon. The first and last points must be the same and because you’re able to put ‘holes’ into your polygon, you’d need to wrap the coords in another set of parenthesis. Note that the structure of a geospatial search can vary per MLS. Pay attention to MLS Service metadata name for Type=”Edm.GeographyPoint”.