Integrate in Minutes
Simple SDKs and code examples for every language. Start building in under 15 minutes.
JavaScript / Node.js
Official JavaScript/TypeScript SDK with full type support
// Install SDK
npm install @gendermyname/sdk
// Usage
import { GenderMyName } from '@gendermyname/sdk'
const client = new GenderMyName('YOUR_API_KEY')
const result = await client.getName('sarah')
console.log(result.gender) // "female"
console.log(result.probability) // 0.98Python
Official Python SDK with async support
# Install SDK
pip install gendermyname
# Usage
from gendermyname import Client
client = Client('YOUR_API_KEY')
result = client.get_name('michael')
print(result['gender']) # "male"
print(result['probability']) # 0.99cURL / REST
Simple REST API works with any HTTP client
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.gendermyname.com/v1/name/alex
# Response
{
"name": "alex",
"gender": "unisex",
"probability": 0.52,
"count": 125000
}Ruby
Ruby gem for Rails and Ruby applications
# Install gem
gem install gendermyname
# Usage
require 'gendermyname'
client = GenderMyName::Client.new('YOUR_API_KEY')
result = client.get_name('emily')
puts result['gender'] # "female"PHP
PHP SDK for Laravel and WordPress
// Install via Composer
composer require gendermyname/sdk
// Usage
use GenderMyName\Client;
$client = new Client('YOUR_API_KEY');
$result = $client->getName('david');
echo $result['gender']; // "male"Go
Go SDK for high-performance applications
// Install package
go get github.com/gendermyname/sdk
// Usage
import "github.com/gendermyname/sdk"
client := sdk.NewClient("YOUR_API_KEY")
result, _ := client.GetName("jennifer")
fmt.Println(result.Gender) // "female"Quick Start Guide
1
Sign Up & Get API Key
Create a free account and get your API key instantly. No credit card required for 100 free requests.
2
Install SDK or Use REST
Install our official SDK for your language, or use the simple REST API with any HTTP client.
3
Start Making Requests
Send a name, get gender prediction with confidence score. Average response time: 16ms.
Ready to Integrate?
Start with 100 free requests. No credit card required.