Detect the likelihood that a name is given to a male or female (aka to "genderize" a name). While there are more than two genders, this API is limited to the binary classification as the name is given to the baby when it is born and only the sex is known.
{
"name": "Alex",
"probability_male": 0.9679,
"probability_female": 0.0321,
"popularity": 0.00152
} {{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
The API uses a large dataset of names and their associated genders to provide a probability score. While highly accurate for common names, it provides a confidence level to help you gauge certainty.
The API covers a vast array of names from different cultures and languages, but accuracy may vary for very rare or culturally ambiguous names.
For unisex names (e.g., "Alex" or "Jordan"), the API returns probabilities for both male and female, allowing you to see which is statistically more likely or if it's evenly split.
The Detect Gender by Name API specifically determines the likely gender of a given name, while the Extract Entities API identifies names (persons) within a larger text but does not determine their gender.