added support for /api/rates UrL