Gender API
https://gender-api.com/get?name=elizabeth&key=yourkey
{"name":"elizabeth", "gender":"female", "samples":355, "accuracy":100, "duration":"34ms"}
TAKE A TEST DRIVE
OPTIMIZE YOUR REGISTRATION FORMS
Without Gender-API.com
With Gender-API.com
HOW IT WORKS
Your registration form
API Call
WE CAN ALSO DETERMINE THE GENDER OF AN EMAIL ADDRESS
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
use GenderApi\Client as GenderApiClient;
try {
$apiClient = new GenderApiClient('insert your API key');
// Query a single name
$lookup = $apiClient->getByFirstName('elisabeth');
if ($lookup->genderFound()) {
echo $lookup->getGender(); // female
}
// Query a full name and improve the result by providing a country code
$lookup = $apiClient->getByFirstNameAndLastNameAndCountry('Thomas Johnson', 'US');
if ($lookup->genderFound()) {
echo $lookup->getGender(); // male
echo $lookup->getFirstName(); // Thomas
echo $lookup->getLastName(); // Johnson
}
} catch (GenderApi\Exception $e) {
// Name lookup failed due to a network error or insufficient requests
// left. See https://gender-api.com/en/api-docs/error-codes
echo 'Exception: ' . $e->getMessage();
}
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.
OUR UNIQUE FEATURES
PRICING
Our cloud-based infrastructure provides an availability of 99.9% and scales with your business.
Subscription Plans
All prices are quoted as net prices and subject to VAT.
Subscriptions can be canceled at any time.
Your account will be recharged to the selected amount of credits every month.
One-Time Payments
All prices are quoted as net prices and subject to VAT.
No monthly payments. You can charge your account with the required amount of credits at any time.
The credits will be added immediately to your account.