Look at the check API documentation available through the Help menu of your site. The method is get_rate().
get_rate()