Added throttling to api