GET /names/predict/:name
Hae a complete demographic prediction for any first name, combining age estimation, gender prediction, and likely nationalities into a single response. Uses statistical models trained on millions of records from government databases maailmanlaajuisesti. Palauttaa predicted age, gender probability, and top nationality matches. Sopii marketing personalization, user onboarding flows, demographic research, and name-based analytics tools.
name
pakollinen
First name to analyze
| Nimi | Pakollinen | Oletus | Kuvaus |
|---|---|---|---|
name |
Kyllä | - | First name to analyze |
curl https://nordapi.ee/api/v1/names/predict/erik
curl https://nordapi.ee/api/v1/names/predict/erik
curl https://nordapi.ee/api/v1/names/predict/yuki
curl https://nordapi.ee/api/v1/names/predict/maria
{
"data": {
"name": "erik",
"predictions": {
"age": {
"age": 60,
"count": 37787,
"name": "erik"
},
"gender": {
"count": 283166,
"gender": "male",
"name": "erik",
"probability": 0.99
},
"nationality": {
"count": 7458,
"countries": [
{
"country_id": "NO",
"probability": 0.10713158664039506
},
{
"country_id": "HU",
"probability": 0.0881305188205663
},
{
"country_id": "DK",
"probability": 0.05375542272637305
},
{
"country_id": "SE",
"probability": 0.03872762536610433
},
{
"country_id": "TR",
"probability": 0.03230662198652821
}
],
"name": "erik"
}
}
},
"success": true
}