Detect Gender by Name

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.

GET
https://api.apileague.com/detect-gender
Example Request and Response
GET
https://api.apileague.com/{{ examples.getDetectGender }}
{
    "name": "Alex",
    "probability_male": 0.9679
    "probability_female": 0.0321,
    "popularity": 0.00152,
}
cURL
Java
Javascript
Python
Go
C#
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}