Gender-API.com

FREEMIUM
Par GenderAPI | Mise à jour vor 2 Monaten | Data
Health Check

N/A

Retour à tous les tutoriels (3)

Query a full name

Example Requests:

If you use a combined field for first and last name on your page, use this API to extract the parts:. Each response is JSON encoded. By adding localization information to your request you can increase the accuracy of the result.

{"full_name":"Theresa Miller"}
{"full_name":"Theresa Miller","country":"US"}
{"full_name":"Thomas Johnson","locale":"en_US"}

Response:

{
    "input": {
        "full_name": "Theresa Miller"
    },
    "details": {
    "credits_used": 1,
        "duration": "33ms",
        "samples": 8961,
        "country": null,
        "first_name_sanitized": "theresa"
    },
    "result_found": true,
    "last_name": "Miller",
    "first_name": "Theresa",
    "probability": 0.98,
    "gender": "female"
}