Developer documentation

Gender API client libraries

Integrate GenderAPI faster with official, open-source clients for the languages your application already uses.

06Language SDKs
05Phone packages
100%Open source

Official SDKs

Choose your programming language

Each client wraps the Gender API request flow in familiar language conventions. Install a package below, then follow the repository README for initialization and request examples.

Looking for API v2?

These are the 1.x clients for API v1. They remain available, and the commands below keep you on 1.x. For new projects, use the official 2.x SDKs for API v2. View the v2 SDKs

Before you start

Create an API key and keep it on your server. Review authentication andbasic usage before shipping.

Gender detection

Official API libraries

6 SDKs

genderapi-js

Official

Use GenderAPI in Node.js and modern JavaScript applications.

JavaScriptVueReactNode.js
npm install genderapi@1
Repository

genderapi-php

Official

Composer package for PHP applications and frameworks.

PHP
composer require "genderapi/genderapi:^1.0"
Repository

genderapi-python

Official

Python client for scripts, services and data workflows.

Python
pip install "genderapi<2"
Repository

genderapi-java

Official

Java client distributed through JitPack for Maven or Gradle projects.

JavaMavenGradle
implementation 'com.github.GenderAPI:genderapi-java:v1.0.3'
Repository

genderapi-R

Official

R package for analysis, research and data processing.

R
remotes::install_version("genderapi", "1.0.3")
Repository

genderapi-ruby

Official

Ruby gem for applications, services and command-line tasks.

Ruby
gem install genderapi -v "~> 1.0"
Repository

Phone utilities

Validation & formatting libraries

Normalize, format and validate international phone numbers with dedicated GenderAPI packages.

5 SDKs

phone-validator-js

Official

Validate, format and analyze phone numbers in JavaScript applications.

JavaScriptVueReactNode.js
npm install @genderapi/phone-validator
Repository

phone-validator-php

Official

Phone number validation and formatting for PHP applications.

PHP
composer require genderapi/phone-validator
Repository

phone-validator-python

Official

Validate and format international phone numbers with Python.

Python
pip install genderapi-phone-validator
Repository

PhoneValidator-R

Official

Phone validation and formatting utilities for R workflows.

R
View installation on GitHub
Repository

phone-validator-ruby

Official

Access phone validation and formatting features from Ruby.

Ruby
gem install genderapi-phone-validator
Repository

Next guide

Authenticate your requests

AuthenticationProtect and send your API key →