Gender API
App · Contact Management · 1 action
Predict gender for names using Gender API.
Predict gender
Predict the gender most likely behind a name. Enter a first name or a full name; with a full name, the surname is read too and returned on its own. Choose a country to read the name the way that country uses it.
Inputs
- Name
nametextRequired - A first name, such as Alex, or a full name, such as Alex Smith
- Country
countrytext - Two-letter country code (for example, US or DE) to tailor the prediction to that country
Outputs
credits_usednumber- Number of API credits consumed
durationtext- Request duration
first_nametext- The detected first name
gendertext- Predicted gender: male, female, or unknown
last_nametext- The surname, when a full name was entered
probabilitynumber- Confidence probability (0-1)
result_foundtrue/false- Whether a result was found
samplesnumber- Number of samples used
Example output
{
"credits_used": 1,
"duration": "38ms",
"first_name": "Sandra",
"gender": "female",
"last_name": "Miller",
"probability": 0.95,
"result_found": true,
"samples": 8765
}