Decoding the classification of oil according to API