Check for API request