The API separator is a gravity separation device designed by using Stokes Law to define the rise velocity of oil droplets based on their density and size. The design is based on the specific gravity difference between the oil and the wastewater because that difference is much smaller than the specific gravity difference between the suspended solids and water. The suspended solids settles to the bottom of the separator as a sediment layer, the oil rises to top of the separator and the cleansed wastewater is the middle layer between the oil layer and the solids.