get_api_status function

Get API Status