Convert api to lowercase