Get Gender
AI-generatedSummary
Retrieve gender prediction for a given name using the Genderize.io API.
Inputs
- name (required) — The name to predict gender for (e.g., Peter).
- country_id — Optional ISO 3166-1 alpha-2 country code to improve accuracy (e.g., US).
- requestOptions — Batching and other request settings such as batchSize, batchInterval, allowUnauthorizedCerts, proxy, and timeout.
- allowUnauthorizedCerts — If true, SSL certificate validation errors are ignored.
- proxy — HTTP proxy URL, optionally including authentication credentials.
- timeout — Request timeout in milliseconds (default 10000).
Output shape
A single object containing the gender prediction plus rate-limit metadata.
Includes API-provided fields and the x-rate-limit-* headers; if batching is used, results are returned per batch.
Examples
Example 1: Predict gender for a single name
Name: Peter
Example 2: Batch process multiple names
Name: list; Request Options: batchSize=100, batchInterval=0