Gender

Predicts the likely gender of a person based on their first name, using the Genderize.ioarrow-up-right API.

GET /predict/gender

Parameters

Parameter
Required
Description

name

Yes

The first name to analyze

Example

curl "https://api.uwuapps.org/predict/gender?name=Alex"

Response

{
  "success": true,
  "name": "Alex",
  "gender": "male",
  "probability": 0.73,
  "count": 12500
}

Response fields

Field
Description

name

The name queried

gender

Predicted gender: male, female, or null if unknown

probability

Confidence from 0 to 1

count

Number of data samples used for the prediction

Notes

  • Predictions are based on statistical data from Genderize.io.

  • A null gender means the name was not found in the dataset.

  • Predictions may not be accurate for all names, especially less common ones.

Last updated

Was this helpful?