api wastewater