Method
Parameters
The name of the person to search for. Minimum 1 character.
Email address associated with the profile (optional).
Birth year (e.g., 1990). Must be between 1900 and current year.
Full date of birth in ISO format (YYYY-MM-DD), e.g., “1990-05-15”.
Location to search (city, state, country, etc.). Minimum 2 characters.
Location category:
"hometown" or "current". Used when location is provided.URL of a photo to compare against profile photos for facial recognition matching. Provide either photoUrl or photoBase64, but not both.
Base64-encoded image data URI (e.g.,
data:image/jpeg;base64,...). Provide either photoUrl or photoBase64, but not both.Array of Facebook profile URLs or IDs of known associates (mutual friends, connections). Maximum 20 items.
Additional instructions to append to the AI prompt for custom search criteria.
Usage
Response
Returns aProfileSearchResponse object.