NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Gender Detector API

GET

Predict likely gender from any name on your list.

Gender Detector is a gender prediction API that estimates the likely gender of a person from their name. Pass a first name, and optionally a two-letter country code for the answer people in that country would give (Andrea is male in Italy), and get back the predicted gender as JSON, ready for salutations, profile defaults, or audience analysis.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/genderdetector?name=John%20Mcdonald
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "name": "John Mcdonald",
    "country": "US",
    "detected": true,
    "countrySpecific": true,
    "gender": "male"
  }
}

About the Gender Detector API

Gender Detector predicts the likely gender of a person from their first name, using name lists trained on a large dataset of names and their associated genders. When you send a country code, it first looks the name up in that country's list from the WIPO World Gender-Name Dictionary 2.0, so names whose gender differs by country (Andrea and Nicola in Italy, Jan in the Netherlands, Kim in Denmark) get the local answer.

What people use it for

Email Salutation Selection
When drafting automated outreach, sales platforms choose correct honorifics and greeting styles based on the predicted gender returned for each recipient.
Account Profile Onboarding
Assign default avatars and profile pronouns automatically when a user signs up by matching their entered first name against regional gender predictions.
Audience Demographic Audits
To evaluate subscriber breakdowns without intrusive survey forms, newsletter editors tabulate aggregate gender distributions across their imported subscriber lists.
Personalized Catalog Navigation
Ecommerce fashion apps preselect relevant apparel landing tabs for new accounts by checking customer first names against country-specific gender results.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Gender Detector

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Gender Detector API.

Read the docs →
Does the prediction take country context into account?
Yes. Send an optional two-letter country code and the name is looked up in that country's list from the WIPO World Gender-Name Dictionary 2.0 first, so Andrea and Nicola come back male for IT and Jan male for NL. The countrySpecific field says whether the country list decided the answer; names it does not hold fall back to the global prediction.
Should I pass a first name or a full name?
Provide the individual's given first name. Surnames generally do not indicate gender and can interfere with the machine learning model's analysis, so isolating the given name produces the most accurate result.
What happens when a name cannot be matched to a gender?
The API returns a 404 response rather than a result. A successful response always has detected set to true, so any name Gender Detector cannot place for an unfamiliar or ambiguous input comes back as not found.
How far does the Starter plan go for name lookups?
Starter provides 200,000 credits each month, which covers 100,000 name lookups at 2 credits per call. That works out to about $0.0003 per lookup or $0.30 per 1,000 names checked. The Free plan includes 100 lookups per month.
Can I use the predicted gender data in my commercial product?
Yes, commercial use is permitted on any paid plan. You can store and use the gender results to personalize emails, segment audiences, or enrich contact records inside your own application, provided you do not resell the raw data as-is.

Ready to build with Gender Detector? Start with 200 free credits — one key unlocks all 420+ APIs.

Explore the catalog

420+ APIs on the same key and the same response shape.

Browse all APIs