PowerShell Module
PowerShell module for Gender-API.com enabling Windows automation and scripting with powerful gender detection. Our API provides 99.5% accuracy across 150+ countries, perfect for Active Directory management, user provisioning, and batch processing. Process CSV files, automate user creation, and enhance your DevOps pipelines with gender-aware scripting. Unlike generic AI solutions, our specialized API is 10x-90x faster with superior accuracy. The module supports pipeline input and follows PowerShell best practices. Access over 9 million names with intelligent fallback and smart normalization. Ideal for IT administrators and automation engineers. Start free with 100 API calls monthly.
# Determine the gender of a first name using API V2
# ---------------------------------------------------
$apiKey = "YOUR_API_KEY" # Get your key at https://gender-api.com/en/account/auth-tokens
$url = "https://gender-api.com/v2/gender/by-first-name"
$body = @{
first_name = "Theresa"
} | ConvertTo-Json
$headers = @{
"Content-Type" = "application/json"
"Authorization" = "Bearer $apiKey"
}
try {
$response = Invoke-RestMethod -Uri $url -Method Post -Headers $headers -Body $body
Write-Host "Name: $($response.first_name)"
Write-Host "Gender: $($response.gender)"
Write-Host "Probability: $($response.probability)"
}
catch {
Write-Host "Error: $_"
}
Professional Gender Detection for Your Applications
Gender-API.com delivers enterprise-grade gender detection with 99.5% accuracy across 150+ countries. Our specialized API outperforms generic AI solutions with 10x-90x faster response times and 9-34% better accuracy.
Why Choose Gender-API Over Generic AI?
- Purpose-Built : Specialized for gender detection, not a general-purpose AI
- Blesková rychlost : Sub-100ms response times vs. seconds for generic AI
- More Accurate : 99.5% accuracy with cultural and regional intelligence
- Larger Database : 9+ million names, 37% more than typical AI training data
- Reliable : 99.9% uptime SLA with predictable performance
Key Features
- Easy integration with just a few lines of code
- Batch processing for high-volume applications
- Country-specific accuracy for regional name variations
- Smart normalization handling typos and variants
- GDPR compliant and enterprise-ready
Start Free Today
Get 100 free API calls per month with no credit card required. Scale as you grow with flexible pricing for every use case.