Gender-API.com

FREEMIUM
By GenderAPI | Updated a month ago | Data
Health Check

N/A

Back to All Tutorials (3)

Query a single name

Example Requests:

This is the easiest way to request a gender determination. Each response is JSON encoded. By adding localization information to your request you can increase the accuracy of the result.

{"first_name":"Sandra"}
{"first_name":"Sandra","country":"US"}
{"first_name":"Sandra","locale":"en_US"}

Response:

{
    "input": {
        "first_name": "Sandra"
    },
    "details": {
        "credits_used": 1,
        "samples": 464,
        "country": null,
        "first_name_sanitized": "sandra",
        "duration": "436ms"
    },
    "result_found": true,
    "first_name": "Sandra",
    "probability": 0.85,
    "gender": "female"
}