API DOCS

LOCALIZATION - COUNTRY BY BROWSER LANGUAGE / LOCALE

Choose the country of your customer based on his browser locale:

GET https://gender-api.com/get?name=john&language=en-US&key=<your private server key> 
GET https://gender-api.com/get?name=tanja&language=de-DE&key=<your private server key> 
GET https://gender-api.com/get?name=thomas&language=auto&key=<your private server key>

These requests will be returned as:

{"name":"John","country":"US","gender":"male","samples":4,"accuracy":100,"duration":"38ms"} //Country: US
{"name":"Tanja","country":"DE","gender":"female","samples":10,"accuracy":100,"duration":"36ms"} //Country: Germany.
{"name":"Thomas","country":"DE","gender":"male","samples":13,"accuracy":100,"duration":"39ms"} //Country: Based on the browser language. Can only be used by the Javascript API.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
Got it