https://api.bridgedataoutput.com/api/v2/OData/mlspin/Properties?$filter=BedroomsTotal lt 5 or (BedroomsTotal eq 4 and IDXParticipationYN eq true)&$top=10&$select=ListingKey,ListingContractDate,BedroomsTotal,StreetName,OnMarketDate,PropertyType,ModificationTimestamp,ListAgent
Use parenthesis and logical ‘and’ or ‘or’ to group filter expressions.