TypeScript Client

Type-safe TypeScript client for Gender-API.com with full IntelliSense support and strict type checking. Our AI-powered API delivers 99.5% accurate gender detection 10x-90x faster than generic AI models like ChatGPT. Perfect for modern web applications, Node.js backends, and Angular/React/Vue projects. The strongly-typed interfaces ensure compile-time safety and excellent developer experience. Access our specialized database of over 9 million names across 150+ countries with country-specific accuracy. Unlike generic LLMs, our API is purpose-built for name-gender associations with smart normalization and continuous learning. Start free with 100 monthly API calls. GDPR compliant and production-ready.

Installeer eerst onze bibliotheek met composer:

Bekijk hier de volledige klantdocumentatie:

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

Installeer eerst onze bibliotheek met npm:

npm install gender-api.com-client --save
import { Client } from 'gender-api.com-client';

const client = new Client('your-api-key');

// Simple gender lookup
const result = await client.getByFirstName('Theresa');
console.log(`${result.first_name} is ${result.gender} (Probability: ${result.probability}`);

// First name with country (e.g., "Andrea" varies by country)
const resultWithCountry = await client.getByFirstName('Andrea', { country: 'IT' });
console.log(`${resultWithCountry.first_name} in Italy is ${resultWithCountry.gender}`);

// Full name with automatic first/last name splitting
const fullResult = await client.getByFullName('John Smith');
console.log(`${fullResult.first_name} ${fullResult.last_name} is ${fullResult.gender}`);

// Email address analysis
const emailResult = await client.getByEmailAddress('marie.curie@example.com');
console.log(`Email gender: ${emailResult.gender}`);

// Batch processing - multiple names in one call
const names = [
  { id: '1', first_name: 'Theresa', country: 'US' },
  { id: '2', first_name: 'John', country: 'US' }
];
const batchResults = await client.getByFirstNameMultiple(names);

batchResults.forEach(r => {
  console.log(`ID: ${r.input.id}, Gender: ${r.gender}`);
});

// Account statistics
const stats = await client.getStatistics();
console.log(`Credits Remaining: ${stats.remaining_credits}`);

Bekijk hier de volledige klantdocumentatie:

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

Installeer eerst onze bibliotheek met npm:

Bekijk hier de volledige klantdocumentatie:

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

Installeer eerst onze library met pip:

Bekijk hier de volledige klantdocumentatie:

https://github.com/markus-perl/gender-api-client-python
https://pypi.org/project/gender-api-client/

Professionele genderdetectie voor jouw applicaties

Gender-API.com biedt genderdetectie op enterprise-niveau met 99,5% nauwkeurigheid in 150+ landen. Onze gespecialiseerde API presteert beter dan generieke AI-oplossingen, met 10x-90x snellere responstijden en 9-34% hogere nauwkeurigheid.

Waarom kiezen voor Gender-API in plaats van een generieke AI?

  • Speciaal ontwikkeld : Gespecialiseerd in genderherkenning, geen AI voor algemeen gebruik
  • Razendsnel : Reactietijden onder de 100 ms vs. seconden bij generieke AI
  • Nauwkeuriger : 99,5% nauwkeurigheid met culturele en regionale intelligentie
  • Grotere database 9+ miljoen namen, 37% meer dan typische AI-trainingsdata
  • Betrouwbaar SLA met 99,9% uptime en voorspelbare prestaties

Belangrijkste functies

  • Eenvoudige integratie met slechts een paar regels code
  • Batchverwerking voor toepassingen met grote volumes
  • Landspecifieke nauwkeurigheid voor regionale naamvariaties
  • Slimme normalisatie die typfouten en varianten afhandelt
  • GDPR-compliant en klaar voor gebruik in enterprise-omgevingen

Begin vandaag nog gratis

Krijg 100 gratis API-calls per maand, zonder creditcard. Schaal mee terwijl je groeit met flexibele prijzen voor elke use case.

Chat