background

Developer Documentation

Welcome to our comprehensive API integration guide. Here you'll find everything you need to integrate our services into your applications. Copy Not Available

Voice Gender

Voice file analysis

Voice Gender (Audio URL)

POST audio URL JSON to detect gender

Gender by Name

Name-based gender detection

Age by Name

Name-based age estimation

Ethnicity by Name

Name-based ethnicity detection

CSV Processing

Bulk name processing

Select Programming Language:

const apiKey = "YOUR_API_KEY";

const formData = new FormData();
formData.append("file", "recording.wav");
const sendFile = async () => {
  try {
    const response = await fetch('https://api.genderrecognition.com/v1/voice-gender-recognition/api', {
      method: 'POST',
      body: formData, //Upload a file. Supported formats: .wav, .mp3, .m4a, .flac, .ogg, .webm, .aac, .opus, .wma, .amr, .3gp, .aiff, .aif, .au, .wv, .ra, .ram, .ac3, .mka, .spx, .mid, .midi, .ape, .tta, .shn, .tak, .dsd, .dsf, .dff
      headers: {
        'apiKey': apiKey
      }
    });
    const data = await response.json();
    console.log('File response:', data);
  } catch (error) {
    console.error('Error uploading file:', error);
  }
};

Ready to Integrate?

You now have all the information needed to integrate our APIs into your applications. If you have any questions or need assistance, please don't hesitate to contact our support team.

API Request Usage

Understanding how your requests are counted

Voice Analysis APIs

Gender by Voice detection

1 request per API call

Name-based APIs

Gender by Name, Age by Name, Ethnicity by Name

1 request per API call

Single File Upload

Individual file processing

1 request per name processed

CSV Bulk Processing

Multiple names in CSV format

1 request per name in the CSV

Example Calculations

CSV file with 100 names = 100 requests
Single name analysis = 1 request
Voice recording analysis = 1 request

Important Notice

Ensure you have sufficient requests in your quota before processing large CSV files. Monitor your usage regularly to avoid service interruption.