The Baby Names API provides tens of thousands of unique and popular baby names for boys, girls, and gender-neutral names.
https://api.api-ninjas.com/v1/babynames
Returns 10 baby name results.
gender
optionalBaby name gender. Must be one of the following: boy
, girl
, neutral
popular_only
optionalWhether to only return popular (top 10%) of names. Must be either true
or false
. If unset, default is true
.
X-Api-Key
requiredAPI Key associated with your account.
https://api.api-ninjas.com/v1/babynames?gender=neutral
Headers
X-Api-Key
Log in or sign up to get your API Key
1
2
3
4
5
6
7
8
9
10
11
12
[
"Quinn",
"Mackenzie",
"Cody",
"Kelly",
"Duncan",
"Shelby",
"Shane",
"Zane",
"Jordan",
"Lake"
]
1
2
curl -X GET "https://api.api-ninjas.com/v1/babynames?gender=boy" \
-H "X-Api-Key: YOUR_API_KEY"
If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.