add rate_limit to api call