Gender-API.com

부분 유료
분류별 GenderAPI | 업데이트됨 2 महीने पहले | 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"
}