https://api.bridgedataoutput.com/api/v2/OData/mlspin/Properties?$filter=(PropertyType has PropertyEnums.PropertyType'Residential') and geo.intersects(Coordinates,POLYGON((-71.106631 42.388223,-71.132453 42.388694,-71.140783 42.412775,-71.106858 42.412863)))&$top=10&$select=ListingKey,ListingContractDate,BedroomsTotal,StreetName,OnMarketDate,PropertyType,ModificationTimestamp,ListAgent
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”.