Use Face⁺⁺ Detection API to detect faces within images, and get back face bounding box and token for each detected face. You can pass the face token to other APIs for further processing.
Detect API also allows you to get back face landmarks and attributes for the top 5 largest detected faces.