methods to retrieve api limits