Gender API
Gender-API is AI powered and helps you to find out whether a first name is more likely be used by males or females.
https://gender-api.io/get?name=elizabeth&key=yourkey
{"name":"elizabeth", "gender":"female", "samples":355, "accuracy":100, "duration":"34ms"}
GENDER API EXPLAINED
TAKE A TEST DRIVE
WE CAN ALSO DETERMINE THE GENDER OF AN EMAIL ADDRESS
david3253@gmail.com
David
male
patricia.clarks@outlook.com
Patricia
female
emily.ny@live.com
Emily
female
liamnoland@yahoo.com
Liam
male
l3slie@gmail.com
Leslie
male
j0anna32@live.com
Joanna
female
EASY INTEGRATION
Our API can be easily integrated into every existing platform in any language. Take a look at some coding examples.
First install our library with composer:
composer require gender-api/client
<?php
use GenderApi\Client as GenderApiClient;
$client = new GenderApiClient('your-api-key');
// Simple gender lookup
$result = $client->getByFirstName('Elisabeth');
if ($result->genderFound()) {
echo $result->getGender(); // "female"
echo $result->getAccuracy(); // 99
}
// First name with country (e.g., "Andrea" varies by country)
$result = $client->getByFirstNameAndCountry('Andrea', 'IT');
echo $result->getGender(); // "male" (in Italy)
// Full name with automatic first/last name splitting
$result = $client->getByFirstNameAndLastName('Sandra Miller');
echo $result->getFirstName(); // "Sandra"
echo $result->getLastName(); // "Miller"
echo $result->getGender(); // "female"
// Email address analysis
$result = $client->getByEmailAddress('elisabeth.smith@company.com');
echo $result->getGender(); // "female"
// Batch processing - multiple names in one call
$names = ['Michael', 'Sarah', 'Kim'];
$results = $client->getByMultipleNames($names);
foreach ($results as $result) {
printf(
"%s: %s (%d%% confidence)\n",
$result->getFirstName(),
$result->getGender(),
$result->getAccuracy()
);
}
See full client documentation here:
CSV AND EXCEL FILE UPLOAD
Upload CSV files with up to 10,000,000 datasets or Excel files with up to 100,000 datasets per file.
input.csv
1
first_name;last_name
2
Silvia;Miller
3
Jonathan;Holmes
4
Sophia;Smith
output.csv
1
firstname;lastname;ga_gender;ga_accuracy
2
Silvia;Miller;female;99
3
Jonathan;Holmes;male;100
4
Sophia;Smith;female;9
Free Plan Available
Join us today and receive up to 100 requests for free every month.