var url = "https://www.mbb2.com/api/search/get-group-totals/auth_key/2hlbd2jdt4r-2soewci1kf9/?group=type&filter=mls_id:fl115+county:Hernando+property_type:a"; mbbQuery.ajax({ url: url.replace(/\+/g,'%2B'), success: function(response){ mbbQuery.each(response.data, function(i,item){ var ptLabel = ( item.type_label ) ? item.type_label : item.type; var html = ''+ptLabel+' Properties'+ ''+item.num_props+''+ '$'+MBBv3_PriceFormatter(item.price_avg)+''+ '$'+MBBv3_PriceFormatter(item.price_max)+''; mbbQuery(".property-total-list").append(html); }); } });