[#4] Move rates api to convert method