API DOCS

ADVANCED USAGE

Sometimes it is necessary to fetch multiple names with one query:

GET https://gender-api.com/get?name=Anna;Jack;Stephen&key=<your private server key>

The request will be returned as:

{"name":"Anna;Jack;Stephen","result":[
            {"name":"Anna","gender":"female","samples":211,"accuracy":97},
            {"name":"Jack","gender":"male","samples":105,"accuracy":100},
            {"name":"Stephen","gender":"male","samples":48,"accuracy":100}
            ],"duration":"42ms"}

Let's have a look at the generated response:

Key Datatype Description
name String Submitted names. The maximum number of names is limited to 100.
result Array See generated response under "Simple Usage".
duration String Time that took the server to process the request.

Please note: If multiple names are requested in one query, each name will be counted as a single request.

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