GET /names/predict/:name
Get a complete demographic prediction for any first name, combinando age estimation, gender prediction, and likely nationalities into a single response. Uses statistical models trained on millions of records from government databases en todo el mundo. Returns predicted age, gender probability, and top nationality matches. Ideal para marketing personalization, user onboarding flows, demographic research, and name-based analytics tools.
name
requerido
First name to analyze
| Nombre | Requerido | Predeterminado | Descripcion |
|---|---|---|---|
name |
Si | - | 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
}