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

Go!
reCAPTCHA not loaded. Please accept the reCAPTCHA Cookies here to use this feature.

WE CAN ALSO DETERMINE THE GENDER OF AN EMAIL ADDRESS

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 remaining requests
    // left. See https://gender-api.com/en/api-docs/error-codes
    echo 'Exception: ' . $e->getMessage();
}

See full client documentation here:

https://github.com/markus-perl/gender-api-client

First install our library with npm:

See full client documentation here:

https://github.com/markus-perl/gender-api-client-npm

First install our library with npm:

See full client documentation here:

https://github.com/markus-perl/gender-api-client-npm

Download A Sample Project Here:

Documentation:

https://github.com/microknights/Gender-API

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
CSV file will be processed
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.

PRICING

DOWNLOAD OUR PRESENTATION

Download presentation

Chat