rate api requests