Add get rates API