Gender-API.com

免费增值
通过 GenderAPI | 已更新 2 months ago | Data
Health Check

N/A

返回全部教程 (3)

Query an email address

Example Requests:

You can also query a gender using an email address containing a email address. Each response is JSON encoded. By adding localization information to your request you can increase the accuracy of the result. Our email API can extract names from email addresses and provide the appropriate gender to this respective address. This can help you to personalize your emailings with a proper salutation. For example, from the email address "marie.johnson@gmail.com", API will extract the name “Marie” and determine the correct gender, which is “female”.

{"email":"theresa.miller14@gmail.com"}
{"email":"thomas.clarks@hotmail.com","country":"US"}
{"email":"Thomas.j32@live.com","locale":"en_US"}

Response:

{
    "input": {
        "email": "theresa.miller14@gmail.com"
    },
    "details": {
        "credits_used": 1,
        "duration": "12ms",
        "samples": 8961,
        "country": null,
        "first_name_sanitized": "theresa"
    },
    "result_found": true,
    "last_name": "Miller",
    "first_name": "Theresa",
    "probability": 0.98,
    "gender": "female"
}